Barcode Generator

Choose a format, enter a value and get a 1D barcode you can download as PNG or SVG.

Pick one of 16 formats, including CODE128, CODE39, EAN-13, UPC-A and ITF-14, enter a value and the barcode is drawn. Only the JsBarcode 3.11.6 library file is fetched from jsDelivr. The value you enter is handled in this page.

How the EAN-13 last digit is calculated

EAN-13, EAN-8, UPC-A and ITF-14 end in a check digit. Enter the leading digits and it is added for you, or enter the full number and it is verified. For 880123456789:

StepValue
Multiply left to right by 1, 3, 1, 3 and so on8 24 0 3 2 9 4 15 6 21 8 27
Add them up127
Distance to the next multiple of 10 (130)3
Full number8801234567893

A wrong last digit triggers an invalid data message. This number is only a worked example. Numbers for products sold in stores must come from an issuer such as GS1.

Printing and scanning

PNG is a pixel image at screen size, so enlarging it blurs the bar edges. For label software or design tools, download the SVG. Defaults are width Normal (2), height 100px and Show text on. If a scanner cannot read it, switch to Thick (3) and keep the blank margins on both sides.

None of the 16 formats can hold Korean text. For Korean text or long links, use the QR Code Generator.