Barcode Generator: Code 128, EAN-13, UPC and More

This free barcode generator makes printable barcodes in the most common formats: Code 128 for labels and shipping, EAN-13 and UPC-A for retail products, Code 39, ITF-14 for cartons and Codabar for libraries. Check digits are worked out for you, and you can download each barcode as a PNG or a sharp SVG.

Loading the barcode maker…

Everything runs in your browser. Nothing you enter is sent to or stored on our server.

Quick answer: Pick a barcode type, type the number or text, and the barcode appears. Use Code 128 for your own labels and stock codes; use EAN-13 or UPC-A only with product numbers assigned to your company by GS1.

How to use the barcode generator

  1. Choose the barcode type. An example value is filled in for each one.
  2. Enter your value. For EAN-13 and UPC-A you can leave off the last digit and the check digit is added for you.
  3. Adjust bar width, height and color, and choose whether to show the number under the bars.
  4. Download a PNG for documents and labels, or an SVG for professional printing.

Which barcode type do I need?

TypeDataUsed for
Code 128Any letters, numbers and symbolsShipping labels, inventory, asset tags, tickets
EAN-1313 digitsRetail products worldwide, books (ISBN starting 978 or 979)
UPC-A12 digitsRetail products in the US and Canada
EAN-88 digitsSmall packages with little space
Code 39A to Z, 0 to 9 and a few symbolsIndustry, ID badges, older systems
ITF-1414 digitsOuter cartons and cases of products
CodabarDigits with start and stop letters A to DLibraries, blood banks, courier forms

Selling in shops? Get official numbers

Anyone can draw an EAN-13 or UPC barcode, but the number inside must be unique worldwide. Retailers and marketplaces such as Amazon expect product numbers (GTINs) licensed from GS1, the organisation that runs the system in each country. Once you have your GS1 numbers, you can create the barcode images here for free.

Printing tips

  • Print black bars on a white background. Red bars and dark backgrounds often cannot be read by scanners.
  • Keep the clear space on both sides of the bars.
  • Do not stretch the image unevenly; resize the SVG to keep bars sharp.
  • Test a printed sample with a scanner or phone app before printing in bulk.

For links, Wi-Fi and contact details, a 2D code holds much more: try the QR code generator. Need random test numbers? Use the random number generator.

FAQ

What is a check digit?

The last digit of EAN and UPC codes, calculated from the others so scanners can spot misreads. The generator works it out automatically.

Are the barcodes free to use?

Yes. The images are yours to use on labels, products and documents.

More free tools

See all of them on the QuickOnlineTips free online tools page and play our free online games.

Found this useful? Share it with someone who needs it.