How to make a barcode
- Choose the barcode type. UPC-A for US retail, Code 128 for your own SKUs.
- Type the number or text. For UPC and EAN, leave off the last digit and the check digit is added.
- Pick a print size. Leave the bar height blank for the standard height, and choose whether to show the number.
- Download an SVG or a 600 dpi PNG, both set to the real size. For labels, choose Many and download the PDF.
Which barcode type to use
| Type | Best for | What it holds |
|---|---|---|
| UPC-A | Retail products in the US and Canada | 12 digits, last is a check digit |
| EAN-13 | Retail products worldwide | 13 digits, last is a check digit |
| EAN-8 | Small retail packs | 8 digits, last is a check digit |
| ITF-14 | Outer cases and cartons | 14 digits, last is a check digit |
| Code 128 | Inventory, shipping, SKUs and serial numbers | Any keyboard characters |
| GS1-128 | Shipping labels with GS1 data, e.g. (01)(17)(10) | GS1 data in (AI) brackets |
| Code 39 | Older inventory and ID systems: A–Z, 0–9, - . $ / + % and space | A–Z, 0–9, a few symbols |
| QR Code | Links, contact cards and text for phones | Text, links, any characters |
| Data Matrix | Small parts, healthcare and electronics | Text, links, any characters |
UPC numbers come from GS1
A generator draws the bars; it can’t give you a number that belongs to you. To sell in stores or on major marketplaces, license your GTINs from GS1, the standards body that issues them. Cheap “UPC codes” sold elsewhere are often numbers first licensed to another company, and retailers can reject them. Your own SKUs and internal labels don’t need GS1: use Code 128.
Printing barcodes that scan
Print dark bars on a white or light background. Black on white is safest, and red bars won’t scan. Keep the clear space either side of the bars, don’t stretch the image unevenly, and print at actual size (100%), and test a printed sample with a phone or scanner before a full run. SVG files print sharpest because they don’t blur when resized. UPC, EAN and carton codes use GS1 sizes; for Code 128, Code 39 and 2D codes our starting size is a practical default, so check it on your scanner.
Common questions
Is this barcode generator free?
Can I make a UPC barcode for my product here?
Which barcode type should I use?
What is a check digit?
Should I download SVG or PNG?
What size should a UPC barcode be?
What is the difference between UPC-A and EAN-13?
Do the QR codes expire?
Can I make a lot of barcodes at once?
Related tools
Checked by hand against GS1 check digit method, GS1 US: get a barcode, GS1 UK: how big should a barcode be, GS1 Sweden: barcode size guide and bwip-js barcode engine. How we check formulas. Last updated . Runs in your browser — nothing you enter is sent anywhere.