Code 128PNG + SVG100% Private

11/80 characters (Code 128)

Hello World

How It Works

1

Enter Text

Type the text you want to encode as a barcode.

2

Customize

Adjust bar width, height, and text display options.

3

Download

Download as PNG for web or SVG for print.

Frequently Asked Questions

What is Code 128?
Code 128 is a high-density barcode format that can encode all 128 ASCII characters. It is widely used in logistics, shipping labels, product packaging, and inventory management due to its compact size and reliability.
What characters can I encode?
Code 128B supports all standard ASCII printable characters including letters (A-Z, a-z), numbers (0-9), spaces, and common symbols. This covers most text you would need to encode in a barcode.
Should I download PNG or SVG?
SVG is a vector format that scales to any size without losing quality, making it ideal for print. PNG is a raster format better suited for on-screen use and simple sharing. For professional printing, use SVG.
Are the barcodes scannable?
Yes. The generated barcodes follow the Code 128 specification including proper start/stop patterns and checksums. They can be scanned by any standard barcode reader.
Share:

About Barcode Gen

What this tool does

Generator tools create passwords, UUIDs, Lorem Ipsum placeholder text, QR codes, barcodes, fake data sets, random numbers, and various code snippets. Each output is generated fresh on every click using cryptographic or pseudo-random algorithms.

Why use this tool

Developers and designers constantly need test data, unique identifiers, and placeholder content during prototyping. Generating them locally avoids dependency on external APIs and keeps sensitive outputs like passwords off the network.

How it works

For security-sensitive outputs (passwords, UUIDs), the tool uses the Web Crypto API's crypto.getRandomValues(). For placeholder text, it assembles words from a built-in dictionary. QR codes and barcodes are rendered to canvas or SVG.

Pro tip

For passwords, enable all character classes and use at least 16 characters. A passphrase of 4-5 random dictionary words is equally strong and much easier to remember.

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools