Skip to content
Utilerio

Barcode Generator

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

2
80
10
18

Barcode preview

Was this tool useful?

About this tool

A barcode is a way of writing a number or a short string so a scanner can read it reliably. Which symbology you pick is not a style choice: retail products need EAN-13 or UPC-A, internal logistics usually uses Code 128, and older systems often expect Code 39 or ITF.

This generator validates the value against the rules of the symbology you chose before drawing anything. If EAN-13 needs thirteen digits and a valid check digit, it says so — and offers to calculate the check digit for you rather than producing a barcode that scans to the wrong number.

How to use it

  1. Choose the symbology your system expects.
  2. Type or paste the value. Validation runs as you type and explains anything that is wrong.
  3. Adjust bar width, height and quiet zone if you have a size to hit. The quiet zone is the blank margin scanners need to find the symbol.
  4. Turn the caption on or off — some labels need the human-readable value, some do not have room for it.
  5. Download PNG for documents, or SVG when the barcode has to stay sharp at any size.

Examples

EAN-13 with an automatic check digit

Enter the first 12 digits and the 13th is calculated for you using the GS1 modulo-10 formula.

869123456789
8691234567897

Code 128 for an internal reference

Code 128 accepts letters, digits and punctuation, which makes it the usual choice for warehouse and order references.

ORD-2026-1001

Common problems

The scanner reads nothing.
Nine times out of ten the quiet zone is too small or the bars are too thin for the print resolution. Increase the bar width to at least 2 and keep a blank margin of ten times the bar width on both sides.
EAN-13 is rejected even though the number has 13 digits.
The last digit is a check digit derived from the first twelve. If it does not match, the barcode would scan to a number that is not yours. The tool tells you which digit it should be.
Code 39 will not accept my value.
Code 39 has a small character set: A–Z uppercase, digits, space and a handful of symbols. Lowercase letters are converted automatically; anything else needs Code 128.

Frequently asked questions