UPC and EAN barcode generator
Make a barcode that prints right: the GS1 size, the quiet zones, the digits and the press gain, as a file the printer can use.
Type the number you own, pick a size and download a vector barcode at the exact GS1 dimensions, quiet zones included. Place it at 100% and leave it alone.
Final size
The PDF, SVG and EPS are vector and exactly the size above, one colour, no background. Place at 100% and do not scale. The PNG is transparent.
Barcode in the artwork?
Runs in your browser; nothing is uploaded and there is nothing to sign up for. This draws the barcode for a number you already hold. It does not sell, assign or look up numbers. Ink, the material and the press change a printed code, so have the printed proof graded with an ISO/IEC 15416 verifier before a big run.
Questions
Do I need to buy a number before I make a barcode?
For anything sold in shops, yes. Retailers expect a number from a GS1 company prefix, which you license from GS1 (GS1 US in the United States). A number made up, copied from another product or bought from a reseller can clash with someone else's, and retailers and marketplaces can reject it. This tool draws the barcode for a number you already own. It does not sell or assign numbers, and the example number in the box belongs to nobody.
What size should a UPC be?
At 100% a UPC-A or EAN-13 is 37.29 × 25.93 mm including its quiet zones, with 0.330 mm bars. GS1 allows 80% to 200% for codes scanned at the till, so the smallest is 29.83 × 20.74 mm. Bigger is easier to scan, so use the largest size the pack can hold. Cutting the bars shorter is a last resort for packs with no room.
What is bar width reduction?
Ink spreads on press, so printed bars come out wider than the file and the gaps close. Bar width reduction makes each bar a little thinner in the file so it prints at the right width. How much depends on the press and the material, so ask the printer for the figure. Leave it at zero when you do not have one.
Which colours can I print a barcode in?
Scanners look with red light, so red, orange and yellow bars disappear against white. Black is the safe choice. Dark blue, dark green and dark brown on a white or very pale background also work. When the bars are not black, check the printed proof with a verifier.
Why a PDF or SVG instead of a PNG?
A PNG is a grid of pixels, so a low-resolution one has bars of uneven width and blurs when it is scaled. A vector file stays sharp at any size and holds the GS1 dimensions exactly, so place it at 100% and do not resize it. The PNG here is there for mock-ups and Word documents, and it is drawn on whole pixels at the dpi you pick.
Sources
Checked against these on November 25, 2026.
- GS1 General Specifications, EAN/UPC symbology (§5.2) and symbol specification tables (§5.12.3)ref.gs1.org
- GS1 US: get a UPC barcode and a GS1 company prefixgs1us.org
- GS1: barcode size and magnification (GSCN 23-112)gs1.org
- ISO/IEC 15420: EAN/UPC bar code symbology specificationiso.org
- GS1 General Specifications: check digit calculation (§7.9.1)ref.gs1.org