Free Barcode Generator (EAN-13, UPC & Code 128)
Create print-ready Code 128, EAN-13, EAN-8, UPC-A, Code 39, and ITF-14 barcodes with instant SVG/PNG export.
Quick Answer
Use Code 128 for internal inventory SKUs and shipping labels (supports letters & numbers), EAN-13 for international retail products, and UPC-A for US/Canada retail goods. Export as SVG for crisp label printing.
How to Use
- 1Select a barcode symbology: CODE128, EAN13, EAN8, UPC, CODE39, or ITF14.
- 2Enter your code value (for EAN-13, enter 12 digits to auto-calculate the 13th check digit).
- 3Adjust bar width, height, text display, and foreground/background colors.
- 4Download as scalable vector SVG for print artwork or PNG for quick labeling.
Specifications & Reference Table
Retail formats (EAN-13, EAN-8, UPC-A, ITF-14) enforce Modulo-10 check digits so laser and optical scanners verify every read.
| Format | Characters | Length Rule | Common Use |
|---|---|---|---|
| CODE 128 | Full ASCII (letters, digits, symbols) | Variable | Warehouse SKUs, shipping & logistics labels |
| EAN-13 | Digits 0–9 | 12 digits (+1 auto check digit) | Global retail products (outside North America) |
| UPC-A | Digits 0–9 | 11 digits (+1 auto check digit) | US & Canada retail products, Amazon |
| CODE 39 | A–Z, 0–9, -.$/+% | Variable | Manufacturing, badges, healthcare, libraries |
| ITF-14 | Digits 0–9 | 13–14 digits | Corrugated shipping cartons & outer cases |
Frequently Asked Questions
Can I enter 12 digits for EAN-13 or 11 digits for UPC-A?
Yes. JsBarcode automatically computes and appends the official Modulo-10 check digit when you enter the base digits.
Does this tool register official GS1 barcodes for retail stores?
No. This tool renders barcode images from numbers you already own. For public retail distribution, obtain official company prefixes from GS1.
Why is my barcode failing to scan on a thermal label printer?
Ensure pure black bars on a pure white background, keep bar width at 2 or higher, and do not crop the left/right white margins (quiet zones).
Related Tools
Paste a list of URLs, SKUs, or CSV/Excel rows to batch-generate QR codes and export them as a labeled ZIP or printable sheet.
Generate permanent static QR codes for URLs, text, email, phone, or SMS with custom colors, logo overlay, and instant PNG/SVG export.
Decode QR codes instantly from uploaded images, pasted screenshots, or your live webcam — 100% locally in your browser.
Generate GA4-ready UTM campaign URLs with one-click print presets and download permanent tracking QR codes in PNG or SVG.