Pick a symbology
Retail EAN/UPC for products, Code 128 or Code 39 for labels and logistics. Each format shows its charset and length rules.
Free tools · Barcodes
Retail EAN/UPC and logistics 1D codes — validated, check-digit verified and self-test decoded, rendered on your device, never uploaded.
Barcode generator
Runs locally in your browser. Nothing is uploaded; the field clears after ten idle minutes.
Bar height stretches bars vertically, which scanners ignore (only horizontal timing matters). The SVG download keeps the engine's exact geometry.
How it works
The same engine that reads barcodes writes them — every symbol is decoded again before you see it.
Retail EAN/UPC for products, Code 128 or Code 39 for labels and logistics. Each format shows its charset and length rules.
Check digits for EAN, UPC-A and EAN-8 are computed or verified automatically, and every symbol is read back by the on-device decoder to prove it scans.
Take a resolution-independent SVG for print or a PNG at your chosen module size. Both are generated on your device — nothing is uploaded.
Questions
If you manage servers by hand, see the engineering services behind this tools series.
No. Encoding runs entirely in your browser via a self-hosted decoding engine — the page makes no network requests with your data, stores nothing, and wipes the field after ten idle minutes. You can verify this in your browser's developer tools or disconnect from the network after the page loads.
Nineteen linear symbologies: EAN-13, EAN-8, UPC-A, UPC-E and ISBN for retail (plus GS1 DataBar Omni, Limited, Expanded and Expanded Stacked); Code 128, Code 39, Code 39 Extended, Code 93, ITF, Codabar, Code 32, PZN, Telepen Alpha and Telepen Numeric for industrial and logistics labels. For 2D codes — QR, Data Matrix, Aztec, PDF417 and MaxiCode — use the 2D code generator; QR codes with styling and logos have their own dedicated QR generator.
Type 12 digits for EAN-13 (7 for EAN-8, 11 for UPC-A) and the check digit is computed for you; type the full 13, 8 or 12 digits and it is verified before encoding, with the expected digit named on mismatch. Short or mistyped retail codes are rejected with an explanation instead of a broken symbol.
Every generated symbol is decoded again on your device before it is shown. Some symbologies normalize input — Code 39 folds lowercase to uppercase, ITF pads odd input with a leading zero, EAN adds the check digit, UPC-E scans back zero-expanded — and the readout shows the exact decoded form so there are no surprises at the scanner.
SVG for print, packaging and anything that gets resized: it stays razor sharp at any size and includes the human-readable text under 1D bars when enabled. PNG for quick sharing and apps that need raster images; the module-size slider controls its resolution. Both are generated on your device.
That white margin is the quiet zone — empty space scanners need to tell where the code starts and ends. It is part of the symbol, not decoration: keep it calm and uncluttered when you print or screenshot, or scanners will struggle. The preview blends into the page around it; the white tight to the bars is doing real work.
Retail EAN/UPC symbols scan reliably from about 30 mm wide (roughly 80% magnification) with a calm light margin on both sides. Keep bars pure black on white — the SVG export is the safest choice for print.
Related tools
Every tool runs entirely in your browser — no accounts, no uploads.
2D CODE / GENERATE
Generate QR, Data Matrix, Aztec, PDF417 and MaxiCode with error-correction, color and frame controls — validated and scan-verified in your browser.
Open the toolSSH / KEYS
Convert private keys between PuTTY .ppk, OpenSSH and legacy PEM formats — both directions, encrypted keys supported. Your key never leaves your browser.
Open the toolSSH / KEYGEN
Generate fresh Ed25519, RSA or ECDSA keypairs with your browser's audited crypto, emitted as OpenSSH. Your key never leaves your browser.
Open the tool