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

  1. Choose your image or text. It opens inside this browser tab – it is not uploaded anywhere.
  2. Barcode Generator runs on your device, so it is quick even on slow internet and works on phones and computers.
  3. 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

  1. Choose the barcode type – Code 128 for general use, UPC-A or EAN-13 for retail products.
  2. 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.
  3. Adjust the size under "Size, text and colours": bar width, height, colours and whether the number is printed under the bars.
  4. 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.

UPC Barcode Generator QR Code Generator QR Code Scanner

Frequently Asked Questions

Is this barcode generator free?
Yes. Make as many barcodes as you need, for personal or business use, with no sign-up and no watermark.
Can I use these barcodes to sell on Amazon or in stores?
The barcode image is standard and scans anywhere, but retailers and marketplaces need the number to be registered to your company. Get your product numbers (GTINs) from GS1, then make the barcodes here.
Which barcode type should I choose?
Use EAN-13 for retail products in India, Europe and most countries, UPC-A for the US and Canada, and Code 128 for shipping labels, inventory and anything with letters.
What is the difference between a barcode and a QR code?
A barcode stores a short number or code in lines read from left to right. A QR code stores much more – a whole link or contact card – in a square that phones read with their camera.
What size should I print a barcode?
Keep it at least as wide as the PNG at 100% or larger, never squash it, and leave a blank margin on both sides. For retail UPC-A, about 37 × 26 mm is the normal size.
Why does my UPC or EAN number show an error?
Either a digit is missing or the last digit (the check digit) does not match the others. Type the number without the last digit and the correct check digit is added for you.
Is Barcode Generator free to use?
Yes. Barcode Generator is completely free, with no sign-up, no watermark and no limit on how many times you use it.
Are my files uploaded to a server?
No. Your files are processed directly in your web browser on your own device. Nothing is uploaded or stored, and the file is gone from memory when you close the tab.

More QR Code Tools