Free · No sign-up · Runs in your browser

EAN-13 Barcode Generator

Generate an EAN-13 retail barcode as SVG from a 12- or 13-digit number and verify its check digit.

STEP 1

Start with your input

Edit the example or replace it with your own text.

How to use EAN-13 Barcode Generator

  1. Choose or enter the input shown above.
  2. Check the format, units and important limitations.
  3. Select “Generate EAN-13 barcode” and review the result.

How ean-13 barcode generator works

The generator calculates the weighted EAN-13 check digit, encodes digits with the standard left/right parity patterns and outputs an SVG barcode. The SVG includes the check digit and guard bars. Verify printed size and scan quality before production.

Important limitations

EAN-13 numbers are for retail identification and do not establish that a product has been assigned a valid GS1 number. Use an authorized number for products.

Check the result before using it

Try the output in the app, device or workflow that requested it. Review the visible content and format before replacing an original file or sharing a generated link. Browsers and other services can handle edge cases differently, so keep a source copy when the input matters. This tool does not guarantee that a receiving service will accept every result.

Example input

590123412345

Can I invent an EAN-13 number for a product?

A valid check digit only confirms the number’s structure. Retail product identifiers should be assigned through the relevant GS1 organization.

Is input uploaded?

Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.

Related tools and guides

Browse all developer tools