Barcode Generator

Code 128, EAN-13, UPC, Code 39 and ITF barcodes. One or hundreds at once, PNG or SVG.

Runs in your browser. Your files never leave your device.

How do I generate a barcode?

To generate a barcode, open FixDoks's Barcode Generator, choose a type such as Code 128, EAN-13 or UPC-A, and type the value. The tool calculates the check digit and draws the barcode in your browser. Paste a whole column of values to make hundreds at once, then download PNG or SVG files.

Barcode Generator at a glance

TypesCode128, EAN-13, EAN-8, UPC-A, Code39, ITF-14, Codabar
BatchUp to 500 values
ProcessingIn your browser; your files are not uploaded
PriceFree, no watermark
DownloadFree Google sign-in
Works onChrome, Edge, Safari and Firefox on Windows, Mac, Android and iPhone

How to use Barcode Generator

  1. Choose the barcode type. Use Code 128 for your own labels, EAN-13 or UPC-A for retail products.
  2. Type the value. To make many barcodes at once, put one value on each line.
  3. Optionally open Size and colours to adjust bar width, height and print resolution.
  4. Click Download PNG (several barcodes download as a ZIP) or Download SVG for sharp printing.

Which barcode type should I use?

TypeWhat it holdsTypical use
Code 128Any letters, numbers and symbolsInventory, asset tags, shipping labels, internal SKUs
EAN-1313 digitsRetail products in India, Europe and most of the world
EAN-88 digitsVery small retail packs
UPC-A12 digitsRetail products in the USA and Canada
Code 39Capital letters, digits, a few symbolsID cards, older industrial and government systems
ITF-1414 digitsOuter cartons and cases of retail products
CodabarDigits and a few symbolsLibraries, blood banks, courier slips

If the barcode is only for your own shop, warehouse or office, Code 128 is almost always the best choice. It is compact, holds any text and every scanner reads it.

Retail barcodes need a registered number

This is the most important thing to know before selling a product. A shop, supermarket or marketplace such as Amazon or Flipkart expects the EAN-13 or UPC number on your pack to be registered to your company with GS1, the global barcode standards body. In India that is GS1 India, and Indian numbers begin with 890. The generator draws a correct barcode for any number you enter, but it cannot give you a registered number. If you make up a number, it may clash with another company's product. Register with GS1, get your number range, then use this tool to create the barcode images.

Check digits are added for you

EAN-13, EAN-8, UPC-A and ITF-14 end with a check digit calculated from the other digits. Scanners use it to catch misreads. You can type the number without it (12 digits for EAN-13, 11 for UPC-A, 7 for EAN-8, 13 for ITF-14) and FixDoks calculates it. If you type the full number, the tool checks that the last digit is correct and tells you if it is not, which catches typing mistakes before you print a thousand labels.

Making many barcodes at once

Paste a column from Excel or Google Sheets into the value box, one code per line, and download them all as a ZIP of PNG or SVG files. Each file is named after its value, which makes it easy to use them in label software, Word mail merge or a spreadsheet. Up to 500 values are handled in one go.

Printing tips

  • Use SVG or the 4x PNG for printing. A low resolution image makes fuzzy bars that scanners reject.
  • Do not stretch the barcode unevenly in Word or Canva. Resize it with the corner handle so the proportions stay the same.
  • Keep the white margins. The blank space on each side, called the quiet zone, is part of the barcode.
  • Black on white is safest. Dark blue or dark green on white also works. Red bars do not scan with red laser scanners.
  • Test before a big print run. Scan a printed sample with a handheld scanner or with the barcode scanner on this site.

Frequently asked questions

Is this barcode generator free for commercial use?
Yes. The barcode images you create are yours to use on products, labels and documents, with no watermark.
Can I sell products on Amazon with barcodes from this tool?
The tool draws the barcode, but marketplaces and retailers require a number registered to you by GS1. Get your number from GS1 (GS1 India for Indian brands), then create the barcode image here.
What is the difference between EAN-13 and UPC-A?
Both are retail barcodes. UPC-A has 12 digits and is used mainly in the USA and Canada. EAN-13 has 13 digits and is used almost everywhere else, including India. Modern scanners read both.
Why does it say my EAN-13 number is invalid?
Either the number has the wrong length or the last digit (the check digit) does not match. Enter only the first 12 digits and the tool will calculate the correct check digit.
Which format is best for printing labels?
SVG, because it stays perfectly sharp at any size. If your label software only accepts images, use PNG at 4x resolution.