JupyterLab QR Code Scanner Extension

Extract every QR code from a local or workspace image straight inside your JupyterLab 4 browser tab via WebAssembly, without a Python kernel, Node.js rebuild or external uploads.

Install the prebuilt wheel using pip

Needs JupyterLab 4. No Node.js, frontend rebuild or active Python kernel required.

  1. 1

    Run pip install inside the Python environment serving JupyterLab 4, then refresh your 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 any PNG, JPEG, WebP or GIF file (or select a local image) and choose between fast, frame and full.

Use pip rather than Extension Manager search (affected by PyPI's removed XML-RPC browse method in JupyterLab 4). Confirm with jupyter labextension list.

Open on PyPI

Inspect QR code images alongside your notebooks

Review dataset files, scannability scores and JSON reports together inside your browser tab without spinning up a kernel.

File browser & direct URL

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

Instant profile switching & JSON

Switch between fast, frame or full to re-scan on the spot; review exact decoded text, payload type, scannability score and the full JSON report.

What runs here & Python SDK

Verify the bundled WASM SHA-256 inside What runs here; when you need scripted decoding in notebook cells, switch to the Python SDK.

Test a QR image in JupyterLab

Generate a known reference image, run the in-tab scan and check the decoded value character by character.

qr-reference.png

Create a text QR code encoding 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 inside your tab using WebAssembly and displays the exact QR URL, scannability score and JSON report.

Sample result for qr-reference.png.

JupyterLab QR Code Scanner extension questions

pip setup, Extension Manager caveat, in-tab privacy, CSP/main-thread limits and licensing.

Execute python -m pip install jupyterlab-qrcode-barcode-scanner inside the environment serving JupyterLab 4, then refresh the browser tab. Verify the install via jupyter labextension list or inspect the package on PyPI.

JupyterLab 4's Extension Manager relies on PyPI's retired XML-RPC browse API for search and can fail. Running pip directly fetches the exact same ~1 MB prebuilt wheel cleanly without Node.js or a rebuild.

No. The frontend wheel bundles the WebAssembly scanner engine and executes straight inside your browser tab without adding any server or Python kernel code.

No. Local files selected from your computer stay inside the browser tab, while workspace files load through your existing Jupyter server contents API. Zero telemetry or external requests occur, and decoded URLs are never opened automatically.

Files exceeding 10,000 pixels per side or 64 million total pixels return a QRS- error. Because decoding executes on the tab's main thread with no time budget, running full on large images can keep the tab busy briefly. A Content Security Policy blocking WebAssembly stops the engine from initialising.

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

Yes. Both the extension and its bundled WebAssembly engine are open-source under the MIT licence (with retained Apache-2.0 notices for two reader modules), independent of QR Code AI generation credits or paid plans.

JupyterLab setup and QR Code Scanner references

Refer to the official package page and README for installation notes, limits and supported symbologies.