Code 128 barcode generator
Compact barcodes with letters and numbers for labels and stock.
Made on your device · nothing is uploaded
About this tool
This tool turns any text of up to 80 English keyboard characters into a Code 128 barcode, ready to download as PNG or SVG. Code 128 packs letters, numbers and symbols into a short barcode, so it is the usual choice for warehouse labels, courier slips, invoices, library cards and asset tags.
At a glance
- What it does
- Compact barcodes with letters and numbers for labels and stock.
- Price
- Free, no sign-up
- Works in
- Your browser, on phone or computer. Works offline after the first visit.
- Privacy
- Files are processed on your device and never uploaded.
How to make a Code 128 barcode
- Type the text or number, for example a stock code like TP-2026-0042.
- Change the bar thickness and height under "Size, colours and text" if your label needs it.
- Download as PNG or SVG and add it to your label or document.
Private
Your files are processed in your browser and never uploaded.
Fast
No upload or queue. Results are ready in seconds.
Free
No sign-up, no limits and no watermark on your files.
Frequently asked questions
What can a Code 128 barcode hold?
Code 128 holds all the letters, digits and symbols on an English keyboard (ASCII). Long runs of digits are packed two per symbol, so number-heavy codes stay short. It cannot hold Hindi or other scripts; use a QR code for those.
Is Code 128 the same as GS1-128?
No. GS1-128 is Code 128 with a special start character and standard data fields, such as batch and expiry date, used between companies in supply chains. This tool makes plain Code 128, which is right for your own labels.
How long can a Code 128 barcode be?
This tool allows up to 80 characters, but under 20 is easiest to print and scan. Every character adds width, so for longer text a QR code is the better choice.
Why does my USB scanner type the wrong symbols?
Because USB scanners act like a keyboard. If the computer uses a non-English keyboard layout, some symbols can come out differently; letters and digits are always safe.



