Developer Tools

Barcode Generator — Create Code 128 Barcodes Online, No Upload

Generate Code 128 barcodes from any text or number string. The barcode is drawn using the HTML Canvas API — no server required. Download the result as a PNG and use it in documents, labels, or product packaging.

How to use this tool

  1. Enter the text or number string you want to encode.
  2. The Code 128 barcode is drawn immediately on a canvas in your browser.
  3. Click Download PNG to save the barcode for use in documents or labels.

0/80 characters

Frequently Asked Questions

What is Code 128?
Code 128 is a high-density linear barcode symbology that encodes all 128 ASCII characters. It is widely used in logistics, retail, and document management. All major barcode scanners and mobile phone cameras can read Code 128.
Is my data sent to a server?
No. The barcode is generated client-side using the HTML Canvas API. The Code 128 encoding algorithm runs entirely in JavaScript — nothing is uploaded.
What is the maximum input length?
Code 128 can encode up to 80 characters efficiently in this implementation. Very long strings produce wider barcodes that may be harder to scan. For data over 80 characters, consider QR codes instead.
Can I use this barcode commercially?
Yes. Code 128 is an open standard with no licensing requirements. The generated PNG can be used freely in commercial products, labels, and documents.
More free toolsSee all 109
Merge PDFsCompress ImageJSON FormatterPassword GeneratorVAT CalculatorQR Code Generator