Restock Lanka
10 free business tools — no sign-up required. Our supply service is not yet available.
Free tools / EAN-13 barcode generator
Product identification & labels

EAN-13 Barcode Generator

Generate and validate a 12- or 13-digit GTIN as a genuine EAN-13 barcode, with check-digit verification, SVG export and printing.

GTIN-13 · SVG EXPORTLive estimates · Edit the sample values · No sign-up

Enter your GTIN

Enter the first 12 digits to generate a check digit, or all 13 digits for validation.

Illustrative number — not a licensed retail identifier
No external barcode APIs · Browser-only

Generated barcode

Checking...

How EAN-13 barcodes work

The EAN-13 barcode format represents a 13-digit Global Trade Item Number (GTIN) using 95 encoded modules. The last number is a mathematical check digit. This tool uses official EAN-13 parity, digit patterns and guard bars, and rejects incorrect check digits.

Enter a GS1-assigned GTIN that you are permitted to use. This calculator does not issue or register new product identifiers. The generated vector SVG can be resized without blurry bars, but you must preserve whitespace around the bars and verify the physical printed result.

Retail compliance: A syntactically valid barcode is not proof that a number is registered to your brand. Example digits are for testing only. Get the correct number allocation and verify print size, quiet zones and scanning before distributing retail products.

Frequently asked questions

Does a generated EAN-13 mean a registered barcode?

No. You need an authorised product number. Read the GS1 barcode standard for proper use.

Can I use a 12-digit number?

Yes. If you already have the first 12 digits of your assigned GTIN, the tool computes the 13th check digit.

Will the SVG scan on every printer?

Not necessarily. Print sharp black bars on white, retain quiet zones and scan-test the actual label at its final size.

Related: Labels per Roll Calculator and Stickers per Sheet.

← All business tools