Skip to content
Image tools
PDF and scan tools
Video and audio tools
Text and everyday tools
Bangladesh tools
How-to guides
Image tools
PDF and scan tools
Video and audio tools
Text and everyday tools
Bangladesh tools

Barcode generator

ProPro
Loading the tool…

Make barcodes in Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14 and Codabar. Check digits are added for you. Download PNG or SVG.

What this barcode generator does

This free barcode generator draws standard 1D barcodes from a number or text: Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14 and Codabar. It checks the value as you type, adds missing check digits, and lets you download the barcode as a PNG or an SVG.

How to make a barcode

  1. Choose the Barcode type. The hint below it says what the type holds and where it’s used.
  2. Type the Value. For EAN, UPC and ITF-14 you can leave out the check digit.
  3. Optional: change Bar width, Height, Bar colour and Background, or hide the text under the bars.
  4. Click Download PNG or Download SVG.
  5. Test the printed barcode with a scanner or a phone app before printing many copies.

The barcode types

  • Code 128: letters, digits and symbols, compact. The safe default for shipping, inventory and internal use.
  • EAN-13: 13 digits. The retail product code used outside North America (also used for books, as ISBN).
  • EAN-8: 8 digits, for small packages.
  • UPC-A: 12 digits. The retail product code in the US and Canada.
  • Code 39: A–Z, 0–9, space and - . $ / + %. Older industrial and ID-badge systems.
  • ITF-14: 14 digits, for cartons and cases holding several products.
  • Codabar: digits and a few symbols, usually between start and stop letters A–D. Libraries and blood banks.

Problems and fixes

  • “The last digit is the check digit and should be …” Either the code has a typo or the last digit is wrong. Check the code against its source, or type it without the last digit.
  • “This format takes digits only.” EAN, UPC and ITF-14 hold numbers only. Use Code 128 for letters.
  • The barcode is too wide for my label. Lower the Bar width, then scale the SVG in your label software rather than squashing a PNG.

Privacy

Barcodes are drawn in your browser. Nothing you type is sent anywhere.

When Pro helps

Pro doesn’t add anything to this tool beyond removing ads.

Frequently asked questions

Can I make a barcode to sell my product in shops?

You can draw the barcode here, but the number must come from GS1, the organisation that issues product codes (GTINs). Shops and marketplaces check that the number is registered to your company, so a made-up EAN or UPC will be refused.

Which barcode type should I use?

EAN-13 for retail products in most of the world, UPC-A in the US and Canada, ITF-14 for outer cartons, and Code 128 for everything else: shipping labels, stock, asset tags and internal codes. Code 39 is for older systems that ask for it.

What is a check digit?

The last digit of EAN, UPC and ITF-14 codes is worked out from the others, so a scanner can tell when it misread a bar. Type the code without it and the tool adds it. Type the full code and the tool checks it, telling you the correct digit if it is wrong.

PNG or SVG?

SVG for print and packaging: it stays sharp at any size and every design tool opens it. PNG for documents, labels and web pages; it is drawn at 4 times screen size so it prints cleanly.

Why won't my barcode scan?

The usual causes are low contrast (keep dark bars on a light background), printing too small, or cutting off the blank margins on each side. Scanners need that quiet space to find where the code starts.