Generate Code 128 barcodes as scalable SVG, ready for labels and print.
Printable ASCII only — letters, digits and common punctuation.
Product code
Letters and digits together
ABC-12345Order reference
Typical warehouse identifier
ORD20260808001Asset tag
Internal tracking number
ASSET-0042Product code
Letters and digits together
ABC-12345Order reference
Typical warehouse identifier
ORD20260808001Asset tag
Internal tracking number
ASSET-0042Any printable ASCII — letters, digits, punctuation. The barcode redraws as you type.
Adjust bar width and height for the label you are printing. Wider bars scan more reliably at distance.
Vector output places cleanly into label software, a document, or a print layout at any size.
SVG scales without blurring, which is the difference between a barcode that scans and one that does not once printed.
Code 128 requires a weighted modulo-103 check character, calculated automatically so scanners accept the result.
The encoder is implemented directly in a few dozen lines, so the page stays light rather than pulling in a barcode dependency.
Create a Code 128 barcode from any text or number. Code 128 is the standard for shipping labels, inventory tags and internal asset tracking because it encodes the full printable ASCII range compactly. Output is SVG, so it stays perfectly sharp at any size — essential for print, where a rasterised barcode at the wrong resolution simply will not scan. The check digit is calculated automatically as the specification requires.
Keep going
Related pages in Developer Tools, plus what others are using right now.
More developer tools that pair well with this one.
Create QR codes for URLs, text, WiFi and contact details, and download as PNG or SVG.
Generate version 4 and version 7 UUIDs in bulk, using secure randomness.
Generate secure random strings, passwords and API keys with entropy shown.
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once.
Generate placeholder text by paragraphs, sentences, words or list items.
Format, validate and minify JSON, with errors that point to the exact line.
Create strong random passwords with full control over length and characters.
Work out any percentage — of a number, as a share, or as a change.
Count words, characters, sentences and paragraphs as you type.
Convert between length, weight, temperature, volume, speed, data and more.
Count characters with and without spaces, against the limits that matter.
Find the mean, median, mode and range of a list of numbers, with the working shown.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
Escape text for HTML, or turn entities back into readable characters.
See how savings grow with compounding, including regular contributions.