EAN-13, UPC-A, EAN-8, UPC-E, ISBN. The barcodes on product packaging, read at every checkout. EAN-13 is the standard almost everywhere and UPC-A its 12-digit form for the US, Canada and Amazon; EAN-8 and UPC-E are the short versions for packages with no room; ISBN is the EAN-13 form of a book number with the price add-on bookshops read. Every one has its check digit calculated and is drawn to the GS1 specification.
Free · no signup · no limits
SVG, PNG at 600 dpi, PDF, label sheets
2 · Content · EAN-13
12 digits (the check digit is added) or 13.
EAN-2 or EAN-5 add-on, used for magazine issues and book prices.
3 · Size and print
At 300 dpi each bar is 4 printer dots = 0.339 mm. The PNG uses exactly that.
4 · Download
SVG and PDF are vectors at the exact millimetre size shown. The PNG uses a whole number of printer dots per bar so nothing blurs. Generated in your browser; nothing is uploaded.
Click a name to read its notes; it is selected in the generator above at the same time.
| Symbology | Typical use | Encodes | Check digit | Kind | Note |
|---|---|---|---|---|---|
| EAN-13 | Retail products worldwide. | 12 digits (the check digit is added) or 13. | Yes | 1D · GS1 | The default for products sold anywhere outside North America. |
| UPC-A | Retail products in the US and Canada; Amazon listings. | 11 digits (the check digit is added) or 12. | Yes | 1D · GS1 | An EAN-13 with a leading zero; what US retailers and Amazon expect. |
| EAN-8 | Small packages with no room for EAN-13. | 7 digits (the check digit is added) or 8. | Yes | 1D · GS1 | Only when EAN-13 physically does not fit; GS1 issues these sparingly. |
| UPC-E | Compressed UPC for small US packages. | 6 or 7 digits (check digit added), or 8 digits. | Yes | 1D · GS1 | A UPC-A with the zeros squeezed out; only some numbers compress. |
| ISBN | Books, with an optional price add-on. | ISBN-10 or ISBN-13, hyphens optional. | Yes | 1D · GS1 | The number comes from your ISBN agency, not GS1; add the 5-digit price. |
The retail barcode used on products almost everywhere outside North America. Enter your 12-digit number and the check digit is worked out for you; enter all 13 and it is verified. The symbol is drawn to the GS1 specification: correct quiet zones, guard bars and OCR-B digits.
From GS1, the only official issuer. A number you make up will scan but is not a registered product code, and retailers and Amazon check against GS1's database.
The nominal size is 37.29 mm wide with 22.85 mm bars, at 100% magnification. Anything from 80% to 200% is within the retail specification. The generator shows the size for your settings.
Type only the first 12 digits and the correct check digit is calculated. If you type 13 and the last one does not match, the generator tells you what it should be.
The 12-digit retail barcode used in the US and Canada and required for most Amazon product listings. Enter 11 digits and the check digit is calculated; the symbol follows the GS1 layout with the first and last digits outside the bars.
The barcode itself, yes. The number must be a GS1-licensed UPC; Amazon verifies numbers against GS1 and rejects invented or resold ones.
UPC-A for products sold in the US and Canada; EAN-13 elsewhere. Scanners worldwide read both, and a UPC-A is an EAN-13 with a leading zero.
Yes. Enter 11 digits and it is added; enter 12 and it is verified.
The short retail barcode for packages too small for EAN-13. Eight digits; enter seven and the check digit is added.
Only when EAN-13 physically does not fit. GS1 issues EAN-8 numbers sparingly for that reason.
Yes, every retail scanner reads EAN-8.
From GS1. Made-up numbers scan but are not registered.
The zero-suppressed form of UPC-A for small packages in the US and Canada. Enter the 6-digit body, or the 8-digit code, or a compressible 12-digit UPC-A.
A UPC-A with the zeros squeezed out, so it fits on small packages. Only numbers with the right zero pattern can be compressed.
No. The number system must be 0 or 1 and the zeros must sit in specific positions. The generator says so if yours cannot.
Yes, all retail scanners do.
A book barcode: the ISBN printed above, the EAN-13 form below, and the optional 5-digit price add-on that bookshops read. Paste an ISBN-10 or ISBN-13 with or without hyphens; ISBN-10 is converted for you.
No. Your ISBN comes from your national ISBN agency and already includes the 978 or 979 prefix; the barcode is the EAN-13 form of that number.
The price. In the US it is 5 followed by the price in cents, so 51999 means $19.99; 90000 means no price given. Other countries use other leading digits.
SVG or PDF. They are vector, so the bars stay exact at any size. Use EPS only if the printer asks for it.
Other barcode families