UPC-A
GS1 number for retail- Holds
- 12 digits (11 + check digit)
- Best for
- Shops in the US and Canada
Choose UPC-A, EAN-13, EAN-8, Code 128 or Code 39, type a number or text, and download a PNG or SVG. Everything runs in your browser, so nothing you type is uploaded.
1Choose the barcode type
2Enter the number or text
11 digits (the check digit is added) or 12 digits (it is checked).
Your barcode
Bars are always black, because scanners need strong contrast. The standard white margin is part of the barcode: leave it on unless you are placing the image in your own layout with space around it. For retail print, choose Extra tall to keep GS1's proportions.
Put one value on each line. It uses the barcode type and options chosen above and downloads one ZIP with a file for every line (up to 200 lines).
Barcode type for this list: UPC-A
One page for each barcode type
Choose by where the barcode will be scanned. Shop checkouts read UPC and EAN numbers, and those numbers come from GS1. Your own scanners read whatever you print, so for your own labels Code 128 or Code 39 with your own text is enough.
Most free barcode makers are run by companies that sell scanners, label software or barcode numbers. This one sells nothing, and it is built to make a correct barcode quickly.
The barcode is drawn on your device. Product numbers and asset lists you type are never sent to a server.
Type 11 digits for UPC-A, 12 for EAN-13 or 7 for EAN-8 and the last digit is added. Type the full number and it is checked. If it's wrong, you're told the right digit.
Paste a list and download every barcode at once, as PNG or SVG files. Lines that don't fit are listed, not silently dropped.
SVG stays sharp at any size. PNG saves at 1x to 4x, with a transparent background if you need one.
In our tests, more than 1,300 generated barcodes in all five types were read back correctly by ZXing, an independent open-source barcode reader.
We don't sell barcode numbers, so we can tell you plainly when you need one from GS1 and when you don't.
GS1 sets UPC and EAN sizes as a percentage of a standard 100% size, and shop scanners are built for 80% to 200%. Measure the bars from the first long guard bar to the last. The whole symbol is wider because it includes the white margins.
| Size | Thinnest bar | Bars, UPC-A or EAN-13 | With margins | Bars, EAN-8 |
|---|---|---|---|---|
| 80% (smallest) | 0.264 mm | 25.08 mm | 29.83 mm | 17.69 mm |
| 100% (standard) | 0.330 mm | 31.35 mm | 37.29 mm | 22.11 mm |
| 150% | 0.495 mm | 47.03 mm | 55.94 mm | 33.17 mm |
| 200% (largest) | 0.660 mm | 62.70 mm | 74.58 mm | 44.22 mm |
Worked out from GS1's bar width of 0.330 mm at 100%: 95 modules of bars for UPC-A and EAN-13 (113 with margins) and 67 for EAN-8. Source: GS1 General Specifications, as published in the GS1 UK and GS1 Sweden size guides.
GS1 is the non-profit standards body that issues UPC and EAN numbers through an office in each country, such as GS1 US, GS1 UK and GS1 Pakistan. A licence normally costs a fee, so check your GS1 office for current prices. The barcode picture itself is free to make here.
Random fills in a valid-looking number with the right check digit for testing. It is not registered to you and may belong to a real product, so never print it on goods. Read what a UPC code is and how to get one.
For many barcodes, paste one value per line under Make many at once and download a ZIP. Want a code that opens a web page? That is a QR code: use the QR code generator.
Yes. There's no sign-up, no watermark and no limit, and you can use the barcodes in commercial work. For products sold in shops, the number itself must be one you own from GS1.
UPC-A for shops in the US and Canada, EAN-13 elsewhere and for books, EAN-8 only for very small packs, Code 128 for your own labels with any text, and Code 39 for systems that ask for it.
No. Type 11 digits for UPC-A, 12 for EAN-13 or 7 for EAN-8 and the check digit is added. If you type the full number, it is checked, and you're told the right digit if yours is wrong.
Yes. Put one value per line in Make many at once, up to 200, and download a ZIP of PNG or SVG files. Lines that don't fit the type are skipped and listed so you can fix them.
From GS1 in your country, normally for a fee. A generator can draw the barcode but cannot issue or register the number. Marketplaces such as Amazon generally check numbers against GS1's records, so a made-up number may be rejected.
Yes. Click Random for a valid number with the check digit worked out. It isn't registered to anyone and may match a real product, so use it for tests and mock-ups only.
The bars follow the published patterns, and our tests read them back with an independent barcode reader. Still, scan your own print first. Keep the white margin, print black on white, and don't shrink a UPC or EAN below 80% of its standard size.
Between 80% and 200% of GS1's standard size. At 100% the bars are 31.35 mm wide and the whole symbol with its margins is 37.29 mm. Download the SVG and scale it to a width in the size table on this page.
UPC and EAN take digits only. Code 128 takes letters, numbers, spaces and punctuation, up to 80 characters. Code 39 takes capital letters, digits and - . space $ / + %, up to 40 characters.
A 1D barcode is a row of bars that holds a short number or text. A 2D code, such as a QR code, is a grid that holds much more. GS1's "Sunrise 2027" plan asks shops to be able to scan 2D codes at checkout by the end of 2027.
Yes. Download the barcodes, or a ZIP of many, and place them on a label sheet in Word or your label software. This page makes the barcodes; it doesn't lay out label sheets.
Yes. Open Size and style options and untick Show the numbers. Keep them on product barcodes, because staff type them in when a scan fails.
Yes. A book's ISBN-13 is an EAN-13 that starts with 978 or 979, so use the EAN-13 type. The page doesn't add the 5-digit price add-on some publishers print beside it, and your ISBN comes from your country's ISBN agency.
This page makes barcodes; it doesn't read them from a picture. The digits printed under the bars are the number. To read a barcode, scan it with a phone camera or a scanner app.
To open a web page from a phone camera, make a QR code instead. Most phone cameras open QR codes as links, but not 1D barcodes.
No. Barcodes are drawn in your browser, and what you type never leaves your device.