Skip to content
toolsdocks

EAN-13 Barcode Generator

Type the 12 digits of your product number and get an EAN-13 barcode with the check digit worked out for you. This page opens the barcode generator with EAN-13 chosen as the type; the barcode is drawn in your browser.

Runs on your device

More options in the full Barcode generator.

Loading tool…

How to use it

  1. Keep EAN-13 as the Type (preselected here).
  2. Enter 12 digits to have the check digit added, or all 13 to have it verified.
  3. Set the Module width and Bar height, and choose whether to show the human-readable text.
  4. Download the SVG for print or the PNG, and test-scan a printed sample at the final size.

Worked example

590123412345 weighted 3 and 1 from the right adds up to 83, so the check digit is 7 and the barcode encodes 5901234123457. Typing 5901234123458 instead shows that the check digit should be 7.

Formats and limits

Input12 or 13 digits
OutputSVG, PNG
Enginebwip-js (BWIPP port) with check-digit validation

Limitations

  • Digits only: 12 digits, or 13 including the check digit.
  • The tool does not assign or register numbers; retail EAN numbers come from GS1.
  • The 2-digit and 5-digit add-on codes used on some books and magazines are not offered.

Questions

How is the EAN-13 check digit calculated?

From the right of the 12 digits, multiply them by 3 and 1 in turn and add the results. The check digit is what brings the total up to the next multiple of 10. For 590123412345 the total is 83, so the check digit is 7.

What if I type all 13 digits?

The last digit is checked. If it is wrong, the tool shows the digit it should be instead of drawing a barcode.

Does this give me a product number?

No. It only draws the barcode for the number you enter. Barcodes for products sold in shops must use a number assigned to your company by GS1.

Is anything uploaded?

No. The barcode is drawn in your browser and nothing is uploaded.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the Barcode generator ready for this task. See the privacy policy for how toolsdocks handles data.