Barcode generator

Free barcode generator: Code 128, EAN-13, UPC

Make a barcode for products, shipping labels or stock: Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14. Download it as PNG or SVG. Free, no sign-up, made in your browser.

To make a barcode: choose the type above, type your number or text, and download it as PNG or SVG. Use Code 128 for your own labels and stock, and EAN-13 or UPC-A for retail products with a registered number.

Which barcode type to use

TypeHoldsUsed for
Code 128Letters, numbers, symbolsShipping labels, warehouse stock, asset tags, tickets
EAN-1313 digitsRetail products sold in most of the world
UPC-A12 digitsRetail products in the US and Canada
EAN-88 digitsSmall packages with little room for a barcode
Code 39Capitals, digits, a few symbolsOlder industrial, military and ID-card systems
ITF-1414 digitsOuter cartons and cases of retail products

Barcodes for products you sell

A barcode is only a picture of a number. For products in shops or on marketplaces, the number itself must be registered to your company through GS1, the organisation that issues EAN and UPC numbers. Once you have your numbers, make the barcode images here. For anything internal (stock, assets, your own labels), any Code 128 value works and needs no registration.

Tips for barcodes that scan

Need a code that opens a link? Make a QR code instead: phones scan QR codes with the camera app.

We tested it

We generated three barcodes and read them back with zxing, an independent open-source decoder:

TypeWe typedDecoder read
EAN-13590123412345 (12 digits)5901234123457: check digit 7 added
UPC-A03600029145 (11 digits)036000291452: check digit 2 added
Code 128BOX-2026-0042BOX-2026-0042, letters and dashes included

Both check digits match the GS1 calculation we did by hand, so you can type the number without its last digit and trust the result. Each PNG was under 5 KB.

Frequently asked questions

How do I make a barcode?

Pick the barcode type above, type the value, and download the barcode as PNG or SVG. It updates as you type.

Which barcode type should I use?

Code 128 for anything you print yourself (shipping labels, stock, assets): it takes letters and numbers. EAN-13 or UPC-A only for retail products, using a number registered with GS1.

Can I make my own UPC or EAN number?

You can make the barcode image for any number, but shops and marketplaces only accept product numbers registered to your company through GS1. For your own stock and labels, use Code 128 instead.

Do I need to calculate the check digit?

No. For EAN-13, UPC-A, EAN-8 and ITF-14, type the number without the last digit and the check digit is added for you. If you type the full number, it's checked.

PNG or SVG?

SVG for labels and print: it stays sharp at any size. PNG for documents, spreadsheets and websites.

Is it free? Is anything uploaded?

Free, with no sign-up and no watermark. Barcodes are drawn in your browser; nothing is sent to us.

Got a file? Get a link.

Free, no sign-up, and gone in 4 hours.

Upload a file