Barcode Generator
Code 128, EAN-13 and UPC-A barcodes as sharp SVG images.
Also called: barcode maker, EAN-13 generator, Code 128 generator.
Barcode Generator
Code 128, EAN-13 and UPC-A barcodes as sharp SVG images.
Watch: how to use the Barcode Generator (13 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Barcode Generator
Make Code 128, EAN-13 or UPC-A barcodes as sharp SVG images that print cleanly at any size. Code 128 takes any text or number; EAN-13 is for retail products (12–13 digits) and UPC-A for US retail (11–12 digits).
Set the bar height and choose whether the number is printed under the bars. The barcode is drawn in your browser.
Always test-scan a printed barcode before printing many labels. Retail EAN/UPC numbers must come from GS1 to be valid in shops.
Choosing Code 128, EAN-13 or UPC-A
Choose the barcode format that matches the data and scanner workflow. Code 128 supports a broad range of letters, numbers and symbols and is commonly used for internal labels and logistics. EAN-13 and UPC-A are retail product formats with fixed numeric structures and check digits.
Use the number of digits requested by the selected format and let the generator validate the input. A barcode image is only a visual encoding: it does not register a retail product, assign an official GS1 number or guarantee that a retailer will accept the code.
Print a test at the final label size and scan it with the equipment that will be used in practice. Keep sufficient quiet space around the bars, use strong contrast and avoid stretching the SVG disproportionately.
How to use the Barcode Generator
- Add your inputFill in text or number and bar height. An example is already filled in, so you can press Run tool first to see how it works.
- Pick the optionsbarcode type and show the number under the bars (the defaults suit most uses).
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Good to know
- What you need
- You type or choose: Text or number, Bar height
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
Which type should I use?
Code 128 for your own labels, stock and IDs; EAN-13 or UPC-A only for products with a GS1 number.
Why SVG?
SVG stays sharp when resized, which matters for printing.
Can I make a QR code here?
Use the QR Code Generator for QR codes.
More tools in QR & Utilities
- QR Code Generator
- Dice Roller & Coin Flip
- Invoice Generator
- Online Notepad (saves on your device)
- Online Timer, Stopwatch & Pomodoro
- Password Generator
- Password Strength Checker
- QR Code & Barcode Scanner (camera or photo)
- Random Number Generator
- Random Picker / List Shuffler
- Receipt Maker (any business)
- Spin the Wheel (random picker)