Skip to content

Barcode Generator

Type numbers or text and get a barcode (EAN, Code 128, Data Matrix and more) as an image

Loading the tool…

Type numbers or text to create a barcode such as EAN-13, Code 128 or Data Matrix, and save it as PNG or SVG. Use it for stock labels, asset tags in a company or shipping carton marks.

How to use

  1. Under "Barcode type", choose from Retail (GTIN), General and in-house, Logistics or 2D codes.
  2. Enter the "Value". The allowed length and characters for the type are shown below the field, and an error explains what is wrong.
  3. Adjust "Bar height", "Scale", "Quiet zone" and the colors, then press "Save PNG" or "Save SVG".
  4. For many labels, set "How many" to "Many", put one value per line in "List of values", adjust the "Label sheet settings", and print or press "Save all PNGs as ZIP".

How it works

Questions and answers

Can I put this barcode on products I sell?
EAN and UPC numbers for retail products must be licensed from GS1 through your country's member organization. A number you make up may clash with another company's product.
How is the EAN-13 check digit calculated?
Multiply the first 12 digits by 3 and 1 in turn, starting from the right, and add them. For 400638133393 the sum is 89, so the check digit is 1 and the full code is 4006381333931.
Why will my barcode not scan?
Check that the "Quiet zone" is wide enough and that the bars and background have strong contrast. 1D barcodes need blank space on both sides.
Can it make QR codes?
No. The page links to a separate QR code tool.