Barcode Generator (Code 128, EAN-13)

Code 128, EAN-13 and more, check digits included

Made in your browser, nothing is uploaded

Your barcode

Barcode type

Letters, numbers and keyboard symbols, up to 80 characters.


Preview and download

Your barcode appears here as you type

How it works

Make a barcode for free in Code 128, EAN-13, EAN-8, Code 39 or ITF-14. It is drawn right in your browser with nothing uploaded, the check digit is calculated for you, and you can download a PNG or an SVG that is ready to print.

Barcodes and QR codes: what is the difference?

A barcode is the row of bars on product packaging and shelf tags. It holds a short ID, usually a dozen or two digits or characters, and your store or warehouse system looks up the rest. Common types are EAN-13, EAN-8, Code 128, Code 39 and ITF-14.

A QR code is a square grid that holds a whole link, text, Wi-Fi details or contact card, so a phone can open it without any lookup. It holds much more and keeps working when part of it is damaged.

For product packaging, inventory labels and asset tags read by a scanner, use this barcode generator. To open a web page from a phone camera, use the free QR code generator instead.

Need a whole list at once, such as every asset tag or a run of in-store codes? The bulk barcode generator turns a list from Excel or a CSV file into a ZIP of barcodes, works out every EAN-13 check digit, and prints barcode labels on Letter sheets.

Which barcode type should I use?

  • Code 128: the everyday choice for shipping, warehouses, inventory and asset tags. It takes letters, numbers and symbols and prints the shortest for the same content. Pick this one if you are not sure.
  • EAN-13: the international retail product barcode used at checkout. Thirteen digits, the last one a check digit worked out from the others to catch typos.
  • EAN-8: the short version of EAN-13 for packs too small for a full barcode.
  • Code 39: the oldest letters-and-numbers barcode and the most compatible with old equipment, but about 30% wider than Code 128 for the same content.
  • ITF-14: for outer cases and shipping cartons. Thick bars that scan from a distance, with the thick frame (bearer bar) the standard calls for.

How to make a barcode

  1. 1Choose a barcode type. Not sure? Start with Code 128, or EAN-13 for retail products.
  2. 2Type the content. The preview, check digit and any error message update as you type.
  3. 3Download a PNG to use right away, or an SVG for print.

FAQ

What is the difference between a barcode and a QR code?

A barcode (a linear or 1D barcode) is a row of bars that holds a short ID, usually a dozen or two digits or characters; the item name and price come from the store's or warehouse's own system. A QR code is a square, two-dimensional code that holds a whole link, text or contact details, so a phone can open it directly. It also holds far more and copes better with damage.

What is the EAN-13 check digit? Do I have to calculate it?

No. The 13th digit of an EAN-13 is a check digit calculated from the first 12 with the GS1 formula, so a mistyped number gets caught. Enter the first 12 digits and the tool adds it and shows the full number; enter all 13 and it is verified, with the correct digit shown if it does not match.

Can I make a UPC-A barcode?

Not yet: UPC-A is not one of the types here. A 12-digit UPC-A number can be written as an EAN-13 by adding a 0 in front, and many scanners read EAN-13 as well, but if a retailer asks for UPC-A specifically, use a tool that prints the UPC-A symbol.

Where do I get barcode numbers for products I sell in stores?

From GS1 US, or the GS1 office in your country. Retailers expect product numbers registered to your company; this tool draws the barcode for a number you already have. For codes used only inside your own business, EAN-13 numbers starting with 20 to 29 are restricted circulation numbers: GS1 never issues them as product numbers, and the GS1 office in each country decides how they may be used.

Why can't I make a colored barcode or add a logo?

Because it would stop scanning. Most checkout and handheld scanners use red light, and red, orange and yellow look almost the same as white paper under it, so red bars are as good as no bars. A barcode also has no built-in error correction like a QR code, so any covered or faint bar can break it. That is why the barcode itself is always black on white.

My printed barcode will not scan. What went wrong?

Most often the blank space on the left and right (the quiet zone) was trimmed off, or the barcode was printed too small. The images here already include the required blank space, so do not crop along the bars. For print, download the SVG, which carries its real size.

Why does my PNG stop scanning after I put it in Word?

A PNG does not remember how big it should print, so resizing it freely in a document squeezes the bars. When the size has to be exact, download the SVG, whose width and height are stored in millimeters, so it places at the standard size in design and layout apps.