What is the Barcode Generator?
Barcodes are still the language of shops, warehouses and libraries. This generator makes the common types: EAN-13 and EAN-8 for retail products in most of the world, UPC-A and UPC-E in North America, Code 128 for shipping and internal labels, Code 39 for industry and IDs, ITF-14 for cartons and Codabar for libraries and blood banks.
Type the number and the tool checks the length and the allowed characters for the type you picked. For EAN and UPC you can leave out the last digit: the check digit is worked out and added for you, so the code scans first time. Choose the bar width, height, colours and whether the number is printed under the bars, then download a PNG or a vector SVG that stays crisp on a label printer.
One note on retail barcodes: printing an EAN or UPC barcode is easy, but selling in shops usually needs a number registered to your company by GS1. For your own stock, shelves, assets and events, Code 128 with any text you like is the simplest choice.
Features
All common types
EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, ITF-14, Codabar, MSI.
Check digit added
Leave out the last digit of EAN and UPC; it is calculated for you.
Input checked
Clear messages when the length or characters are wrong for the type.
Size and colours
Bar width, height, margin, colours and the text below.
PNG and SVG
Vector SVG for label printers and print shops.
Private
Made in your browser; nothing is uploaded.
How to use the Barcode Generator
- 1
Choose the barcode type.
- 2
Type the number or text; the check digit is filled in for you.
- 3
Set the size and download PNG or SVG.
Who it is for
Product labels
Print the EAN or UPC code you got from GS1 on your packaging.
Inventory and assets
Label stock, tools and equipment with Code 128.
Shipping cartons
Use ITF-14 on outer boxes.
Libraries and tickets
Make Codabar or Code 39 codes for cards and passes.
Tips for better results
- Black bars on a white background scan best. Avoid red bars: many scanners use red light and cannot see them.
- Do not stretch a barcode image unevenly when you place it in a document; scale it with the same ratio.
- Leave a blank space on both sides of the bars, at least 10 times the thinnest bar.
- Print a test label and scan it with a real scanner or a phone app before printing a full roll.
Your privacy: it stays on your device
- This tool runs entirely in your browser. What you type and the files you choose are processed on your own device and are never sent to our server.
- Nothing is uploaded, stored or kept in a history, so it is safe for private text, documents, photos and keys.
- It keeps working on a slow connection, because no answer has to come back from a server.
Questions people ask
Which barcode type should I use?
For products sold in shops, EAN-13 (or UPC-A in the USA and Canada). For your own labels, Code 128, because it holds letters and numbers in a short code.
Can I make up my own EAN number?
You can for internal use, but shops and marketplaces such as Amazon expect numbers registered with GS1 to your company.
What is the check digit?
The last digit of EAN and UPC codes, calculated from the others so scanners can catch reading mistakes. This tool adds it for you.
Is it free for commercial use?
Yes. The barcodes you make are yours to use anywhere.