n8n Barcode Scanner Community Node

Decode 1D and 2D barcodes from binary workflow images on self-hosted n8n inside a worker thread, keeping leading zeros intact with no API key (unavailable on n8n Cloud).

Install from n8n Settings

Self-hosted n8n only (Node.js 22+). n8n Cloud cannot install unverified community nodes.

Open on npm
  1. 1

    Open Settings → Community nodes → Install in your self-hosted n8n instance.

  2. 2

    Enter @qrcode-ai-com/n8n-nodes-qrcode-barcode-scanner, accept the unverified-node notice and confirm the installation.

  3. 3

    Place QR Code & Barcode Scanner after Read/Write Files from Disk, HTTP Request, a form upload or an email attachment.

Runs WebAssembly inside a worker thread with no credentials, no native compiler and no network calls.

Turn binary workflow images into structured barcode items

Decode attachments locally on your n8n host while keeping the original binary data intact for downstream nodes.

Binary passthrough & item modes

Reads PNG, JPEG, WebP or GIF from Input Binary Field (data). Choose One Item per Image or One Item per Code while keeping the binary file attached.

texts, codes & optional report

Outputs exact barcode strings (leading zeros intact) in texts, structured codes with base64 raw bytes and an optional full engine report.

On Error batch resilience

Empty images return count 0; files above 8 MiB or 4,096 px and corrupt inputs emit [QRS-001] on the item when On Error is set to continue.

Try a barcode image in n8n

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.

Scan the image in n8n

Text
# Read/Write Files from Disk (barcode-reference.png) -> QR Code & Barcode Scanner
Input Binary Field: data
Profile:            Fast
Output:             One Item per Image
# Output -> texts: ["STOCK-4827"], count: 1
Expected result · Code 128
STOCK-4827

n8n decodes the binary image inside a local worker thread and returns the exact Code 128 string in texts while keeping the binary file attached.

Example output for barcode-reference.png.

n8n Barcode Scanner community node questions

Self-hosted versus n8n Cloud, installation, item modes, On Error handling, limits and licensing.

No. n8n Cloud permits verified community nodes only. Because this node depends on an external WebAssembly scanner package and runs it inside a worker thread, n8n's verification rules exclude it, so a self-hosted n8n instance is required.

Open Settings → Community nodes → Install, enter @qrcode-ai-com/n8n-nodes-qrcode-barcode-scanner, accept the unverified-node prompt and install. For manual container deployments, run npm install inside ~/.n8n/nodes and restart n8n. See npm.

No. The engine runs locally as WebAssembly inside a worker thread on Node.js 22 or later with no credentials, no native build tools and no network calls.

One Item per Image (default) emits one item per scanned binary image containing texts, codes and count (count 0 when no code is found). One Item per Code emits one item per decoded code and emits nothing if an image contains no code.

Images above 8 MiB, 4,096 px per side or 16 million pixels, as well as corrupt files, fail the node with an engine code such as QRS-001. Set On Error to continue so the failed item carries an error ending in [QRS-001] while remaining items still scan.

Yes. It decodes 16 barcode symbologies (EAN, UPC, Code 128/39/93, ITF, Codabar, GS1 DataBar, Data Matrix, PDF417, Aztec and MaxiCode) plus QR codes, returning exact strings with leading zeros intact and making no external product lookups.

Yes. Both the node and its separate WebAssembly engine dependency 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.

n8n setup and Barcode Scanner references

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