Barcode Generator

Type a product number or SKU and get a barcode you can download as SVG or PNG, with the GS1 check digit handled for you.

How to use

What it checks and how it works

The bars are drawn in your browser by the JsBarcode library. For EAN-13, UPC-A, EAN-8 and ITF-14 the tool works out the GS1 check digit (weights 3 and 1 from the right of the number, summed, then rounded up to the next ten) and adds it, or verifies the one you typed. Code 128 takes any ASCII text and Code 39 takes capital letters, digits and a few symbols. A barcode only carries a number. For goods sold through retail channels the number has to be one your company is licensed to use, issued through a GS1 member organisation, so a correct check digit does not make a number yours. The image is always black bars on a white background, whatever the page theme, because scanners need the contrast.

Can I use any number for a product I sell in shops?

Not safely. Retail numbers are issued under licence by GS1 member organisations so that no two products share one. A generated barcode with a made-up number can clash with someone else's product.

Which format should I choose?

Use EAN-13 for most products sold outside North America and UPC-A for North America. Use Code 128 for your own SKUs and internal labels, and ITF-14 for outer cartons.

Should I download SVG or PNG?

SVG stays sharp at any size and is the better file for print. PNG is a fixed-size picture, useful for a preview or a document.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.