Free tools · Barcodes

Generate Code 128 codes that scan.

Dense general-purpose 1D code for logistics and labels. Type the payload for Code 128 below — validation, check digits and a local scan-test run in your browser before anything exports.

Barcode generator

Type text, get a symbol.

Runs locally in your browser. Nothing is uploaded; the field clears after ten idle minutes.

Content

Dense general-purpose 1D code for logistics and labels.

Printable ASCII (A–Z, a–z, 0–9 and symbols), 1–80 characters.

Advanced (GS1, checks, profiles, retail add-ons, supply-chain carrier)

Turn on GS1 mode to enable a linked GS1 Composite component.

Style (readable text, bar height, export size)

Bar height stretches bars vertically, which scanners ignore (only horizontal timing matters). The SVG download keeps the engine's exact geometry.

Specification

StandardsISO/IEC 15417
Character setPrintable ASCII (A–Z, a–z, 0–9 and symbols), 1–80 characters.
LengthsHELLO-123 or (01)09501101530001(21)12345 with GS1 on
Check digitsMandatory Mod-103 symbol check character computed by the engine.
Quiet zone10X quiet zone on each side.
Capacity1-80 printable ASCII characters here; GS1 mode uses AI syntax.

Usage

Code 128 labels industrial parts, documents and work orders: print it on badges, boards and bins where rugged 1D scanners operate.

  • Code 128 on asset tags for workshop tracking
  • Code 128 on work-order paperwork for line-side scanning
  • Code 128 proofs exported as PNG for quick sharing

Shape

Code 128 example symbol encoding HELLO-123
Code 128 example encoding “HELLO-123” with required quiet zones. The live tool re-renders your own payload below.

Pros

  • Code 128 tolerates industrial printers, labels and badge stock.
  • Case folding, padding and check rules are explained before encoding.
  • PNG and SVG exports cover both quick sharing and print.
  • The self-verify readout shows exactly what a scanner will observe.

Cons

  • Code 128 is wider per character than 2D codes for long payloads.
  • Dense narrow bars demand close, steady photography when verifying.
  • Damaged or smudged labels lose characters with no error correction.
  • Colored or low-contrast prints scan poorly.

Form requirements

  • Enter HELLO-123 or (01)09501101530001(21)12345 with GS1 on.
  • Printable ASCII (A–Z, a–z, 0–9 and symbols), 1–80 characters.
  • The symbol is decoded again locally before preview and downloads unlock.

Sources

  • ISO/IEC 15417 (ISO)
  • AIM symbology specifications (AIM)

Related formats

Keep exploring.

How it works

Three steps, all on your device.

The same engine that reads barcodes writes them — every symbol is decoded again before you see it.

01

Check the spec

Charset, lengths and check-digit rules for this symbology are listed above — the form enforces them instantly.

02

Type the payload

Every symbol is validated and decoded again on your device before it is shown.

03

Download and print

Take a resolution-independent SVG for print or a PNG for sharing. Nothing is uploaded.

Questions

Code 128 Generator & Specs, answered.

If you manage servers by hand, see the engineering services behind this tools series.

What can I type for Code 128?

Printable ASCII (A–Z, a–z, 0–9 and symbols), 1–80 characters. Example: HELLO-123.

How does Code 128 handle check digits and printing?

Mandatory Mod-103 symbol check character computed by the engine. 10X quiet zone on each side. Export SVG for print and PNG for sharing; both render on your device.

Is my data uploaded anywhere?

No. Encoding and verification run entirely in your browser — the page makes no network requests with your data, stores nothing, and wipes the field after ten idle minutes.

Related tools

More from the free-tools series.

Every tool runs entirely in your browser — no accounts, no uploads.

TOOL / 07

2D CODE / GENERATE

2D Code Generator

Generate QR, Data Matrix, Aztec, PDF417 and MaxiCode with error-correction, color and frame controls — validated and scan-verified in your browser.

Open the tool
TOOL / 10

BARCODE / SCAN

Barcode Reader & Scanner

Decode 1D, 2D and postal barcodes from an uploaded image or your camera, with honest format and profile details. Nothing is uploaded anywhere.

Open the tool
TOOL / 01

SSH / KEYS

PPK to OpenSSH Converter

Convert private keys between PuTTY .ppk, OpenSSH and legacy PEM formats — both directions, encrypted keys supported. Your key never leaves your browser.

Open the tool