Barcode Generator
Generate CODE128, EAN-13 or UPC barcodes from any text or number and download them as PNG.
Create scannable barcodes in popular formats and download them for labels, products or documents.
How to use it
- 1Choose a barcode format.
- 2Enter the text or digits to encode.
- 3Download the generated barcode as a PNG image.
Generate a barcode
Choose a format and enter the value to encode.
CODE128 accepts any text. EAN-13 and UPC require the right number of digits.
Barcode
Frequently asked questions
- Which format should I use?
- Use CODE128 for general text, or EAN-13/UPC if you need standard retail product barcodes with the correct digit count.
- Why does my EAN-13 barcode show an error?
- EAN-13 barcodes require 12 or 13 digits; check your input matches this format.
- Can I use these barcodes commercially?
- The generated barcode is just a visual encoding of your data — you're responsible for obtaining any official product codes needed for retail use.
Something wrong with this tool or its numbers?
Report an issueRecommended next
What people usually reach for after this tool.
Image Compressor
Shrink JPG, PNG and WebP images to a smaller file size right in your browser, no upload required.
Image Resizer
Resize images to exact pixel dimensions or by percentage, with optional aspect-ratio locking.
Image Format Converter
Convert images between JPG, PNG and WebP formats instantly in your browser.
Related articles

Designing QR codes that actually scan in print
Contrast, quiet zones and error correction: the three variables that decide success.
4 min read
How to price freelance work without guessing
A repeatable pricing method built on utilisation, target income and value-based adjustments.
7 min read
VAT explained simply for small businesses
What VAT actually is, when you have to register, and how to keep the arithmetic painless.
6 min readPopular tools
The calculators people reach for most.
New tools, every week
One short email when we ship something genuinely useful. No spam, unsubscribe anytime.