blackdroid.dev

Barcode Generator (EAN, UPC, Code 128)

Generate barcodes online for free — Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14 and more. Download as PNG or SVG, runs in your browser.

letters, digits, symbols
Bar width
2
Height
100px

About Barcode Generator (EAN, UPC, Code 128)

Create scannable barcodes in eight symbologies — Code 128 for any text, EAN-13/UPC-A for retail products, Code 39 for industrial labels — with adjustable bar width and height.

Preview updates as you type and downloads come out as crisp PNG (2×) or scalable SVG. Everything is generated locally in your browser.

Barcode formats are not interchangeable — each exists because an industry standardized on it: EAN-13 on retail products globally, UPC-A in North American retail, Code 128 in logistics and shipping (compact, alphanumeric), Code 39 in older industrial systems, ITF for cartons. Choosing the right symbology is the actual decision; generating the image is trivial afterward.

The scanning constraints that matter in print: bars need quiet zones (empty margins) like QR codes do, minimum bar width depends on print resolution, and contrast must be dark-on-light — inverted or low-contrast barcodes scan unreliably. EAN/UPC also encode check digits mathematically, so the number is validated, not arbitrary.

How to use Barcode Generator (EAN, UPC, Code 128)

  1. Pick a symbology — Code 128 for general text, EAN-13 for products.
  2. Enter the value (digit counts are checked per format) and tune width/height.
  3. Download the barcode as PNG or SVG.

Frequently asked questions

Which barcode format should I use?

Code 128 for general text and IDs (most compact for mixed content), EAN-13/UPC-A for retail products, Code 39 for industrial/asset labels, ITF-14 for cartons.

Why does my EAN-13 only accept 12 digits?

The 13th digit is a checksum computed automatically — enter 12 and the generator adds it.

Are the barcodes really scannable?

Yes — they're drawn with JsBarcode, the same encoder used in production label apps; print at 300dpi or higher for reliable scanning.

Which barcode format do I need?

Retail products: EAN-13 or UPC-A (requires registered numbers to be meaningful). Internal logistics/asset tags: Code 128 — compact and alphanumeric. Legacy industrial compatibility: Code 39. The use case chooses; the format is not a style preference.

Can I invent my own EAN product number?

Technically yes, uselessly — EAN/UPC numbers are issued by GS1 and retailer systems validate against the registry. Self-invented numbers work for internal scanning only, not retail distribution.