VS Code QR Code Scanner Extension

Read QR code images in your VS Code workspace completely offline with a bundled WebAssembly engine. Inspect decoded URLs, quality scores and JSON reports in an output channel, then copy exact text safely.

Install from Visual Studio Marketplace

Requires VS Code 1.74+. Works in local, remote and virtual workspaces (not vscode.dev).

  1. 1

    Run the command below, or search for QR Code & Barcode Scanner in the VS Code Extensions view.

    Shell
    code --install-extension qrcode-ai-com.qrcode-barcode-scanner
  2. 2

    Right-click one or more PNG, JPEG, WebP, GIF or BMP files in Explorer and choose Scan QR codes and barcodes.

  3. 3

    Inspect decoded text and JSON in the QR Code & Barcode Scanner output channel, or copy verbatim from Quick Pick.

Runs bundled @qrcode-ai-com/qrcode-barcode-scanner-wasm in a worker thread with no native binary and zero network calls.

VS Code Marketplace

Inspect workspace QR code assets inside your editor

Scan single or multi-selected files from Explorer, open image tabs or the Command Palette without leaving VS Code.

Explorer multi-file scans

Right-click one or several PNG, JPEG, WebP, GIF or uncompressed BMP files in Explorer to scan them sequentially in a worker thread.

Output channel & JSON report

Inspect each format, exact text, QR quality score and JSON report whilst hidden control characters display safely as \u{...} escapes.

Profile & budgetMs settings

Defaults to full (4000 ms budget); switch qrcodeBarcodeScanner.profile to fast (800 ms) or frame (80 ms), or set budgetMs to 0.

Try a QR image in VS Code

Prepare a known test image, run the scan and verify the returned value character by character.

qr-reference.png

Create a text QR code containing https://qrcode-ai.com/ and save it as qr-reference.png.

Scan the image in VS Code

Text
# Right-click qr-reference.png -> Scan QR codes and barcodes
# Output channel (QR Code & Barcode Scanner):
qr-reference.png
  Profile full · budget profile default
  1 code found:
  1. QR Code: https://qrcode-ai.com/
Expected result · QR code
https://qrcode-ai.com/

VS Code prints the exact QR URL and full JSON report in the output channel and offers one-click verbatim copy in Quick Pick.

Example result for qr-reference.png.

VS Code QR Code Scanner extension questions

Marketplace & Open VSX setup, BMP & size limits, vscode.dev scope, settings and licensing.

Open the Extensions view in VS Code 1.74 or later, search for QR Code & Barcode Scanner and select Install, or run code --install-extension qrcode-ai-com.qrcode-barcode-scanner. You can also install it from the Visual Studio Marketplace.

Yes. The same extension identifier (qrcode-ai-com.qrcode-barcode-scanner) is published on the Open VSX Registry. Search for it in your editor’s Extensions view or run codium --install-extension qrcode-ai-com.qrcode-barcode-scanner (or your editor’s CLI command).

It reads PNG, JPEG, WebP, GIF and uncompressed or bit-field BMP (1 to 32 bpp; RLE-compressed BMP is refused) up to 64 MiB, 10,000 px per side and 64 million pixels. It decodes 19 formats: QR Code, Micro QR, rMQR and 16 1D/2D barcode symbologies.

No. The extension runs in the workspace host (local, remote SSH/WSL/container and virtual workspaces) using a worker thread and has no browser-only web build, so vscode.dev and github.dev cannot run it.

No. Decoded text is never opened or executed. The output channel and Quick Pick escape hidden control and direction characters as \u{...} for safe inspection, whilst copying places the exact decoded string on your clipboard.

full (the default, 4000 ms budget) runs every decode stage and full scoring. fast (800 ms) runs fewer stages with reduced scoring, and frame (80 ms) decodes camera-style inputs without scoring (score is null). Set budgetMs to 0 to disable the time limit.

Yes. Both the extension and its bundled WebAssembly engine are free and open source under the MIT licence (with retained Apache-2.0 notices for two reader parts). It makes zero network requests and is completely independent of QR Code AI accounts, generation credits or paid plans.

VS Code setup and QR Code Scanner references

Consult the official listing and README for installation details, limits and supported formats.