Generate a barcode

Barcode Generator creates scannable barcodes for products, inventory, shipping and documents: EAN-13, EAN-8, UPC-A, Code 128, Code 39, ITF, Codabar, Data Matrix, PDF417 and Aztec. Check digits are calculated for you and the live preview shows exactly what you will print.

  • Free
  • No sign-up
  • No upload
  • No watermark
EAN-13: 12 digits (check digit added). UPC-A: 11 digits.

Nothing you enter is stored or logged.

How to use Barcode Generator

Three steps, about a minute.

  1. 1

    Pick a type

    EAN-13/UPC-A for retail, Code 128 for most other uses.

  2. 2

    Enter the data

    The preview updates as you type and validates the input.

  3. 3

    Download

    Save the PNG and test-scan it before printing.

Barcode Generator questions

Which barcode type do I need?

EAN-13 (or UPC-A in North America) for products sold in shops — you need a GS1 company prefix for those. Code 128 for internal labels, shipping and inventory.

Do I need to calculate the check digit?

No. Enter 12 digits for EAN-13 or 11 for UPC-A and the check digit is added. If you enter all digits, the check digit is verified.

How big should I print a barcode?

Keep a clear margin around it and don't shrink retail EAN-13 codes much below about 30 mm wide. Increase the bar width for low-resolution printers.

Other tools