The barcode generator supports 27+ international standard formats across retail, industrial, supply chain, and postal categories. Barcodes are generated entirely in your browser — no server upload — and can be exported as SVG or PNG for individual use, or downloaded in bulk as a ZIP archive.
Picking the right format
Different environments have strict format requirements; using the wrong one causes scanners to reject the code outright.
Retail / products
- EAN-13 — global standard 13-digit product code, e.g.
4006381333931 - EAN-8 — compact 8-digit code for small packaging
- UPC-A — North American 12-digit retail code
- EAN-5 / EAN-2 — add-on codes for book prices and issue numbers
Industrial / warehouse
- Code 128 — most versatile choice; auto-switches between character sets A/B/C, supports full ASCII
- Code 39 — uppercase letters + digits only, e.g.
HELLO; use Code 39 Extended for full ASCII - ITF-14 — 14-digit code for logistics outer cartons
- Codabar — library and blood bank systems
Supply chain / GS1
- GS1-128 — uses Application Identifier syntax, e.g.
(01)12345678901234 - GS1 DataBar — 14-digit GTIN for variable-weight items
- GS1 DataBar Expanded — variable-length AI encoding
Postal
- POSTNET — USPS traditional 5-digit ZIP code format, e.g.
12345 - PLANET — USPS tracking code, 11 digits
- Identcode / Leitcode — Deutsche Post / DHL routing codes
Input rules by format
Each format enforces strict content constraints — entering a non-compliant value triggers a validation error with the specific reason:
- EAN-13: exactly 13 digits; last digit is the check digit
- EAN-8: exactly 8 digits
- UPC-A: exactly 12 digits
- Code 39: uppercase A–Z and digits 0–9 only; switch to Code 128 for lowercase or special characters
- Pharmacode: integers from 3 to 131070 only; used for pharmaceutical internal coding
- ITF-14: exactly 14 digits
- GS1-128 / GS1 DataBar Expanded: requires Application Identifier notation, e.g.
(01)for GTIN
Style parameters that affect scanning
The right sidebar controls go beyond appearance — some settings directly impact whether the barcode scans reliably:
- Height: 20–500 px
- Bar width: 1–10 (controls overall width)
- Margin (quiet zone): 0–50 px — scanners require a minimum blank border; keeping it at least 10 is safe for most applications
- Font size: 8–32 (only affects the human-readable text)
- Rotation: 0 / 90 / 180 / 270 degrees
Batch generation and file import
In batch mode, enter one value per line. Failed entries show error details per line (errors beyond 5 are folded into a count). For large sets, import a CSV or TXT file — the tool auto-detects whether the first row is a value header and skips it. Use the "CSV template" or "TXT template" buttons to download a prefilled example for the current format.
SVG vs PNG
- SVG — vector format, scales to any size without quality loss; recommended for print and laser engraving
- PNG — rendered at 2x resolution; suitable for screen display and digital document embedding
- Batch mode: download SVG ZIP or PNG ZIP to package all generated barcodes at once