Barcode Generator

Code 128, EAN-13, UPC and Code 39 barcodes as crisp PNGs.

Loading the interactive tool… It runs in your browser — if it doesn't appear, enable JavaScript.

Generate scannable barcodes for labels, inventory, assets and retail: Code 128 for arbitrary text (the logistics workhorse), EAN-13 and UPC-A for retail products, Code 39 for legacy systems. Check digits are computed automatically, invalid input is flagged before you print a sheet of duds, and the PNG downloads at print-friendly resolution.

Frequently asked questions

Which barcode type should I use?

Code 128 unless something forces otherwise — it encodes any text compactly and every scanner reads it. EAN-13/UPC-A only matter for retail checkout, and those numbers must be assigned by GS1, not invented.

Why does my 13th EAN digit differ from what I typed?

The last digit is a check digit computed from the first twelve — the generator calculates the correct one automatically. If you typed a full 13 and the last digit changed, your original check digit was wrong.

Can I just make up a barcode for my products?

For internal use (your own inventory, assets, shelf labels) — absolutely, use Code 128 with any scheme you like. For products sold through retailers, numbers must be licensed from GS1 so they're globally unique at checkout.