Barcode Generator
Generate Code 128 or EAN-13 barcodes for labels, inventory and products, and download them as PNG or SVG.
Loading tool…
Need help with this tool or found a problem? WhatsApp support Email
What does the Barcode Generator do?
Code 128 encodes letters, numbers and symbols and is widely used for shipping labels, asset tags and inventory. The generator automatically uses the compact numeric mode (set C) for even-length numbers. EAN-13 is the 13-digit retail barcode found on products worldwide; enter 12 digits and the check digit is calculated, or 13 digits to have it validated.
Choose the bar width and height, toggle the human-readable text and download a PNG or a crisp SVG for printing.
How to use the Barcode Generator
- Choose Code 128 or EAN-13.
- Enter the value.
- Adjust bar width, height and text.
- Download PNG or SVG and test with a scanner app.
Examples
Inventory tag
“VIPTOOLS-2026” as Code 128 for shelf labels.
EAN-13
590123412345 → check digit 7 → 5901234123457.
Common use cases
- Inventory and asset labels
- Small shop products (with valid GS1 numbers)
- Event tickets and library cards
- Testing barcode scanners
Features and benefits
- Private by design — your data is processed on your device and never uploaded.
- Free with no account, no watermark and no usage limits.
- Works on phones, tablets and desktops in any modern browser.
Limitations to know
- EAN-13 numbers for retail must be licensed from GS1; generating an image does not register a number.
- Print at sufficient size and contrast for scanners.
Frequently asked questions
What is the difference between Code 128 and EAN-13?
Code 128 encodes any ASCII text and is used in logistics; EAN-13 is a 13-digit product number for retail.
How is the EAN check digit calculated?
Digits are weighted 1 and 3 alternately; the check digit makes the total a multiple of 10.
Can I use these barcodes commercially?
Yes. For retail EAN codes, use numbers issued to your company by GS1.
Related tools
All utility toolsQR Code Generator
Create QR codes for URLs, text, Wi-Fi, email, phone and contacts.
QR Code Image Generator
Design a QR code image with custom colours, size and margin.
Image ToolsRandom String Generator
Generate random strings, tokens and IDs from chosen character sets.
Security ToolsUnit Price Calculator
Compare products by price per unit to find the best deal.
Calculator ToolsRandom Number Generator
Pick random numbers in a range, with or without repeats.
URL Shortening Guide & Link Cleaner
Shorten links honestly: strip tracking parameters and learn safe shortener use.