Free Barcode Generator – EAN, UPC and Code 128

Create barcodes for products, stock and labels. The check digit is calculated and verified for you.

Runs on your device – nothing is uploaded

Format

12 digits – the check digit is calculated. Or 13 digits to verify it.

Go to the result

For example product name and price for a shelf label. Included in PNG, SVG and PDF.

Enter a number or text to create a barcode.

Download the barcode

Text in the SVG uses the recipient's font – use PDF or PNG for exact text.

Print the PDF at 100% – turn off "Fit to page", or the measurements will be off.

Settings

Once the page has loaded, the tool also works without internet – try turning off Wi-Fi. The first visit needs an internet connection.

EAN and UPC numbers for retail products require GS1 membership; GS1 assigns your company a number range. For internal use such as stock, libraries or tickets you can use Code 128 or Code 39 freely.

How it works

  1. Choose a format: EAN-13 or EAN-8 for products, UPC-A for North America, Code 128 or Code 39 for internal codes.
  2. Enter the number. For EAN and UPC you can leave out the check digit – it is calculated. If you include it, it is verified.
  3. Adjust height, bar width and text under Settings.
  4. Download the barcode as PNG, SVG or PDF. The PDF is true to size and can be scaled from 80 to 200%. Print it at 100%.

Frequently asked questions

What is a check digit?

The last digit of an EAN or UPC code is calculated from the others. Scanners use it to catch reading errors. If it is wrong, the till rejects the code.

Can I make up my own EAN number?

Not for products sold in shops. Numbers must come from GS1 so they are unique worldwide. For internal use, Code 128 is a better choice.

Which format should I choose?

EAN-13 for products in Europe, UPC-A for the US and Canada, EAN-8 for very small packs. Code 128 is the most flexible for stock and logistics, and Code 39 is used in older systems.

Why can't I use accented letters?

Code 128 and Code 39 can only encode basic ASCII characters. Write the letters without accents instead.

How large should the barcode be printed?

A standard-size EAN-13 is about 37 mm wide including the white margins – that is the size of the PDF at 100%. Smaller can work, but always test with the scanner that will be used.

Found a bug or have an idea? Send an email

More tools in Web & Biz