Free Barcode Generator – EAN, UPC and Code 128
Create barcodes for products, stock and labels. The check digit is calculated and verified for you.
Runs on your device – nothing is uploaded
Enter a number or text to create a barcode.
Download the barcode
Text in the SVG uses the recipient's font – use PDF or PNG for exact text.
Print the PDF at 100% – turn off "Fit to page", or the measurements will be off.
Settings
Once the page has loaded, the tool also works without internet – try turning off Wi-Fi. The first visit needs an internet connection.
EAN and UPC numbers for retail products require GS1 membership; GS1 assigns your company a number range. For internal use such as stock, libraries or tickets you can use Code 128 or Code 39 freely.
How it works
- Choose a format: EAN-13 or EAN-8 for products, UPC-A for North America, Code 128 or Code 39 for internal codes.
- Enter the number. For EAN and UPC you can leave out the check digit – it is calculated. If you include it, it is verified.
- Adjust height, bar width and text under Settings.
- Download the barcode as PNG, SVG or PDF. The PDF is true to size and can be scaled from 80 to 200%. Print it at 100%.
Frequently asked questions
What is a check digit?
The last digit of an EAN or UPC code is calculated from the others. Scanners use it to catch reading errors. If it is wrong, the till rejects the code.
Can I make up my own EAN number?
Not for products sold in shops. Numbers must come from GS1 so they are unique worldwide. For internal use, Code 128 is a better choice.
Which format should I choose?
EAN-13 for products in Europe, UPC-A for the US and Canada, EAN-8 for very small packs. Code 128 is the most flexible for stock and logistics, and Code 39 is used in older systems.
Why can't I use accented letters?
Code 128 and Code 39 can only encode basic ASCII characters. Write the letters without accents instead.
How large should the barcode be printed?
A standard-size EAN-13 is about 37 mm wide including the white margins – that is the size of the PDF at 100%. Smaller can work, but always test with the scanner that will be used.
Found a bug or have an idea? Send an email
More tools in Web & Biz
- Forever QR QR codes that never expire – with logo, colours and scan check.
- vCard business card with QR Digital business card as a .vcf file and QR code.
- Favicon and app icon generator Every icon size plus manifest in one ZIP file.
- CSV cleaner Tidy up lists: duplicates, phone numbers and emails.
- Email signature builder Clean signatures for Gmail, Outlook and Apple Mail.
- Invoices and quotes Invoices and quotes as PDF – your data stays on your device.