Code 128 barcode generator
Shipping labels, logistics, and general-purpose inventory tracking where both letters and numbers are needed in a compact symbol.
Character set
Full ASCII (128 characters): letters, numbers, and symbols
Typical use
Shipping labels, logistics, and general-purpose inventory tracking where both letters and numbers are needed in a compact symbol.
How it compares
Code 128 packs more data per inch than Code 39, which is why most modern shipping and logistics labels have moved to it.
No signup · Files stay on your device · PNG download is free
Type a value above to generate a barcode.
Need 100 or 10,000 of these? Try the bulk CSV/Excel generator free.
Try the bulk generator →How to generate a Code 128 barcode
- Pick Code 128 from the format dropdown — it's the most broadly compatible general-purpose option, so it's selected by default
- Type your value. Mixed-case letters, numbers, and most punctuation all work without restriction, up to 48 characters
- Watch for the density warning if you shrink the display width — Code 128 packs data tightly enough that too narrow a print can blur past scannability
- Export as PNG for quick use, or switch to SVG if the barcode needs to scale cleanly into a label template later
Common Code 128 use cases
- Shipping labels where both letters and numbers appear in the same tracking or reference code
- Warehouse bin and shelf location labels, since Code 128 stays compact even with mixed-case text
- Internal asset tags where the value doesn't need to match a specific retail or industry standard
- Inventory systems migrating off Code 39 for its higher data density
Need more than one? · free preview live
Generate Code 128 barcodes in bulk
Upload a CSV or Excel file to produce thousands of named Code 128 barcodes and print-ready labels in one pass. Preview free now — exporting the full batch is a one-time paid unlock. Just have a short list instead of a spreadsheet? Paste a list of values and get every barcode back free, no file needed.
Upload
Add a CSV or Excel file with your product data.
Map
Match columns to barcode value, filename, caption, and price.
Export
Download PNG, SVG, a ZIP archive, or print-ready PDF labels.
Pricing
Free today. Pay once to export bulk batches.
No subscriptions, ever. The free generator, bulk preview, and paid export are all live now.
Free lets you preview the first 20 rows of a spreadsheet. One Batch or Pro exports the complete file.
- Unlimited individual generation
- All available barcode formats
- Free PNG, SVG, and PDF downloads
- Bulk preview: up to 20 spreadsheet rows
- No signup, no watermark
Best for one-time use
- Export one CSV/Excel job, up to 20,000 rows
- PNG and SVG ZIP
- Printable label PDF
- Custom filenames
Doing this once? Choose One Batch.
Best if you'll export more than once
- Unlimited bulk exports, up to 20,000 rows each
- SVG and high-res PNG
- ZIP and print-ready PDF
- Custom filename templates
- Saved local presets
- Works on any of your devices
Expect another batch later? Pro pays for itself after 10 exports.
One-time payment, never a subscription. Your license works on any of your devices — enter your license key to unlock. Any applicable tax is calculated at checkout.
FAQ
Code 128 barcode questions
The full ASCII character set — uppercase and lowercase letters, digits, punctuation, and symbols — up to 48 characters in this generator. It's case-sensitive, unlike Code 39.
For density, yes — Code 128 packs the same value into a narrower symbol, which is why most shipping and logistics labels have moved to it. Code 39 still wins on raw scanner compatibility with older hardware.
No. Any standard laser barcode scanner or smartphone barcode-scanning app reads Code 128 without configuration.
This generator caps input at 48 characters — beyond that, bars get thin enough at typical print sizes that scan reliability drops. The generator warns you if your chosen display width would compress the bars further.
Yes — this generator runs entirely in your browser, so there's nothing to install. Your data never leaves your device; the barcode is drawn client-side.
Create your first Code 128 barcode in seconds.
Free forever for individual barcodes. Free to preview in bulk, too.