Free Barcode Generator
Make Code 128, UPC, EAN-13, EAN-8, Code 39, ITF-14 and Codabar barcodes. Download PNG or SVG for labels and products.
Size, text and colours
Your file never leaves your device
- Choose your image or text. It opens inside this browser tab – it is not uploaded anywhere.
- Barcode Generator runs on your device, so it is quick even on slow internet and works on phones and computers.
- Download the result. Close the tab and the file is gone from memory – nothing is stored.
Make a barcode for a product, shipping label, inventory item or library card. Choose the barcode type, type the number or text, and download a high-resolution PNG or a vector SVG for printing. For UPC, EAN and ITF-14 the check digit is worked out and verified for you, so a typing mistake doesn't end up on your packaging.
How to Make a Barcode
- Choose the barcode type – Code 128 for general use, UPC-A or EAN-13 for retail products.
- Type the number or text. The barcode updates as you type, and a message tells you if a digit is missing or the check digit is wrong.
- Adjust the size under "Size, text and colours": bar width, height, colours and whether the number is printed under the bars.
- Download the PNG (made at three times screen size for sharp printing) or the SVG for label and design software.
Which Barcode Type Do I Need?
- UPC-A – 12 digits, used on products sold in shops in the United States and Canada. See the UPC barcode generator.
- EAN-13 – 13 digits, the retail barcode used in India, Europe and most other countries. Book ISBNs starting with 978 or 979 are EAN-13 barcodes.
- EAN-8 – 8 digits, for packs too small for EAN-13.
- Code 128 – letters, numbers and symbols in a compact barcode. Common on shipping labels, warehouse shelves, asset tags and internal stock codes.
- Code 39 – capital letters and numbers; older but still used for ID badges, the car industry and some government forms.
- ITF-14 – 14 digits printed on outer cartons and cases of products.
- Codabar – numbers only, still used by libraries, blood banks and some courier slips.
Barcodes for Selling Products
This tool draws the barcode for any number, but a store or marketplace needs the number itself to be registered to your company. Product numbers (GTINs) for UPC and EAN barcodes are issued by GS1 – GS1 India, GS1 US and the other national GS1 offices. Amazon, Flipkart and large retailers check barcodes against the GS1 database, so made-up or resold numbers can get listings rejected. For your own stock, shelves and internal labels, any number or Code 128 text is fine.
What Is a Check Digit?
The last digit of a UPC, EAN or ITF-14 number is calculated from the others, so a scanner can tell when a code was misread. Starting from the right of the other digits, they are multiplied by 3, 1, 3, 1… and added; the check digit is what takes the total up to the next multiple of 10. For example, the UPC number 03600029145 gets the check digit 2. Type the number without its last digit and the tool adds it; type all digits and the tool tells you if the last one is wrong.
Printing Tips
- Print black bars on a white background. Red bars and dark backgrounds can't be read by most laser scanners.
- Keep the blank margin on both sides of the bars – scanners need it to find where the barcode starts.
- Don't squash the barcode to fit a space; change its size evenly instead. Retail UPC-A barcodes are about 37 mm wide at normal size.
- Use the SVG for label printers and design software so the bars stay sharp.
Need to store a link or more text? Use the QR code generator – a QR code holds far more data in a smaller square.