How do I generate a barcode (EAN, UPC, Code 128)?
Barcode generator online - free, no signup. Create:
1D barcodes: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar, ITF, MSI, ISBN, ISSN.
2D codes: Data Matrix, PDF417, Aztec, MaxiCode, GS1 DataBar.
With a caption above or below, in any color and size. PNG (for print) and SVG (vector, scales lossless).
Everything runs locally - your input data never leaves the device. Perfect for warehouse labels, packaging, tickets, business cards, coupons, documentation.
How to use it
- Pick the barcode type from the list grouped by use case: retail (EAN, UPC, ISBN), industrial (Code 128, Code 39, ITF), 2D matrix (Data Matrix, PDF417, Aztec) or GS1 / postal.
- Type the data to encode. Each type shows a format hint ("13 digits for EAN-13", "any ASCII for Code 128"). Validation is automatic.
- Add a caption above or below (optional) - your own text ("2026 admission ticket", "Milk 1L") or let the code show its encoded data under the bars.
- Tweak the look: bar and background colors, scale, bar height (1D), error correction level (2D), padding. Everything updates live.
- Download as PNG (raster, for thermal printers, labels, posters) or SVG (vector, for design files - scales perfectly to any size).
When this is useful
Which barcode goes where - typical matches:
- Warehouse labels - Code 128 (any ASCII, the most common in logistics).
- Retail product packaging - EAN-13 for Europe, UPC-A for the US and Canada.
- Books (ISBN), periodicals (ISSN).
- Coupons and promo campaigns (Code 128 or GS1-128).
- Employee badges (Code 128, Code 39).
- Shipping labels with lots of data (PDF417, Data Matrix).
- Transit tickets, boarding passes (Aztec).
- Pharmaceutical labels, electronics, automotive parts (Data Matrix - compact 2D).
- Fresh food with expiry tracking (GS1 DataBar).
To generate a QR code as a 2D alternative, use the QR generator.