QRFoundry
● Local processing only
PRIVATE BARCODE TOOLBOX

EAN-13 Generator & Validator

Generate and validate retail EAN-13 codes.

Barcode formats have different character, capacity, and check-digit rules. Generate, scan, and validate formats; conversion is not always lossless.

Private by designAll content is processed locally in your browser. Nothing is uploaded, saved, or shared. No sign-up and no watermark.
13

EAN-13

Generate and validate retail EAN-13 codes.

Enable JavaScript to use this interactive local tool. The guide below remains available without JavaScript.

Customize

QUICK GUIDE

How to generate and validate EAN-13

EAN-13 is a fixed 13-digit retail barcode. Enter the first 12 digits to calculate the final check digit, or enter all 13 digits to validate an existing number. A valid check digit only confirms the number structure; it does not assign a product identity or replace registration with the appropriate standards organization.

Local processing
Nothing you enter or upload is sent to a server, saved, or shared.

Use it in three steps

  1. Enter 12 digits for automatic completion or 13 digits for validation.
  2. Confirm the green validation message and completed number.
  3. Download PNG, SVG, or PDF and test it at the intended print size.

Practical example

Example400638133393 → completed as 4006381333931
Format limitsDigits only. The tool validates arithmetic, not ownership, company prefix allocation, or product registration.
Common errorsA red message identifies the expected check digit. Correct the source number rather than editing only the last digit without verification.

Frequently asked questions

How is the check digit calculated?

Alternating digits are weighted by 1 and 3; the final digit makes the sum a multiple of ten.

Can I invent an EAN?

A mathematically valid number may still be unregistered or belong to someone else.

Why are there 13 digits?

Twelve carry the item number and the last digit detects common entry errors.