Barcode Generator

Everyday & Other

Draw Code 128B, EAN-13, or UPC-A and download a PNG. Nothing is uploaded.

Calculated Result
Code 128B, EAN-13, or UPC-A
Formula: Code 128B + modulo-103 Β· EAN-13/UPC-A GS1 L/G/R + check digit

About this calculator

Use Code 128B for labels with letters. EAN-13 needs 12 digits (check digit is computed) or 13 with a valid check. UPC-A is 11 or 12 digits.

How It Works & Formula

FormulaCode 128B + EAN-13 / UPC-A check digits

Code 128B + modulo-103. EAN-13 / UPC-A use GS1 L/G/R patterns and the standard check digit.

Frequently Asked Questions

Can I print this on a product for retail?

The bars follow the public specs, but you still need a GS1 company prefix and a printer that holds bar width. This page is for labels and tests, not a GS1 membership.

Why did EAN-13 reject my number?

It must be 12 digits (we add the check digit) or 13 digits whose last digit matches the GS1 checksum.