Create barcodes for products, labels and inventory
A barcode encodes a number or text as bars (1D) or a pattern of squares (2D) that scanners read instantly. Choosing the right type depends on where the barcode will be scanned.
| Type | Stores | Typical use |
|---|---|---|
| EAN-13 / EAN-8 | 12 / 7 digits + check digit | Retail products worldwide, books (ISBN) |
| UPC-A / UPC-E | 11 / 6 digits + check digit | Retail products in the USA and Canada |
| Code 128 | Any text | Shipping labels, warehouses, inventory |
| Code 39 | A–Z, 0–9, few symbols | Industry, ID badges, older systems |
| ITF | Pairs of digits | Cartons and outer boxes (ITF-14) |
| DataMatrix | Text, very compact | Electronics, medical and small parts |
| PDF417 | Lots of text | Boarding passes, ID cards |
| Aztec | Text | Train and airline tickets |
Printing tips
- Use SVG and keep the quiet zone (white margin) on both sides.
- Black bars on white scan best; avoid red bars, which many scanners cannot see.
- Test before printing a batch with the barcode scanner.
Making one type only? The Code 128 barcode generator explains code sets A, B and C with samples, and the UPC barcode generator shows how the UPC check digit works.
Need a code that phones open as a link? Use the QR code generator.