anyscan.download
Free forever

Code 128 Barcode Generator

Generate a Code 128 barcode locally, then download SVG or PNG, prepare a batch, or print it as a label.

Your content is processed locally and is not uploaded.
Output format

Your code appears here

Waiting for input

Processed locally. Barcode values are generated in this browser.

Generate a Code 128 identifier

Code 128 is suited to compact printable ASCII identifiers. The shared generator renders the barcode locally and can decode-verify the generated output before download.

Single barcode

Enter an identifier and download a PNG or scalable SVG.

Physical guidance

Adjust bar width and height, then test the real print and scanner combination.

Continue the workflow

Use Batch for a column of values or Labels for PDF and ZPL output.

When to use Code 128

  1. Confirm that the receiving system expects Code 128 rather than a retail or GS1 carrier.
  2. Enter a printable ASCII identifier and review the width guidance for the chosen bar size.
  3. Use the local round-trip result to catch rendering or unsupported-character problems.
  4. Download SVG for scalable print placement or PNG for a fixed-size raster workflow, then test the physical result.
Code 128 compared with nearby choices
FormatUse whenDo not use it to imply
Code 128An internal system accepts compact printable ASCII identifiersA registered retail product identity.
Code 39A legacy workflow explicitly requires its restricted character setThe same density as Code 128.
EAN or UPCA supplied retail identifier has the required length and checksumThat the number was allocated to a product merely because it validates.
ITFThe receiver explicitly expects an even-length numeric symbolGeneral text or an arbitrary alphanumeric SKU.

Worked example: an internal asset identifier

ASSET-0042

This printable ASCII value is suitable for Code 128 when your receiving system expects an internal asset identifier. The locally decoded result should be exactly ASSET-0042, including the hyphen and leading zeroes. A Code 128 symbol does not give this value retail registration or GS1 meaning. Keep the quiet zones clear when placing the SVG in a label layout.

Specifications

Characters
Validation supports printable ASCII with practical width guidance up to 80 characters.
Downloads
PNG and SVG for a single generated barcode.
Verification
Generated output is locally decoded and compared with the intended value where supported.

Common questions

Is Code 128 a retail GTIN format?

No. Use EAN-13 or UPC-A only when the required retail identifier and check digit are available.

Can I make many Code 128 barcodes?

Yes. Batch supports a fixed Code 128 format or a mapped Format column.

Related tools for validation, batches and labels. Bulk Barcode Generator · Barcode Label Generator · Barcode Validator