Type text, get a scannable Code 128-B barcode as vector SVG

Full 107-pattern Code 128 table, automatic checksum, 10-module quiet zones, SVG download.

Quick answer: Generate real Code 128-B barcodes from any text as crisp vector SVG — automatic check digit, print-ready quiet zones. Free, no watermark, fully offline page.

How to use

  1. Type the text (ASCII letters, digits, punctuation, spaces).
  2. Generate → the SVG barcode appears with its check digit.
  3. Download the SVG for printing or embedding.

About this tool

This is a real Code 128-B encoder, not a barcode font: the complete 107-pattern width table, the automatic modulo-103 check digit and proper 10-module quiet zones are all implemented in JavaScript and rendered as crisp vector SVG that scales to any print size without blur. Code 128-B covers upper and lower case letters, digits, punctuation and spaces, which makes it the go-to symbology for asset tags, library cards, inventory labels, boarding passes and event tickets. Type your text, generate, and download the SVG for a print shop or embed it straight into a web page. The barcode is built entirely on this page — your text is never sent to any server. Everything runs locally in your browser — nothing is uploaded, nothing is sent to any server, and closing the tab erases it all.

FAQ

Is this a real scannable barcode?
Yes — genuine Code 128-B with start/stop symbols and checksum; any modern scanner or phone app reads it.
Why does my text fail?
Code 128-B supports ASCII 32–126 only; emojis and control characters are rejected with the exact position.
Can it do lowercase?
Yes — that is exactly what subset B is for (subset C is digits-only pairs).
What are quiet zones?
Empty margins (10 modules each side) scanners require; they are baked into the SVG.
Print size?
SVG is vector — print at any width from 2 cm upward at 300 dpi for a crisp result.

Rate this tool

Your rating stays in this browser (local storage) — nothing is sent to any server.