Barcode Generator
Generate barcodes in the common symbologies, with the check digits, quiet zones and sizing rules that make them actually scan.
Last reviewed by the Radiatus Cloud team
Loading tool...
Need this done properly for your business?
Radiatus delivers secure cloud, DevOps & compliance engineering.
Pick the symbology the reader expects
EAN-13 and UPC-A are retail product codes, and both require a registered company prefix from GS1: you cannot invent one and expect it to work in a shop. Code 128 encodes arbitrary alphanumeric data and is the right choice for internal asset tags, shipping labels and anything not going through retail. Code 39 is older, less dense and still common in some industrial settings. QR codes hold far more data and scan from a phone camera, which linear barcodes do not do reliably.
Check digits are calculated, not chosen
EAN-13, UPC-A and several others end in a check digit derived from the preceding digits by a weighted sum. Enter twelve digits and the thirteenth is determined. Typing an arbitrary final digit produces a barcode that encodes cleanly and is rejected by every validating scanner, which is a confusing failure because the image looks perfect.
The quiet zone is part of the barcode
Linear barcodes need blank margin either side, typically at least ten times the narrow bar width. Designers routinely crop it to save space, and the result is a barcode that scans on the screen and fails on the printed carton. If a barcode works in testing and fails in production, the quiet zone is the first thing to check.
Size and print quality
Shrinking a barcode reduces the narrow bar width, and below roughly 0.25 mm most scanners struggle. Printing at low resolution or on absorbent stock blurs bar edges, which has the same effect. Retail has a defined magnification range for EAN-13 for exactly this reason, and printing outside it risks rejection by the retailer.
Contrast and colour
Scanners read reflectance, usually in red light. Dark bars on a light background is what works. Red bars are effectively invisible to a red-light scanner, and low-contrast pairings such as dark blue on black fail even though they look distinct to the eye. Black on white remains the only universally safe choice.
Related tools
- User Agent Parser — Parse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
- QR Code Generator — Generate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
- Credit Card Validator — Validate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.
- Text Case Converter — Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and sentence case. Runs entirely in your browser.
Frequently Asked Questions
Which barcode type should I use?
EAN-13 or UPC-A for retail products, which need a GS1 company prefix. Code 128 for internal asset tags and shipping labels. QR where a phone camera will read it or you need more data than a linear code holds.
Can I make up my own EAN number?
Not for retail. EAN and UPC require a registered GS1 company prefix; an invented number may collide with a real product and will be rejected. Use Code 128 for internal purposes instead.
What is a check digit?
A final digit calculated from the preceding ones by a weighted sum. It is determined, not chosen. An arbitrary check digit produces a barcode that looks perfect and is rejected by validating scanners.
Why does my barcode scan on screen but not in print?
Usually the quiet zone has been cropped. Linear barcodes need blank margin either side of at least ten times the narrow bar width. Print resolution and absorbent stock blurring bar edges are the next suspects.
Can barcodes be coloured?
Only carefully. Scanners read reflectance in red light, so red bars are effectively invisible and low-contrast pairings fail despite looking distinct. Dark bars on a light background, ideally black on white, is the safe choice.
Privacy & Security
Runs in your browser. Nothing you enter is uploaded or stored.
About This Tool
This tool runs entirely in your browser. No data is sent to any server, ensuring complete privacy. Simply use the interface above to get started — no registration or login required.
Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.
Related Tools
User Agent Parser
UtilityParse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
QR Code Generator
UtilityGenerate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
Credit Card Validator
UtilityValidate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.