To make a barcode: choose the type above, type your number or text, and download it as PNG or SVG. Use Code 128 for your own labels and stock, and EAN-13 or UPC-A for retail products with a registered number.
Which barcode type to use
| Type | Holds | Used for |
|---|---|---|
| Code 128 | Letters, numbers, symbols | Shipping labels, warehouse stock, asset tags, tickets |
| EAN-13 | 13 digits | Retail products sold in most of the world |
| UPC-A | 12 digits | Retail products in the US and Canada |
| EAN-8 | 8 digits | Small packages with little room for a barcode |
| Code 39 | Capitals, digits, a few symbols | Older industrial, military and ID-card systems |
| ITF-14 | 14 digits | Outer cartons and cases of retail products |
Barcodes for products you sell
A barcode is only a picture of a number. For products in shops or on marketplaces, the number itself must be registered to your company through GS1, the organisation that issues EAN and UPC numbers. Once you have your numbers, make the barcode images here. For anything internal (stock, assets, your own labels), any Code 128 value works and needs no registration.
Tips for barcodes that scan
- Keep the quiet zone: leave the white margin around the bars. Text or edges too close stop scanners reading it.
- Print dark on light: black bars on white scan best. Avoid red bars, which many scanners can't see.
- Don't squash it: scale the SVG evenly; stretching it sideways changes the bar widths.
- Test before printing a batch: scan the downloaded image with your phone using the scanner.
Need a code that opens a link? Make a QR code instead: phones scan QR codes with the camera app.
We tested it
We generated three barcodes and read them back with zxing, an independent open-source decoder:
| Type | We typed | Decoder read |
|---|---|---|
| EAN-13 | 590123412345 (12 digits) | 5901234123457: check digit 7 added |
| UPC-A | 03600029145 (11 digits) | 036000291452: check digit 2 added |
| Code 128 | BOX-2026-0042 | BOX-2026-0042, letters and dashes included |
Both check digits match the GS1 calculation we did by hand, so you can type the number without its last digit and trust the result. Each PNG was under 5 KB.