Account

What new tool do you want?

Generators

Barcode Generator (EAN, UPC, Code 128)

Generate barcodes — Code 128, EAN-13, UPC-A, EAN-8, Code 39, ITF-14 and more — with check digits validated, and download as PNG or SVG.

How to use

  1. 1Choose the barcode type and enter the value.
  2. 2Adjust size and text, then download PNG or SVG.

Frequently asked questions

Can I make my own UPC for retail?

You can draw any UPC, but to sell in stores you need official numbers from GS1 for your company.

Which barcode should I use for inventory?

Code 128 — it's compact and supports letters and numbers.

What's a check digit?

The last digit of EAN/UPC codes, calculated from the others so scanners can detect misreads. Enter 12 digits for EAN-13 and it's added automatically.

Picking the right symbology for the job

The eight supported formats aren't interchangeable — each exists for a specific use case. EAN-13 and UPC-A are the formats on retail packaging worldwide (EAN-13 internationally, UPC-A mainly in the US and Canada); EAN-8 exists for packaging too small to fit a full EAN-13, like a pack of gum. Code 128 is the opposite of a retail code — it's dense, supports full alphanumeric text, and is the default choice for shipping labels and inventory systems that need to encode more than just digits. ITF-14 is built specifically for printing directly onto corrugated cardboard shipping cartons, where fine detail doesn't reproduce well, and Codabar and MSI serve narrower niches (library/blood-bank systems and shelf labels, respectively).

Check digits are calculated, not guessed

EAN-13, UPC-A, EAN-8 and ITF-14 all use the same GS1 mod-10 check-digit algorithm: each digit is weighted 3 or 1 alternately from the right, summed, and the check digit is whatever brings that sum to the next multiple of 10. The tool runs this automatically — type the 12 digits of an EAN-13 (or 11 for UPC-A, 7 for EAN-8, 13 for ITF-14) and it appends the correct 13th/12th/8th/14th digit itself, so you never have to compute it by hand or risk a transposition error that would make a scanner reject the code at checkout.

A real UPC doesn't make you a legitimate seller

This tool can draw a perfectly valid, scannable UPC-A for any 11 digits you type — but validity isn't the same as authorization. To actually sell a product in retail stores under a UPC, the number has to come from GS1, which licenses manufacturer prefixes so that no two companies' products collide in a retailer's database. A self-assigned 'valid' UPC will scan fine on your own warehouse scanner but will be rejected or flagged by any retailer who checks GS1 registration.

Example: labeling a small-batch product line

A small food brand shipping to grocery stores would use EAN-13 or UPC-A (from an actual GS1-issued number) on the retail packaging itself, but Code 128 on the outer shipping case — encoding something like `LOT-20261003-B` that a warehouse scanner reads for inventory tracking, which EAN-13 can't do since it only accepts digits. Generating both from this tool: pick EAN-13, enter the 12-digit GS1 number to get the retail barcode with its check digit added automatically, then switch to Code 128 and type the lot code directly for the case label — no check digit needed there, since Code 128 isn't a GS1 format.

Related tools

More: Generators