JupyterLab Barcode Scanner Extension

Read every 1D and 2D barcode in a dataset or lab image inside your JupyterLab 4 tab via WebAssembly, with no kernel and leading zeros intact.

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 barcode 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 digits (leading zeros preserved), symbology 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 barcode image in JupyterLab

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

barcode-reference.png

Create a Code 128 barcode that contains STOCK-4827 and save it as barcode-reference.png.

Decode the image in JupyterLab

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

JupyterLab decodes the image in-tab via WebAssembly and displays the exact Code 128 identifier, symbology and JSON report.

Example result for barcode-reference.png.

JupyterLab Barcode 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.

Yes. It decodes 16 1D and 2D barcode symbologies plus QR codes, displaying exact strings with leading zeros intact alongside the full JSON report and making zero external product database lookups.

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 Barcode Scanner references

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