JupyterLab Barcode Scanner Extension

Decode every 1D and 2D barcode in a dataset or laboratory 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 required.

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

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

Open on PyPI

Inspect barcode images alongside 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 choose Scan for QR codes and barcodes, or open /lab?qrcode-barcode-scanner directly.

Instant profile switching & JSON

Switch between fast, frame and full to re-scan straight away; inspect exact digits (leading zeros preserved), symbology and the full JSON report.

What runs here & Python SDK

Verify 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 check the returned value character for character.

barcode-reference.png

Create a Code 128 barcode containing 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 output for barcode-reference.png.

JupyterLab Barcode Scanner extension questions

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

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

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

No. The extension bundles the WebAssembly scanner engine inside the frontend wheel and executes directly in your browser tab, adding no server or Python kernel code.

No. Files selected from your computer stay inside the browser tab, and workspace files are read through your existing Jupyter server contents API. No 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 full scans on large images may briefly keep the tab busy. A Content Security Policy blocking WebAssembly prevents the engine from loading.

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

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 components), independent of QR Code AI generation credits or paid plans.

JupyterLab setup and Barcode Scanner references

Consult the official listing and README for installation steps, limits and supported formats.