VS Code QR Code Scanner Extension

Decode QR code images across your VS Code workspace completely offline using a bundled WebAssembly engine. Review decoded URLs, quality scores and JSON reports in an output channel, then copy exact strings safely.

Install from Visual Studio Marketplace

Needs VS Code 1.74+. Supports local, remote and virtual workspaces (not vscode.dev).

  1. 1

    Run the CLI 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 images in Explorer and choose Scan QR codes and barcodes.

  3. 3

    Review decoded strings and JSON in the QR Code & Barcode Scanner output channel, or copy verbatim via Quick Pick.

Executes bundled @qrcode-ai-com/qrcode-barcode-scanner-wasm inside a worker thread with no native binary and zero network requests.

VS Code Marketplace

Check workspace QR code assets directly in your editor

Decode single or multi-selected images from Explorer, active tabs or the Command Palette without switching out of VS Code.

Explorer multi-file scans

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

Output channel & JSON report

Review each symbology, exact string, QR quality score and JSON report while hidden control characters render safely as \u{...} escapes.

Profile & budgetMs settings

Uses full (4000 ms budget) by default; change qrcodeBarcodeScanner.profile to fast (800 ms) or frame (80 ms), or set budgetMs to 0.

Test a QR image in VS Code

Save a known reference image, trigger the scan and confirm the decoded string character for character.

qr-reference.png

Create a text QR code encoding 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 writes the exact QR URL and complete JSON report to the output channel and provides one-click verbatim copy via Quick Pick.

Sample output for qr-reference.png.

VS Code QR Code Scanner extension questions

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

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

Yes. The same extension ID (qrcode-ai-com.qrcode-barcode-scanner) is available on Open VSX. 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 accepts PNG, JPEG, WebP, GIF and uncompressed or bit-field BMP (1 to 32 bpp; RLE-compressed BMP is rejected) up to 64 MiB, 10,000 px per side and 64 million total pixels. It decodes 19 formats: QR Code, Micro QR, rMQR plus 16 1D/2D barcode symbologies.

No. The extension executes inside the workspace host (local, remote SSH/WSL/container and virtual workspaces) via a worker thread and does not ship a browser-only web build, so vscode.dev and github.dev are unsupported.

No. Decoded strings are never launched or executed. The output channel and Quick Pick escape hidden control and bidirectional characters as \u{...} for safe inspection, while copying places the verbatim decoded text onto your clipboard.

full (the default, 4000 ms budget) runs every decoding stage with complete scoring. fast (800 ms) runs fewer stages with lighter scoring, and frame (80 ms) targets camera-style frames without scoring (score is null). Set budgetMs to 0 to remove the time cap.

Yes. Both the extension and its bundled WebAssembly engine are free and MIT-licensed (with retained Apache-2.0 notices for two reader components). It makes zero network calls and stays separate from QR Code AI accounts, generation credits or paid plans.

VS Code setup and QR Code Scanner references

Check the official listings and README for setup commands, image limits and supported formats.