Generate a barcode

Pick a format, type the data, download SVG or PNG. The preview updates as you type.

What to type for EAN-13

The 13 digits under the barcode. Type 12 and the check digit is added for you.

Format12 or 13 digits

Examples (tap to use)

About EAN-13 →

4006381333931

Anatomy

Start guardDigit 0 · L (odd parity) set · parity pattern LGLLGG encodes the leading 40Digit 0 · G (even parity) set · parity pattern LGLLGG encodes the leading 40Digit 6 · L (odd parity) set · parity pattern LGLLGG encodes the leading 46Digit 3 · L (odd parity) set · parity pattern LGLLGG encodes the leading 43Digit 8 · G (even parity) set · parity pattern LGLLGG encodes the leading 48Digit 1 · G (even parity) set · parity pattern LGLLGG encodes the leading 41Centre guardDigit 3 · R set3Digit 3 · R set3Digit 3 · R set3Digit 9 · R set9Digit 3 · R set3Digit 1 · R set · check digit1End guard4

Hover or tap a digit.