JupyterLab QR Code Scanner Extension

Read every QR code in a local or workspace image right inside your JupyterLab 4 browser tab via 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 Python kernel needed.

  1. 1

    Run pip install in the environment that serves JupyterLab 4, then reload the JupyterLab tab.

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

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

  3. 3

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

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

Open on PyPI

Inspect QR code images beside your notebooks

Keep dataset files, scannability scores and JSON reports together in your browser tab without starting a kernel.

File browser & direct URL

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

Instant profile switching & JSON

Switch fast, frame or full to re-scan immediately; inspect exact text, payload kind, scannability score and the full JSON report.

What runs here & Python SDK

Check the bundled WASM SHA-256 inside What runs here; for programmatic decoding inside notebook cells, use the Python SDK.

Try a QR image in JupyterLab

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

qr-reference.png

Create a text QR code that contains 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 decodes the image in-tab via WebAssembly and displays the exact QR URL, scannability score and JSON report.

Example result for qr-reference.png.

JupyterLab QR Code Scanner extension questions

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

Run python -m pip install jupyterlab-qrcode-barcode-scanner in the environment that runs JupyterLab 4, then reload the page. Confirm installation with jupyter labextension list or browse the package on PyPI.

In JupyterLab 4, Extension Manager's PyPI search relies on PyPI's removed XML-RPC browse method and can fail. Installing directly with pip installs the same ~1 MB prebuilt wheel cleanly without Node.js or a rebuild.

No. It bundles the WebAssembly scanner engine inside the frontend wheel and runs directly in your browser tab, adding no server or kernel code.

No. Files chosen from your computer stay inside the browser tab; workspace files are read through your existing Jupyter server contents API. No telemetry or external requests are made, and decoded links are never opened automatically.

Images over 10,000 pixels per side or 64 million total pixels are refused with a QRS- error. Scans run on the page's main thread without a time budget, so full scans on large images can keep the tab busy briefly. A Content Security Policy that blocks WebAssembly prevents the engine from loading.

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

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

JupyterLab setup and QR Code Scanner references

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