n8n QR Code Scanner Community Node

Decode QR codes from binary workflow images directly on your self-hosted n8n host in a worker thread, with no API key and zero outbound calls (self-hosted only, not n8n Cloud).

Install from n8n Settings

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

Open on npm
  1. 1

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

  2. 2

    Enter @qrcode-ai-com/n8n-nodes-qrcode-barcode-scanner, acknowledge the unverified-node notice and click Install.

  3. 3

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

Runs WebAssembly in a local worker thread with no credentials, no native compiler and zero network calls.

Turn binary workflow images into structured QR items

Decode image attachments locally on your n8n server while keeping the original binary payload intact for downstream nodes.

Binary passthrough & item modes

Accepts PNG, JPEG, WebP or GIF from Input Binary Field (data). Pick One Item per Image or One Item per Code without stripping the attached binary file.

texts, codes & optional report

Outputs texts, structured codes (symbology, text, base64 raw, payload), count, profile and an optional full report via Include Report.

On Error batch resilience

Images with no codes return count 0; files above 8 MiB / 4,096 px or corrupt inputs record [QRS-001] on that item when On Error is set to continue.

Test a QR image in n8n

Create a known reference image, run the workflow scan and check the decoded output character by character.

qr-reference.png

Create a text QR code holding https://qrcode-ai.com/ and save it as qr-reference.png.

Scan the image in n8n

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

n8n decodes the binary image inside a local worker thread and outputs the exact QR URL under texts while keeping the binary attachment intact.

Sample output for qr-reference.png.

n8n QR Code Scanner community node questions

Self-hosted vs n8n Cloud, installation steps, item modes, On Error behaviour, limits and licensing.

No. Hosted n8n Cloud allows verified community nodes only. Because this node loads an external WebAssembly scanner package and runs it in a worker thread, n8n's verification policy excludes it, so you need a self-hosted n8n instance.

Go to Settings → Community nodes → Install, enter @qrcode-ai-com/n8n-nodes-qrcode-barcode-scanner, accept the unverified-node prompt and install. For containerised or manual hosts, run npm install inside ~/.n8n/nodes and restart n8n. View the package on npm.

No. The scanner runs locally as WebAssembly inside a worker thread on Node.js 22 or newer, with no credentials, no native build toolchain and zero outbound network calls.

One Item per Image (default) outputs one item per scanned binary image with texts, codes and count (returning count 0 if no code is detected). One Item per Code outputs one item per decoded code and emits nothing when an image has no code.

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

Fast (the default, 800 ms budget) handles clean uploads reliably and returns a reduced QR score. Switch to Full (4,000 ms) for stylised or damaged QR codes, or pick Frame (80 ms) to skip scoring altogether (report.score stays null).

Yes. Both the community node and its separate WebAssembly engine dependency carry the MIT licence (with retained Apache-2.0 notices for two reader modules), independent of QR Code AI generation credits or paid plans.

n8n setup and QR Code Scanner references

Check the official package page and README for setup notes, limits and supported formats.