Free Barcode Generator
This free barcode generator creates a barcode in seconds — type your text or product number, pick a format, and download a print-ready PNG. No sign-up, and everything runs in your browser, so your data never leaves your device.

What you can type depends on the format below — the tool checks it as you type.
Your barcode appears here as you type.
The PNG downloads at print quality with a white background, ready for labels, packaging or documents.
How to use the barcode generator
- Type your code. Enter a product number, SKU, or any text you want encoded.
- Pick a format. Use Code 128 for general labels, EAN-13 for retail products sold worldwide, UPC-A for products sold in the US, and Code 39 for simple warehouse or inventory labels.
- Download the PNG. Adjust the bar width and height if you need a specific label size, then save the image and print it or paste it into your packaging design.
What is a barcode generator?
A barcode is a machine-readable pattern of black bars and white spaces that stores a short piece of information — usually a product number. Then a scanner reads the pattern and looks the number up in a database, which is how shops check prices, warehouses track stock, and couriers track parcels. Different formats exist because different industries settled on different standards. For example, retail uses EAN-13 almost everywhere outside North America and UPC-A inside it. Logistics and labelling often use Code 128, because it can encode letters as well as numbers.
Which barcode format should I choose?
If you are labelling products for a shop, use EAN-13 — or UPC-A for the US market. Those are the formats checkout scanners expect, and they only accept numbers of a fixed length. If you are labelling stock, files, assets or anything internal, Code 128 is the best default: it accepts letters, numbers and symbols, and it packs data tightly, so the barcode stays short. Code 39 is an older format that still appears on warehouse labels; it only supports capital letters, digits and a handful of symbols, so pick it only if the system you are printing for specifically asks for it.
Who is this tool for?
Small shop owners printing price labels, sellers listing products on a marketplace, warehouse staff labelling shelves and bins, and anyone who needs a one-off barcode for a document or a parcel. Also, because the tool runs entirely in your browser, product numbers and SKUs are never uploaded anywhere — useful when the codes belong to a business. If you are setting up the rest of a small business online, our guide to the best AI tools for business covers the software side, from invoicing to customer support.
Barcode generator tips: print barcodes that scan first time
Print barcodes at least 3 cm wide so ordinary scanners can read them reliably, keep a quiet white margin around the code, and never stretch a barcode image sideways — that changes the bar widths and makes it unreadable. First, test-scan your first print with a phone camera before printing a whole batch. Dark bars on a white background scan best; avoid printing barcodes on glossy or coloured surfaces when you can.
Frequently asked questions
Is this barcode generator really free?
Yes. There is no sign-up, no watermark, no download limit and no account. You can generate as many barcodes as you like.
Are my barcode numbers stored or uploaded anywhere?
No. The barcode is generated in your browser with JavaScript. Nothing you type is sent to a server, so your product numbers stay private.
What is the difference between EAN-13 and UPC-A?
Both are retail product codes. EAN-13 uses 13 digits and is the standard in Europe, Asia and most of the world. UPC-A uses 12 digits and is the standard in the United States and Canada. Many scanners read both.
Why does my EAN-13 code show an error?
EAN-13 only accepts digits, and exactly 12 or 13 of them. If you type a 13th digit it must be the correct check digit; if you type 12 digits, the tool adds the check digit for you. Letters, spaces and symbols are not allowed in EAN-13.
Can I use these barcodes commercially?
The barcode images you generate here are yours to use, including on products and packaging. One thing to know: a barcode number itself (for example an EAN) usually has to be officially registered with GS1 for retail sale — the image is free, the number’s registration is a separate step.
