purr.tools

Barcode Generator

Type any text or number to instantly generate a Code 128 barcode. Everything runs in your browser — nothing is uploaded. Download as PNG.

Share this calculation

Copy this link to share your current inputs with anyone.

How to generate a barcode

Type or paste any text or number into the input field. A Code 128 barcode is generated instantly in your browser. Click 'Download PNG' to save the image. Code 128 can encode all 128 ASCII characters, making it suitable for alphanumeric content of any length.

About Code 128 barcodes

Code 128 is a high-density linear barcode symbology that can encode all 128 characters of ASCII. It is widely used in shipping, packaging, and inventory management. Scanners at retail checkouts, warehouses, and logistics companies commonly read Code 128 barcodes.

Frequently Asked Questions

What format is used?

This tool generates Code 128 barcodes, the most versatile linear barcode format. It supports all printable and non-printable ASCII characters and is accepted by virtually all barcode scanners.

Is my data safe?

Yes. The barcode is generated entirely in your browser using the open-source JsBarcode library. No data is sent to any server. You can verify this by disconnecting from the internet — the generator will still work.

Embed this tool

Add this tool to your website by copying the snippet below.

<iframe
  src="https://purr.tools/en/embed/barcode-generator"
  width="100%"
  height="500"
  style="border:0;border-radius:8px;"
  loading="lazy"
  title="Barcode Generator — Free Online Tool"
  allow="clipboard-write"
></iframe>