← all tools / quick utilities

Barcode Generator

Live

Type a number or some text, pick the barcode type, and download a clean PNG or SVG. One code per line makes a batch, on one printable sheet.

Any text: letters, digits and keyboard symbols. The usual choice for labels, tickets and internal IDs.

Generated in your browser. Nothing you type leaves this page.

What it does

  • Eight types: Code 128, Code 39, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14 and Codabar
  • Check digits worked out for you, and verified when you type them
  • Batches: one code per line, each downloadable alone or all on one sheet

Your files

It never leaves your device.

This one runs entirely in your browser. Nothing you type or drop here is sent to us, so there is nothing on our server to keep, and nothing to delete. It works offline once the page has loaded.

Frequently asked questions

Which barcode types can it make?

Eight one-dimensional types. Code 128 holds any text and is the usual choice for labels, tickets and internal IDs. Code 39 is older and wider, holds digits, capitals and a few symbols, and is read by every scanner ever made. EAN-13 and EAN-8 are the retail codes on products sold outside North America; UPC-A and UPC-E the ones used in the US and Canada. ITF-14 is the code on shipping cartons, and Codabar is what libraries, blood banks and some couriers use. QR codes have their own tool on this site. Two-dimensional codes such as Data Matrix and PDF417 are not here.

Do I need to work out the check digit myself?

No. The retail codes end in a check digit computed from the other digits, and the tool works it out: type 12 digits for EAN-13, 7 for EAN-8, 11 for UPC-A or 13 for ITF-14 and the last digit is added, with a note saying which digit it was. If you type the full number instead, the check digit is verified, and a wrong one is refused with the right digit named, because a barcode with a bad check digit will not scan at a till.

Can I use this for a product I sell in shops?

It makes the barcode, not the number. A retail number (a GTIN) is issued by GS1, the body that keeps them unique worldwide, and shops and marketplaces look the number up in that registry. A number you made up will encode and scan perfectly well here, but nothing will recognise it. For anything sold through a retailer, or on Amazon, get the number from GS1 first and then make the barcode here. For your own stock, assets, tickets or documents, any number you like works, and Code 128 is the type to pick.

Will the barcode actually scan?

Each type is encoded to its published standard, which is the same encoding every scanner expects, and each was decoded back by an independent barcode reader before this page went live. What breaks scanning is printing: keep the margin (the quiet zone) the tool draws around the bars, keep dark bars on a light background, and do not shrink a 1 pixel bar width into a blur. Export at 2x or more, or as SVG, for anything that goes to a printer. Then scan the printed code with a phone before you print a hundred of them.

PNG or SVG, and what size?

SVG is the bars as vector shapes, sharp at any size, and what a label designer or a print shop wants. PNG is a bitmap at the scale you pick, from 1x (the size on screen) to 8x, and the panel shows the pixel size before you download. For a web page or a document, PNG at 2x is plenty; for packaging or a large sign, SVG. Both come out of your browser; nothing is generated on our server.

How do I make a lot of barcodes at once?

Put one value per line in the content box, up to 100 lines. Each line becomes a code you can view and download on its own, named after its value, and one button downloads all of them stacked on a single sheet as PNG or SVG, ready to print and cut. A line the type cannot encode is marked in the list with what to fix, and the rest of the batch is unaffected.

More Quick utilities tools

all tools