Skip to content
All tools

Barcode Generator

Planning & Utilities

Barcode Generator — a fast, free creator utility that runs in your browser. No signup, no install, and nothing you enter is stored.

Updated Jun 15, 2026 Maintained by BoldlyType editors

Barcode Generator

CODE128, EAN, UPC and more. Downloadable SVG.

How barcodes actually encode data

A barcode is just a visual stand-in for a string of characters, and the symbology you pick decides what that string can contain. Code 128 handles full ASCII and packs the most data into the least width; UPC-A and EAN-13 are fixed-length retail codes that require a real product number plus a calculated check digit. The detail most people miss is the quiet zone: barcodes need blank margin on both sides, or scanners read a partial code or nothing at all. Get the symbology and the data length right first, and scannability follows.

Barcode generator tips

  • Use Code 128 for general text and SKUs; reserve UPC-A and EAN-13 for genuine retail product numbers.
  • Leave the quiet zone intact on both sides, scanners need that blank margin or they misread the code entirely.
  • Keep solid black bars on a white background, low contrast and colored bars wreck scan reliability fast.
  • UPC and EAN add a check digit automatically, so feed them only the real digits, not your own checksum.

Barcode Generator — common questions

Latest questions readers ask us about this topic.

Which barcode type should I use?

Code 128 suits most needs, it encodes letters, numbers and symbols in a compact width. Choose UPC-A or EAN-13 only for retail products sold in stores, since those formats require valid, registered product numbers with a fixed digit count.

How many digits does a UPC or EAN barcode need?

UPC-A uses 12 digits and EAN-13 uses 13, including a final check digit the generator calculates for you. Enter only the actual product number; if your count is off, the barcode will be invalid or refuse to render.

Why won't my barcode scan?

Usually it is missing quiet zones, poor contrast, or the printed size being too small. Keep blank margins on both sides, use black bars on white, and print large enough that thin bars stay crisp and distinct.

The sub-questions readers ask next — answered, with where to go.

Explore the topic cluster

A wider set of tools and guides on this topic.