Skip to content
ImageDoctor

Barcode Generator

Generate EAN-13, UPC-A, Code 128, Code 39, ITF-14 and more with check-digit validation and product labels.

Your QR codes, barcodes, and uploaded data are processed locally in your browser.

1. Value

What the barcode encodes.

Valid EAN-135901234123457

Check digit 7 was added.

12 digits (check digit added) or 13 digits with a correct check digit.

Retail products worldwide (GTIN-13).

5 formats are hidden because the value doesn't fit them.

2. Style

px
px

Bar width is the narrowest bar at 1×. Export resolution scales everything together.

Print the human-readable value with the bars.

px
px

Retail groups the digits between the guard bars, as printed on packaging.

Replaces the printed value (the bars still encode the real value).

10 mod

Blank space left and right, in bar widths. The format's minimum is always kept.

12px

Need many barcodes?

Generate a whole product list from a spreadsheet, or design a label and print it on label sheets.

41%
Updating

Export

Everything is generated in this browser.

px
Nothing to export yet

Choosing a barcode format

Retail products use GTIN barcodes: EAN-13 worldwide, UPC-A in North America, and EAN-8 or UPC-E on small packs. Their last digit is a check digit. Enter the digits without it and it is calculated for you; enter all of them and the tool confirms it, or tells you what it should be.

Code 128 encodes letters, digits and symbols compactly and is the usual choice for shipping labels, SKUs and asset tags. Code 39 is older and only takes uppercase letters, digits and a few symbols. ITF-14 marks outer cartons, and MSI and Pharmacode serve shelf labelling and pharmaceutical packaging.

Barcodes need a clear margin on each side — the quiet zone — and enough contrast between bars and background. The tool never lets the quiet zone drop below what the format requires, and keeps bar widths to whole pixels in raster downloads so edges stay crisp.

Common questions

You can generate the barcode image for any number, but retail GTINs must be licensed from GS1 (or your retailer) so the number is unique to your product.

Either it doesn’t have 12 or 13 digits, or the 13th digit doesn’t match the check digit calculated from the first twelve. The message shows the correct digit.

SVG or PDF. Both are vector, so bars stay exactly the right width at any print size.

We use Microsoft Clarity analytics cookies to see how the site is used and fix what's broken. Your images are never uploaded. Privacy Policy