✨ Generators

Barcode Generator

Generate Code128 barcodes from text and save as PNG.

Examples (click to try)

How to Use the Barcode Generator

Type ASCII text and a Code128 barcode is drawn instantly, with the source text shown underneath. The example chips set a value and generate at once. Use Download PNG to export the image. The check digit, start/stop symbols and quiet zones are added for you, so paste a product code or reference number as-is.

Concrete examples

  • BENRI-2024 → a 10-character Code128-B barcode with an automatic check digit
  • 1234567890 → a numeric reference encoded as Code128 (not EAN)
  • SKU-0042 → letters plus a hyphen, typical for inventory labels
  • Hello World! → spaces, punctuation and mixed case all work (ASCII 32–126)
  • A tab or non-ASCII text → an "Unsupported characters for Code128-B" error; replace them with plain ASCII

When to Use Code 128

Code 128 is a general-purpose barcode format for internal labels, stock references, work orders and test data. It is not the same as retail UPC or EAN barcodes, so use it when you control the scanning workflow or need a quick barcode for a draft label.

FAQ

Is my data sent to a server?
No. Everything runs in your browser; nothing is transmitted or stored externally.
Which characters?
Code128-B (ASCII 32–126): upper and lower case letters, digits, punctuation and spaces. Non-ASCII text and control characters are not supported and show an error if included.
Do I add the check digit myself?
No. The Code128 check digit (modulo 103), the start/stop symbols and the left/right quiet zones are added automatically. Just pass your text as-is.
Will scanners read this barcode?
Any standard Code128 scanner or phone app can read it. When printing, keep enough resolution and side margins, and avoid shrinking it too far.