JupyterLab QR Code Scanner Extension

Read every QR code in a local or workspace image right inside your JupyterLab 4 browser tab using WebAssembly, with no kernel, no Node.js rebuild and zero uploads.

Install the prebuilt wheel with pip

Requires JupyterLab 4. No Node.js, frontend rebuild or active Python kernel needed.

  1. 1

    Run pip install inside the environment serving JupyterLab 4, then refresh the JupyterLab tab.

    Shell
    python -m pip install jupyterlab-qrcode-barcode-scanner
  2. 2

    Launch QR Code & Barcode Scanner via Launcher → Other, Command Palette, /lab?qrcode-barcode-scanner or the file browser.

  3. 3

    Right-click a PNG, JPEG, WebP or GIF file (or select a local image) and switch between fast, frame and full.

Use pip rather than Extension Manager search (PyPI XML-RPC browse issue in JupyterLab 4). Check installation with jupyter labextension list.

Open on PyPI

Inspect QR code images alongside your notebooks

Keep dataset images, scannability scores and JSON reports together in your browser tab without spinning up a kernel.

File browser & direct URL

Right-click any workspace PNG, JPEG, WebP or GIF and pick Scan for QR codes and barcodes, or go straight to /lab?qrcode-barcode-scanner.

Instant profile switching & JSON

Switch between fast, frame and full to re-scan right away; check exact text, payload kind, scannability score and the full JSON report.

What runs here & Python SDK

Verify the bundled WASM SHA-256 under What runs here; for scripted decoding inside notebook cells, switch to the Python SDK.

Test a QR image in JupyterLab

Create a known reference image, run the scan and verify the decoded output character by character.

qr-reference.png

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

Decode the image in JupyterLab

Shell
jupyter labextension list
# Lists @qrcode-ai-com/jupyterlab-qrcode-barcode-scanner
# Right-click qr-reference.png -> Scan for QR codes and barcodes
# Or open /lab?qrcode-barcode-scanner and pick the local file
Expected result · QR code
https://qrcode-ai.com/

JupyterLab reads the image in-tab via WebAssembly and shows the exact QR URL, scannability score and JSON report.

Sample output for qr-reference.png.

JupyterLab QR Code Scanner extension questions

pip install, Extension Manager note, in-tab privacy, CSP/main-thread caps and licensing.

Run python -m pip install jupyterlab-qrcode-barcode-scanner inside the environment serving JupyterLab 4, then refresh the browser tab. Check that it loaded with jupyter labextension list or view the package on PyPI.

In JupyterLab 4, Extension Manager's PyPI search depends on PyPI's retired XML-RPC browse endpoint and can fail. Running pip directly installs the same ~1 MB prebuilt wheel cleanly with no Node.js or frontend rebuild.

No. The frontend wheel bundles the WebAssembly scanner engine and executes straight inside your browser tab, adding neither server nor kernel code.

No. Local files chosen from your machine stay inside the browser tab, while workspace images are read through your existing Jupyter server contents API. Zero telemetry or external requests are sent, and decoded links never open automatically.

Images exceeding 10,000 pixels per side or 64 million total pixels are rejected with a QRS- error. Scans run on the page's main thread without a time budget, so running full on large images can keep the tab busy for a moment. A Content Security Policy blocking WebAssembly stops the engine from loading.

Expand the What runs here section inside the scanner panel. It shows the bundled browser package name, its WebAssembly module SHA-256 checksum and the active engine metadata.

Yes. Both the extension and its bundled WebAssembly engine carry the MIT licence (with retained Apache-2.0 notices for two reader modules), separate from QR Code AI generation credits or paid plans.

JupyterLab setup and QR Code Scanner references

Check the official package page and README for installation steps, caps and supported formats.