Barcode Generator

Create EAN-13, UPC-A, Code 128, Code 39 and other barcodes as PNG or SVG.

How to use the Barcode Generator

  1. Choose the barcode format. Use EAN-13 or UPC-A for retail products and Code 128 for general data.
  2. Enter the value. For EAN/UPC you can leave off the last check digit and it will be calculated.
  3. Adjust size and colors and download as PNG or SVG.

About this tool

Barcodes let scanners read product codes, stock numbers and shipping labels instantly, and this barcode generator creates print-ready ones in all the common formats. Different industries use different symbologies: EAN-13 and UPC-A for retail products, Code 128 for logistics and general use, Code 39 for industry and ITF-14 for shipping cartons.

Choose a format, enter your data and this generator validates it – including check digits for EAN and UPC codes – and draws a crisp barcode. Adjust bar width, height, colors and whether to show the human-readable text, then download PNG for documents or SVG for print.

Frequently asked questions

Not for retail. Shops require EAN/UPC numbers registered with GS1 so that your product codes are globally unique. This tool draws the barcode; GS1 issues the number.

Code 128 is a great default: it is compact, supports letters and numbers, and is read by virtually every scanner.

Common causes are low contrast, bars printed too small, missing quiet zones (blank margins) on each side, or a wrong check digit. Keep dark bars on a white background.

It is the last digit of an EAN-13, EAN-8, UPC-A or ITF-14 code, calculated from the other digits so scanners can detect a misread. The barcode generator validates it and tells you if the one you typed is wrong, so you never print a barcode that will not scan.