How to make a UPC barcode
- Enter your GTIN-12: 11 digits, and we calculate the check digit, or all 12, and we verify it. A wrong check digit is flagged, and we offer the correct one.
- Choose UPC-A (standard) or UPC-E (compressed, for small packs), and a size. 100% is the standard.
- Download SVG for packaging artwork, which is drawn at true size, or PNG at 300 DPI. Print at 100% with no scaling.
UPC-A and UPC-E
UPC-A encodes 12 digits and is the barcode on most products sold in the USA and Canada. UPC-E squeezes a UPC-A number into a barcode about half as wide by removing runs of zeros. Only numbers with enough zeros in the right places can be shortened, so most products use UPC-A. If you enter a UPC-E number, we expand it to check the check digit.
Where do UPC numbers come from?
UPC numbers are GS1 Company Prefix numbers, licensed through GS1 US (or your country’s GS1 member organisation). Retailers and marketplaces check them against GS1 data. We make the barcode from your number; we don’t issue numbers, and invented numbers can belong to someone else’s product.
Size and printing
At 100% magnification the narrowest bar is 0.33 mm wide. Sizes from about 80% to 200% are allowed. Smaller barcodes need better printing. Keep the full bar height, don’t trim the margins, and use dark bars on a light background.
Questions
UPC or EAN? A UPC-A number is a 12-digit GTIN. Scanners worldwide read UPC-A, and outside North America products usually carry EAN-13. If you sell in both regions, ask your GS1 member organisation which to print.
Why are there >-style marks beside the code? On UPC and EAN barcodes they mark the blank margins scanners need. Leave that space empty.
Sources
- GS1 US, Barcodes Powered by GS1 Standards. Accessed 2026-11-29.
Reviewed on by Richard Pryn.