Actions80
- Extract Text From Word
- Find And Replace Text
- Convert PDF To Editable PDF Using OCR
- Create Swiss QR Bill
- Split PDF By Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Create PDF/A
- Convert HTML To PDF
- Convert Markdown To PDF
- Upload File To PDF4me
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Fill PDF Form
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- AI-Invoice Parser
- AI-Process HealthCard
- AI-Process Contract
- Generate Barcode
- Classify Document
- Parse Document
- Linearize PDF
- Flatten PDF
- Convert To PDF
- Json To Excel
- Convert PDF To Excel
- Convert PDF To Word
- Convert PDF To PowerPoint
- Convert VISIO
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Extract Pages
- Merge Multiple PDFs
- Overlay PDFs
- Rotate Document
- Rotate Page
- Sign PDF
- URL to PDF
- Add Image Watermark To Image
- Add Text Watermark To Image
- Compress Image
- Convert Image Format
- Create Images From PDF
- Flip Image
- Get Image Metadata
- Image Extract Text
- Remove EXIF Tags From Image
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Image
- Rotate Image By EXIF Data
- Compress PDF
- Get PDF Metadata
- Repair PDF Document
- Get Document From Pdf4me
- Update Hyperlinks Annotation
- Protect Document
- Unlock PDF
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Generate Document Single
- Generate Documents Multiple
- Get Tracking Changes In Word
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Attachment From PDF
- Extract Text By Expression
- Extract Table From PDF
- Extract Resources
Overview
This node reads barcodes from image files. It supports multiple input methods for providing the image: binary data from a previous node, a base64-encoded string, or a URL pointing to the image file. The node processes the image asynchronously by default and extracts barcode information embedded in the image.
Common scenarios where this node is useful include:
- Automating inventory management by scanning product barcodes from images.
- Extracting tracking numbers or QR codes from shipping labels.
- Processing scanned documents or photos containing barcodes for data extraction.
Practical example:
- You receive images of packages via an HTTP request or file upload. Using this node, you can extract the barcode data automatically to update your shipment tracking system without manual entry.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Choose how to provide the image file to read barcodes from: - Binary Data - Base64 String - URL |
| Input Binary Field | Name of the binary property that contains the image file (used when Input Data Type is Binary Data) |
| Base64 Image Content | Base64 encoded image content (used when Input Data Type is Base64 String) |
| Image URL | URL to the image file to read barcodes from (used when Input Data Type is URL) |
| Output File Name | Name for the output JSON file containing the barcode data |
| Image Type | Type of the image: - JPG - PNG |
| Async | Enable asynchronous processing (true/false) |
Output
The node outputs JSON data representing the barcode(s) detected in the provided image. This JSON typically includes details such as barcode type, value, and possibly position or other metadata depending on the underlying barcode reading implementation.
If the node supports outputting a file, it names the output JSON file according to the "Output File Name" property.
No binary data output is indicated for this operation.
Dependencies
- Requires access to an external barcode reading service or library integrated within the node's implementation.
- May require an API key or authentication token configured in n8n credentials to access the barcode reading service.
- Network access is needed if using image URLs or external services.
Troubleshooting
Common issues:
- Providing an incorrect binary property name will cause the node to fail to find the image data.
- Invalid base64 strings or inaccessible URLs will result in errors during image retrieval.
- Unsupported image types or corrupted images may lead to failure in barcode detection.
Error messages and resolutions:
- "Image data not found" — Verify the binary property name or input data source.
- "Failed to fetch image from URL" — Check the URL accessibility and correctness.
- "Invalid base64 content" — Ensure the base64 string is properly encoded.
- "No barcodes detected" — Confirm the image contains readable barcodes and is of supported format.