PXLTools

Barcode Generator

EAN-13, UPC, Code128 and more

Any ASCII text, variable length.

Generating...

How to use Barcode Generator

  1. Pick a barcode format based on your use case.
  2. Enter the value to encode. The hint tells you what's valid for each format.
  3. Adjust bar width, height, and colors if needed.
  4. Download as PNG for general use or SVG for scalable printing.

Which barcode format should I use?

EAN-13 is the global standard for retail products — the 13-digit barcode you see on nearly every item in a supermarket. UPC-A is its 12-digit North American equivalent; the two formats are closely related and many scanners handle both.

Code 128 is the most flexible format, accepting any ASCII text and producing compact barcodes. It's the go-to choice for internal inventory, shipping labels, and tracking systems where you control both the encoding and the scanning.

Code 39 is an older industrial format limited to uppercase letters, digits, and a few symbols. ITF-14 is used for shipping containers and pallets. Codabar and MSI are less common today but still used in legacy systems like libraries and photo processing.

Frequently Asked Questions

Which barcode formats are supported?
EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF-14, Codabar, and MSI. Each format has different content rules — the validation field tells you what works.
Which format should I choose?
EAN-13 for retail products worldwide. UPC-A for North American retail. Code 128 for internal tracking (accepts any characters). Code 39 for older industrial systems. ITF-14 for shipping containers.
Why won't my value generate?
Each format has specific rules. EAN-13 needs exactly 12 or 13 digits (with or without check digit). UPC-A needs 11-12 digits. Code 39 only allows A-Z, 0-9, and some symbols. See the hint below each format.
Is this data uploaded anywhere?
No. Barcode generation happens entirely in your browser.