Free tool
Free barcode generator
UPC-A, EAN-13, Code 128, Code 39 and ISBN. Check digits validated, bulk mode included, PNG or SVG out.
13 digits. Retail worldwide. Type 12 and the check digit is added.
Pick the format
UPC-A for US retail, EAN-13 elsewhere, Code 128 for internal SKUs and shipping, ISBN for books.
Enter the number
The check digit is calculated or validated for you. Paste a list for bulk mode.
Download PNG or SVG
Single codes download directly. Bulk lists download as a ZIP with one file per code.
Which barcode format do I need?
If a retailer or marketplace will scan the product at checkout, you need a GS1-issued UPC (12 digits, North America) or EAN-13 (13 digits, most of the world). Amazon requires GS1 codes for most categories. You buy the number from GS1, then generate the image here.
For your own warehouse, packing slips and inventory apps, Code 128 is the right choice: it encodes letters and numbers, is compact, and every scanner reads it. Code 39 is older and larger but still common on labels. ISBN is EAN-13 with a 978 or 979 prefix and is what bookstores and Amazon expect on books.
About check digits
UPC and EAN numbers end in a check digit calculated from the other digits. Scanners use it to reject misreads. If you type 11 digits for a UPC or 12 for an EAN the generator adds the correct check digit; if you type the full number it verifies it and warns you if it is wrong.
Printing barcodes that scan
Print black on white at 100% scale or larger. Do not stretch a barcode: scale it proportionally or regenerate it at the size you need. Leave blank space either side of the bars. For labels under 3 cm wide use Code 128 rather than Code 39. Test a printed sample with a phone scanner app before ordering labels.
Frequently asked questions
Is the barcode generator free?
Does this give me an official UPC number?
Do I need a GS1 barcode to sell on Amazon?
Which format should I use for my own inventory?
Can I generate many barcodes at once?
What is the check digit?
PNG or SVG?
Can I add the number under the bars?
Free 7-day trial
Start your free store trial today.
No credit card required. Every tool on this page keeps working whether or not you sign up.