Skip to content
/ Barcodes

Barcode generator

Pick the type, type the number: the check digit is computed, the code shows at its true size and exports as PNG (modules aligned to pixels), SVG or vector PDF for your printer. A label sheet lays out a whole list on A4 or Letter.

Which barcode should I use?

EAN-13 for a product sold in shops, UPC-A for North America, ITF-14 for a carton, GS1-128 for logistics (batch, expiry date), Code 128 or Code 39 for internal use (stock, inventory, serial numbers).

Where do I get a real EAN or UPC number?

From your national GS1 organisation, on subscription: retailers reject made-up numbers. Codes starting with 2 are reserved for internal use (store, scales).

Are my codes sent anywhere?

No: everything is calculated in your browser. Only your settings are kept on your device.

How to use it

  1. Choose the barcode type: EAN-13, EAN-8, UPC-A, ITF-14, Code 128, GS1-128 or Code 39.
  2. Type the number: for an EAN, 12 digits are enough and the check digit is added; with 13 digits it is verified and the right check digit is suggested if it is wrong.
  3. Set the size: module width (the thinnest bar) and bar height in millimetres. For EAN and UPC, the magnification buttons follow the standard (80 to 200%).
  4. Export as PNG for a document or label, as SVG or vector PDF for a printer or layout software.
  5. For several codes, open “Label sheet”: paste a list (with a caption after a semicolon) or make a number sequence, choose columns and rows, download the PDF.

Sizes to respect

Good to know

Guide written and checked by the Otoolia team · updated 27 November 2026.