BarcodeGenerator

Type a number or some text, pick the format, and download a barcode as a PNG or SVG. Retail numbers are checked and the check digit is added for you.

  • Free forever
  • No sign-up
  • Runs in your browser

Your barcode

Pick the format your scanner expects.

Letters, numbers and symbols you can type on a keyboard.

2 px
90 px

Preview

Test it with a scanner app before you print.

Ready to download.

Format
Code 128
Characters
13
Check digit
—

Retail barcodes (EAN and UPC) need a number registered to your company with GS1. Making the picture is free, but a made-up number can clash with someone else's product. For stock labels, tickets and internal use, Code 128 works with any number or text.

How to use the Barcode Generator

  1. 1

    Pick the format your scanner or shop expects.

  2. 2

    Type the number or text. For EAN and UPC, the check digit is added.

  3. 3

    Adjust the bar width and height, and scan the preview to test it.

  4. 4

    Download a PNG or an SVG for print.

Which barcode format to use

Different jobs expect different formats:

  • Code 128: any letters, numbers and symbols, packed tightly. The best choice for stock labels, shipping, tickets and anything internal.
  • EAN-13: 13 digits, the standard retail barcode in most of the world.
  • UPC-A: 12 digits, the retail barcode in the US and Canada. Scanners read it as an EAN-13 with a leading 0.
  • EAN-8: 8 digits, for packs too small for an EAN-13.
  • Code 39: capitals, numbers and a few symbols. Older and wider than Code 128, but still required by some industrial and government systems.

Check digits, explained

The last digit of an EAN or UPC number is a check digit, worked out from the others. Scanners recalculate it on every scan, so a misread bar is caught instead of ringing up the wrong product.

To work it out, the digits are multiplied by 3 and 1 in turn, starting from the right, and added up. The check digit is whatever brings the total up to the next multiple of 10. Type one digit fewer than the full length and the tool adds it; type the full number and the tool checks it.

Do you need to buy barcode numbers?

To sell in shops or on marketplaces like Amazon, yes. Retail EAN and UPC numbers come from GS1, the body that runs the system, with a prefix tied to your company. A made-up number can belong to someone else's product, and big retailers check.

Drawing the barcode is the free part: once you have your numbers, any generator, this one included, makes the picture. For anything that stays inside your business, like stock, assets or tickets, you don't need GS1 at all. Use Code 128 with your own codes.

Printing barcodes that scan

Print dark bars on a light background; black on white is safest. Red bars often don't scan, because many scanners use red light.

Keep the blank margin on both sides, called the quiet zone, and don't squash the barcode to fit. If it's too wide, lower the bar width rather than stretching it. Download the SVG for print, so the bars stay sharp at any size.

Frequently asked questions

How do I make a barcode for free?

Pick a format, type your number or text, and download the PNG or SVG. There's no sign-up or watermark, and everything runs in your browser.

What's the difference between UPC and EAN?

UPC-A has 12 digits and is used mainly in the US and Canada. EAN-13 has 13 and is used elsewhere. Modern scanners read both, and a UPC is an EAN-13 with a 0 in front.

Can I make my own UPC or EAN number?

Not for selling in shops. Retail numbers have to be licensed from GS1 so they're unique. For internal stock or labels, use Code 128 with any code you like.

What is a check digit?

The last digit of an EAN or UPC, calculated from the others so scanners can catch misreads. This tool adds it if you leave it off, and tells you if a full number's check digit is wrong.

Which barcode works for letters?

Code 128 takes letters, numbers and symbols, and makes the shortest barcode. Code 39 takes capitals and numbers only. EAN and UPC are digits only.

Embed this tool on your site

Want the Barcode Generator on your own page? Copy the embed code and paste it where you want it to show up.

  • Free to use on your blog or site, with no account.
  • It sizes itself to fit and works on phones.
  • Keep the credit line so readers know where it's from.
your-site.com/blog

Free Barcode Generator by Hiyaly

Put it allon one link.