Barcode Generator
Generate common barcode formats.
About this tool
Enter the value, choose a barcode format and press Generate. You get a barcode PNG with the value printed beneath it.
How to use
How it works
Barcodes are drawn with the JsBarcode library in black on white, with 2-pixel bars and a height of 100 pixels. CODE128 accepts general text. CODE39 allows capital letters, digits and a few symbols. EAN13, UPC and ITF14 are numeric and check their length and check digit, so wrong data produces an error instead of a barcode.
Worked example
A shelf label
- Input
- ITEM-20417, CODE128
- Output
- A CODE128 barcode image with ITEM-20417 printed below
- Walkthrough
- CODE128 can encode letters, digits and the hyphen, so the value is accepted as typed.
Limitations
- Bar width, height and colours cannot be changed.
- Retail formats (EAN, UPC) need valid numbers; the tool does not issue official product codes.
- CODE128 accepts basic Latin text only; accented letters and non-Latin scripts give an error.
- PNG download only.
- Always scan-test printed labels.
Questions
How do I make a barcode?
Which format should I use?
Why did I get an error?
Can this make a real EAN for my product?
Features
- Five barcode formats
- PNG download
- Private, in-browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
How do QR Codes Work: Explained in Minutes
Scanova
Short overview before generating or reading codes.
Watch on YouTubeReduce image size with srcset
Chrome for Developers
QR codes often sit on posters—keep companion images light.
Watch on YouTube
- QR Code — ISO/IEC 18004
ISO
Standards reference for QR symbology these tools encode.
- Building a QR code generator
web.dev
Engineering notes when you care how generators work under the hood.