256 Tools

Barcode Generator

80
TOOLS-12345

Code 128 — works with most standard barcode scanners.

Related external tools

Some links are affiliate links.

Related tools

Turn any text or number into a scannable Code 128 barcode and download it as a crisp SVG or a ready-to-print PNG. Great for inventory labels, asset tags and reference numbers. Everything is generated in your browser — nothing is uploaded.

How to use

  1. Type the text or number you want to encode (letters, digits and symbols).
  2. Adjust the bar height and choose whether to print the text underneath.
  3. Download the barcode as an SVG for print quality, or a PNG for quick use.

About Code 128

Code 128 is a compact, high-density barcode that encodes the full set of standard ASCII characters — letters, numbers and symbols. It adds a check character automatically so scanners can verify the read. The text you enter is turned into a pattern of black bars and white spaces of varying widths, which a scanner translates back into your characters.

The text A1 is converted into a pattern of black bars and white spaces.A1

Features

Code 128 encoding

Encodes letters, numbers and common symbols, so it suits SKUs, serials and reference codes.

SVG & PNG export

Download a vector SVG that prints sharp at any size, or a high-resolution PNG for everyday use.

Adjustable height

Set the bar height to fit your label, from compact tags to tall shelf labels.

Human-readable text

Optionally print the original text under the bars so people can read it without a scanner.

Automatic check digit

A Code 128 check character is calculated for you so scanners can validate each read.

When to use it

Inventory & SKUs

Print barcodes for products or stock so you can scan items in and out quickly.

Books & equipment

Label books, tools or gear with a scannable code to track who has what.

Filing & reference numbers

Encode document or case numbers to speed up filing and retrieval.

Asset tags

Tag company assets like laptops and monitors for fast, error-free audits.

Notes

  • Only standard printable ASCII characters can be encoded; accented or non-Latin characters are not supported.
  • When printing, leave enough white space (a quiet zone) on each side so scanners can read it.
  • Test a printed sample with your scanner before producing labels in bulk.
  • Everything is generated on your device; nothing you type is uploaded.

FAQ

Which characters are supported?
Standard printable ASCII: uppercase and lowercase letters, digits 0–9 and common symbols. Accented letters and non-Latin scripts cannot be encoded in Code 128.
How is this different from a QR code?
A barcode stores a short line of text read left to right, ideal for IDs and SKUs. A QR code is a 2D square that holds much more data, such as URLs.
Can I print it?
Yes. Download the SVG for the sharpest print at any size, or the PNG for quick printing. Keep a white margin around the barcode.
Will it scan reliably?
Code 128 works with most standard scanners. Print it clearly with enough contrast and quiet space, and test a sample before bulk printing.
Is my data sent to a server?
No. The barcode is generated entirely in your browser and nothing you enter leaves your device.

We use cookies for ads and analytics.