Barcode generator

Create retail and industrial barcodes — EAN, UPC, Code 128, Code 39 and more. Generated in your browser, download as PNG or SVG.

Retail
Logistics / Industry
Bar width2
Height100px
local
SVG is vector — ideal for print & labels

Which barcode format for what?

EAN-13
Retail · Europe
Standard product code on European retail packaging. 13 digits with a check digit.
UPC-A
Retail · North America
The US/Canada retail equivalent of EAN. 12 digits, scanned at point of sale.
Code 128
Logistics · GS1
High-density code for shipping and logistics. Encodes any letters, digits and symbols.
Code 39
Industry · ID badges
Robust standard for inventory and ID badges. Uppercase letters and digits.

Generate barcodes in your browser

A barcode encodes a number or short text as machine-readable bars for retail, logistics and inventory. This generator supports the common 1D symbologies — EAN-13 and EAN-8 for European retail, UPC-A and UPC-E for North America, and Code 128, Code 39, ITF-14 and Codabar for shipping, industry and libraries — and renders them in your browser for download as PNG or vector SVG.

Enter your data and the tool validates it for the chosen format, calculating the EAN/UPC check digit automatically so you don’t ship an invalid code. Everything runs locally; nothing is uploaded, and you can adjust bar width, height, colour and the caption line before exporting.

Choose SVG when the barcode goes to print or onto labels — as a vector it stays razor-sharp at any size. Use PNG for on-screen use or quick sharing. For retail products you need a GS1-assigned number; this tool draws the barcode, it does not register the number for you.

Your photos never leave your device
Processing runs entirely in your browser. There is no upload, no server, and nothing stored — close the tab and it is gone.

Frequently asked questions

Which barcode format should I use?

EAN-13 for European retail, UPC-A for North America, Code 128 for logistics, and Code 39 for industrial or asset labels.

Does it calculate the check digit?

Yes — for EAN and UPC the check digit is validated and computed automatically, and the tool warns you if the data is the wrong length.

PNG or SVG?

Use SVG for print and labels (vector, infinitely sharp); PNG for screens and quick sharing.

Is this a barcode scanner too?

No — it generates barcodes. Scanning would need a camera and is a separate kind of tool.

Advertisement In-content · 336 × 280