Skip to content

Barcode Generator

Generate Code 128B barcodes from text with customizable height and PNG download

Your warehouse manager just asked for barcode labels on 50 new shelf locations. Your inventory software expects Code 128 format. You don’t have label-making software on your laptop, and the specialized label printer’s driver isn’t cooperating today. So you open this tool, type the shelf codes one at a time, download the PNGs, and drop them into a Word doc for printing.

Code 128B is the workhorse of the barcode world. It handles the full ASCII printable character set (characters 32-127) — letters, numbers, spaces, symbols like @ and #. It’s what FedEx uses on shipping labels, what libraries use on book spines, and what warehouses use on every rack and bin.

Type your text, adjust the bar height, hit generate. The barcode renders on an HTML canvas in your browser and downloads as a PNG.

Printing Tips That Actually Matter

Quiet zones are the blank spaces on either side of the barcode. Scanners need them to know where the barcode starts and ends. Leave at least 10 times the narrowest bar width as clear space on each side. Without it, your scanner will either misread or refuse to read entirely.

Print at 300 DPI minimum. At lower resolutions, the thin bars blur together and scanners can’t distinguish them. If you’re printing on a standard office printer, that’s usually fine — most modern laser printers default to 300 or 600 DPI. Inkjet printers can be iffy, especially on glossy labels where ink spreads.

Keep encoded text under 20-30 characters. Longer strings produce wider barcodes that might not fit on your labels or may be too wide for handheld scanners to capture in one pass.

Test before mass printing. Generate one barcode, print it, scan it with your actual scanner. Then print 500. Not the other way around.

What People Use Them For

Shipping labels. You’ve got order numbers like ORD-2026-0042. Encode them as barcodes, stick them on packages, and your shipping team scans them instead of manually typing 14-character strings.

Asset tracking. IT departments label every laptop, monitor, and keyboard with a barcode. Scan it during audits instead of reading tiny serial numbers.

Event badges. Print a unique barcode on each attendee’s badge. Scan at the door for check-in. No QR code reader needed — any linear barcode scanner works, and those are cheaper and more rugged.

Library systems. Encode the call number or accession number. Every library barcode scanner on the planet speaks Code 128.

For two-dimensional codes that can hold more data (URLs, WiFi credentials, contact cards), the QR Code Generator on Toolsvu handles that. Use the QR Code Reader to verify QR codes after generation.

Everything runs in your browser. Your text doesn’t go anywhere.

barcode generator code128 label print

Related Tools

More in Data Tools