Code 128, EAN-13, EAN-8, UPC-A and Code 39 as verified SVG or PNG
UPC-A Barcode Generator
Turn your UPC number into a print-ready barcode with the check digit right.
Loading tool…
How to use upc-a barcode generator
Type the 11 digits of your UPC, or all 12 to have the check digit verified.
Adjust the bar width and height.
Check the green line confirming the code reads back.
Download the SVG or PNG.
What this tool does
- Adds or verifies the UPC check digit.
- Draws the first and last digit's bars full height with the small outer digits, as on US packaging.
- Bars sit on whole pixels so they print crisply.
- SVG output scales for packaging artwork without blurring.
How the result is verified
The barcode is decoded from its own pixels, the check digit is recomputed, and the result must equal your 12 digit UPC for both the PNG and the SVG before download.
Frequently asked questions
What is the difference between UPC-A and EAN-13?
A UPC-A is an EAN-13 whose first digit is 0, drawn with 12 visible digits. Scanners everywhere read both; US retail traditionally prints UPC-A.
Can I make up a UPC number?
You can draw any number here, but shops and marketplaces check UPCs against the GS1 database. For products you sell, license a company prefix from GS1.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
EAN-13 and EAN-8 retail barcodes with the check digit worked out
Compact Code 128 barcodes for labels and stock, with automatic set switching
QR codes for links and text, with logo, colours and verified SVG or PNG