Advertisement
EAN-13

EAN-13 Barcode Generator

Generate EAN-13 barcodes for retail products, books, and consumer goods. Enter 12 digits and the check digit is auto-calculated. Download as SVG or PNG — all client-side, no data leaves your browser.

Advertisement

Barcode Format

Barcode Data

12 or 13 digits — check digit auto-calculated

Appearance

2
100
#000000
#FFFFFF
14
10

Enter a value to generate your barcode

Understanding the EAN-13 check digit

The last digit of every EAN-13 barcode is a check digit computed using the Modulo 10 algorithm:

  1. Starting from the left, multiply odd-position digits by 1 and even-position digits by 3.
  2. Sum all the products.
  3. The check digit is (10 - (sum mod 10)) mod 10.

BarcodeGen handles this automatically — just enter 12 digits and the correct check digit is appended before rendering.

Frequently asked questions

What is EAN-13?

EAN-13 (European Article Number) is a 13-digit barcode standard used worldwide for retail product identification. It encodes a country prefix, manufacturer code, product code, and a check digit.

How is the check digit calculated?

The 13th digit is a Modulo 10 check digit computed from the first 12 digits. Enter just 12 digits and BarcodeGen will auto-calculate and append the correct check digit.

What input does EAN-13 accept?

EAN-13 accepts 12 digits (check digit is auto-added) or 13 digits (check digit is validated). Only numeric characters 0–9 are allowed.

Can I download the EAN-13 barcode?

Yes — download as SVG (vector, scales perfectly) or PNG at 1×, 2×, or 3× resolution. You can also copy it directly to your clipboard.

Advertisement