Guides

How to make an EAN barcode and print labels

Barcodes are not just for manufacturers. An online shop, a stockroom, a school library or an office asset register – a scanner reads a number faster and without typos. Here is which type of barcode to choose and how to print it so the scanner has no trouble.

25 October 20264 min read

Which barcode should you choose?

  • EAN-13 – the code on products in shops in Europe. It has 13 digits; the last one is the check digit.
  • EAN-8 – a shorter version for very small packages.
  • UPC-A – the equivalent of EAN-13 used mainly in the USA and Canada.
  • Code 128 – letters, digits and symbols. Best for stock numbers, parcels, asset tags and lending libraries.
  • Code 39 – capital letters and digits, common in industry and older systems.
  • ITF-14 – the code on outer cartons holding several units of a product.

Where does an EAN number come from?

This is the most common misunderstanding. A generator can draw a barcode for any number, but it does not issue numbers. If a product will be sold in shops or on marketplaces that require an EAN, the number must come from GS1 – in the UK that is GS1 UK. Your company then gets its own prefix, and the numbers of its products are unique worldwide. The first digits of the code, such as 50, show which GS1 organisation issued the number, not where the product was made.

For internal use – a stockroom, asset register, library cards or tickets – you do not need to register. Choose Code 128 with your own numbering, e.g. INV-0001.

How to make a barcode step by step

  1. Open the barcode generator and choose the barcode type.
  2. Enter the number. For EAN-13, 12 digits are enough – the generator calculates the thirteenth, the check digit. If you enter 13 digits, it checks whether the last one is correct.
  3. Several codes at once? Put each number on its own line, or use sequential numbering with a prefix.
  4. Add a line of text above the code, such as the product name or price, and choose whether the digits appear under the bars.
  5. Download a PNG, an SVG, a 1:1 PDF or an A4 label sheet.

Printing labels without surprises

  • 100% scale: in the print dialog choose actual size. “Fit to page” changes the dimensions and the labels drift off the sheet.
  • EAN size: a standard EAN-13 is about 37 × 26 mm. Do not shrink it below 80% – a till may not read it.
  • Contrast: black bars on white read best. Red bars are invisible to many laser scanners.
  • Quiet zone: leave empty space on both sides of the code – without it the scanner cannot find the start and end.
  • Test print: before printing a whole sheet of sticky labels, print one page on plain paper and hold it against the sheet in front of a light.

The generator has ready-made layouts for popular sheets: 24, 21, 40 and 65 labels per A4 page. For more on printing at the exact size, read How to print a PDF at actual size.

Free, no sign-up. Your files stay on your device.

Open the barcode generator →

Example: an office asset register

A company wants to label 60 laptops, monitors and chairs. In the generator you choose Code 128 and, under sequential numbering, enter the prefix “INV-”, start at 1, 60 codes and 4 digits. You get a list from INV-0001 to INV-0060, choose the sheet of 65 labels measuring 38.1 × 21.2 mm and print it at 100%. The labels go on the equipment, and at the next stock check you simply scan them with a reader or a phone app.

Frequently asked questions

Can I make up my own EAN number?

For internal use yes, but not for selling in shops. A product EAN must come from GS1, otherwise it could clash with someone else’s product and retailers will reject it.

Can a phone read a barcode?

Yes, many scanning apps read EAN and Code 128 with the phone camera. For warehouse work a handheld scanner is more convenient.

Which file format should I use for printing?

PDF or SVG. They are vector files with dimensions in millimetres, so the bars stay sharp and have the exact width. A PNG is fine for documents and the web.