Barcode Generator
Generate barcodes in Code 128, EAN-13, EAN-8, UPC-A and other formats instantly. Download as SVG or PNG. Free, browser-based.
🖼️ Image Tools
Free
Browser-based
Barcode Formats Supported
| Format | Characters | Common Use |
|---|---|---|
| CODE 128 | All ASCII | Shipping, logistics, general purpose |
| EAN-13 | 13 digits | Retail products worldwide |
| EAN-8 | 8 digits | Small retail packaging |
| UPC-A | 12 digits | US / Canada retail |
| UPC-E | 6 digits | Compact UPC for small packages |
| CODE 39 | Alphanumeric | Healthcare, defence, automotive |
| ITF-14 | 14 digits | Carton / case-level shipping |
Tips for Valid Barcodes
EAN-13 requires exactly 13 digits and the last digit is a check digit — enter any 12 digits and the library computes the check digit automatically. UPC-A requires 12 digits. CODE 128 accepts any full ASCII string. ITF-14 must be exactly 14 digits. If the value is invalid for the selected format, an error will appear below the barcode.
Which Barcode Format Should You Use?
- Retail products (international) — EAN-13. The global standard scanned at supermarket checkouts in over 100 countries. Requires a GS1 company prefix for official commercial use.
- Retail products (US/Canada) — UPC-A. The North American standard, readable by the same scanners as EAN-13. Also requires a GS1 prefix for commercial use.
- Shipping and logistics — CODE 128. Handles any alphanumeric data, ideal for order numbers, tracking codes and internal inventory labels where you control the format.
- Healthcare, automotive, defence — CODE 39. Widely adopted in legacy systems in these industries; supports letters and numbers but not all special characters.
- Carton / case-level shipping — ITF-14. A 14-digit format used on outer packaging and pallets, designed to be readable through corrugated cardboard.
- Internal inventory / custom labels — CODE 128 gives the most flexibility with no digit limits and full ASCII support.