Skip to content
SmaftyTools

Barcode Generator

Generate Code 128 barcodes from text or numbers and download as crisp SVG. Free client-side barcode maker — no watermark, no upload.

About Barcode Generator

The Barcode Generator turns any text or number into a scannable Code 128 barcode and downloads it as a crisp, infinitely scalable SVG — a free barcode maker built around Code 128 specifically because it's the workhorse format for shipping labels, inventory tags, event tickets and ID badges. Code 128 encodes the full printable ASCII set (letters, digits and most punctuation) in a relatively compact width, which is why it's also the encoding underneath GS1-128, the standard used across retail and logistics supply chains.

Type your value — a SKU, a serial number, a ticket ID, anything up to 80 printable ASCII characters — optionally toggle on the human-readable text printed under the bars for manual lookup, and download. The generator automatically computes and appends the Code 128 checksum digit that every compliant scanner expects, so the output isn't just visually a barcode, it's a barcode from text that decodes correctly on real hardware.

Generation is fully client-side: your product codes, serial numbers or ticket IDs are encoded directly to bar-width data and drawn to SVG in the browser, so nothing you type is transmitted anywhere. That also means there's no watermark and no daily limit — generate as many barcodes as a batch print job needs.

SVG was chosen over a raster format like PNG deliberately: barcodes depend on precise, sharp bar widths to scan reliably, and SVG stays perfectly crisp at any print size with no blurring or antialiasing artifacts, which matters most on small labels. If you specifically need a PNG (for a system that only accepts raster images), you can open the downloaded SVG in an image editor or browser and export it at whatever resolution you need — the vector source scales cleanly in either direction.

How to Use the Barcode Generator

  1. Type the text or number to encode (up to 80 ASCII characters).
  2. Toggle the human-readable label under the bars if you want it.
  3. Download the barcode as an SVG and drop it into labels or documents.

Features

  • Code 128 B with automatic checksum
  • Scalable SVG output that prints razor-sharp at any size
  • Optional human-readable text below the bars
  • No watermark, no upload, no limits

Examples

Product SKU label

Input

SKU-48213-BLK

Output

A Code 128 SVG barcode with checksum and the SKU printed below the bars

Event ticket serial

Input

TCK20260708-0091

Output

A scannable SVG barcode sized to fit a ticket stub or wristband

Frequently Asked Questions

What is Code 128?

Code 128 is a high-density linear barcode that encodes all 128 ASCII characters. It's the standard for logistics and inventory (GS1-128 is built on it) and is readable by virtually every barcode scanner.

Why SVG instead of PNG?

Barcodes must have precise bar widths to scan reliably. SVG scales to any print size without blurring or aliasing — important for small labels. You can convert to PNG at any resolution if needed.

Is there a character limit?

Yes — up to 80 printable ASCII characters (codes 32–126, so letters, digits and most punctuation, but not characters outside that range). Longer input, or characters outside that range, will fail to encode.

Is the Barcode Generator free?

Yes, the Barcode Generator is completely free with no usage limits. No signup, no account and no installation required.

Does the Barcode Generator work on mobile?

Yes. The Barcode Generator is fully responsive and works in any modern browser on phones, tablets and desktops.