How to use the Barcode Generator
- Type the text or number to encode.
- Pick the barcode type (CODE128 works for almost anything).
- Download the barcode as PNG or SVG.
How it works
Barcodes are drawn with the open-source JsBarcode library and rendered as sharp vector SVG, then rasterised to PNG at 3× for printing. Everything happens on your device.
Worked examples
Product label
Choose EAN-13 and enter a 12-digit product code to get a retail barcode you can print on labels.
Limitations and assumptions
- Each type expects a certain format (for example EAN-13 needs 12–13 digits) — the tool tells you if a value doesn't fit.
- This makes barcodes; to read one, use your phone's camera.
Frequently asked questions
Are the barcodes really scannable?
Yes — they follow the proper symbology, so any barcode scanner or phone app will read them. Test one before a big print run.
Which type should I pick?
CODE128 for general text/numbers, EAN-13 or UPC for retail products, CODE39 for asset tags.
Built and reviewed by Guru G
Calculation logic is covered by automated tests against known values. Last reviewed Nov 14, 2026. Found a problem? Let us know — see our editorial policy.