Skip to content

Barcode Generator

Data Tools ·
·

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

Markdown Table to JSON

Parse Markdown tables and convert them to JSON arrays of objects

JSON to TypeScript

Generate TypeScript interfaces from JSON data with recursive type inference and nested object support

JSON to Zod Schema

Generate Zod validation schemas from JSON data with type inference and nested object support

Online Stopwatch

Browser stopwatch with start/stop, laps, and 10-millisecond precision, runs entirely client-side, no install.

Password Strength Checker

Analyze password strength with detailed scoring, crack time estimation, and security checks

Pomodoro Timer

Classic 25/5/15 work-break timer with audio cue, completed-pomodoro counter, and settings that save in your browser.

Random Name Picker

Paste a list of names and pick a random winner with a quick shuffle animation. Draw one or several, and optionally remove each winner so nobody repeats.

Random Team Generator

Paste a list of people and split them into fair, random teams. Pick the number of teams or the team size, then shuffle again until it looks right.

Random Username Generator

Generate unique usernames combining adjectives, animals, nouns, and optional digits or year suffixes, 4 styles, 4 separator options.

SQL to CSV Converter

Extract data from SQL INSERT statements and convert to CSV format

Stripe Test Cards

Quick reference of Stripe test card numbers, successful charges, declines, 3D Secure, fraud scenarios, international, all copyable.

Tally Counter

A free online tally counter with multiple named counters that save in your browser. Tap to add, use the spacebar, and never lose your count on refresh.

View all 49Data Tools