How to use Barcode Generator (EAN, UPC, Code 128)
- Type the content: the product number, code or text.
- Choose the barcode type: EAN-13 or UPC-A for retail products, Code 128 for text and logistics, Code 39, ITF-14, Codabar and others.
- Set the bar height and width, the colour, and whether the text is shown under the bars.
- Press Start and download the barcode as PNG (for documents) or SVG (for printing at any size).
How Barcode Generator (EAN, UPC, Code 128) works
Check digits
EAN-13, EAN-8, UPC-A and ITF-14 end with a check digit. If you type the number without it, it is calculated and added; if you type it with a wrong one, the content is refused, so a printed code always scans.
Which type
EAN-13 (Europe and most countries) and UPC-A (North America) are for products sold in shops and need numbers from GS1. Code 128 encodes any letters and numbers compactly and is common for shipping labels. Code 39 is older and only uppercase. Codabar is used by some libraries and blood banks.
Made by JsBarcode
The barcode is drawn with the open-source JsBarcode library as a vector SVG, then rendered to a sharp PNG at three times its size.
Comparison
| This site (in-browser) | Typical upload-based sites | |
|---|---|---|
| Your files | Never leave your device | Sent to a remote server |
| Waiting time | No upload, no download queue | Upload + processing + download |
| Limits | None | Often file-size or daily limits |
| Works offline | Yes, once loaded | No |
Tips for the best result
- Use the SVG file for print: it stays sharp at any size.
- Keep a white margin around the barcode (the 'quiet zone'); do not crop it.
- Dark bars on a light background scan best; avoid red bars.
- Test-print and scan with a phone app before printing many labels.
Private by design
Barcode Generator (EAN, UPC, Code 128) runs entirely inside your browser, in background threads (Web Workers) that use your device's own processor. Your files are never uploaded to our servers, so nobody else can see them, and processing starts instantly with no upload or download wait. Once the page has loaded, the tool keeps working even without an internet connection.
Related tools
- QR Code GeneratorCreate a QR code for a link, text, Wi-Fi, contact card, email, SMS or phone number, with colours and an optional logo. Download PNG or SVG, nothing is sent anywhere.
- QR Code & Barcode Scanner (from Image)Read QR codes and barcodes (EAN, UPC, Code 128, Data Matrix, PDF417…) in photos and screenshots, several per picture, without a camera app.
Frequently asked questions
Can I make a barcode for a product I sell in shops?
Yes, but the EAN or UPC number itself must come from GS1 for your company; this tool only draws it.
Why is my EAN-13 refused?
It needs 12 digits (the check digit is added) or 13 digits with a correct check digit, and numbers only.
Can I make QR codes?
Use the QR Code Generator.
Is it free for commercial use?
Yes, the pictures you create are yours.
Is my data uploaded?
No. Files and pasted text are processed by JavaScript in your browser and never sent to FileToolsPlus or any server, so you can use it for private configuration files, API keys or customer data.
Does it work offline?
Once the page has loaded, the conversion itself needs no internet connection.