Code 128 is preselected - type any ASCII text and download your barcode as PNG or vector SVG.

Code 128 Barcode Generator

This free Code 128 barcode generator encodes any ASCII text into a print-ready barcode. Code 128 is the workhorse of shipping labels, asset tracking and internal logistics because it packs data compactly and handles the full character set - letters, digits and symbols. Type your data above, and download the result as a high-resolution PNG or a vector SVG. Generation runs locally in your browser: no signup, no watermark, no upload.

What a Code 128 barcode can hold

A real Code 128 barcode generated by this site: THEBARCODEMAKER-128

Typical uses for Code 128

Code 128 vs GS1-128

GS1-128 is not a separate symbology - it is Code 128 carrying GS1 Application Identifier data such as batch numbers and expiry dates, with special separator characters between fields. If you need to print GS1-128 logistics labels for retail partners, use the GS1 data you have been assigned and encode it with a tool that understands Application Identifiers. For everything else - tracking numbers, asset tags, internal codes - the plain Code 128 generator above is exactly right.

Printing tips

Code 128 FAQ

What data can a Code 128 barcode contain?

The full ASCII range: letters, digits, punctuation and control characters. Length is flexible - shorter data produces a narrower barcode.

Does Code 128 have a check digit?

Yes, a mandatory modulo-103 check character is computed and encoded automatically. It is not shown as human-readable text.

Is Code 128 the same as GS1-128?

No. GS1-128 is Code 128 carrying GS1 Application Identifier data (like batch numbers and expiry dates). Plain Code 128 encodes your text as-is.

Can scanners read Code 128 without the text line?

Yes. The human-readable text is optional and has no effect on scanning - switch it off with the Show text toggle.

Need a different symbology? Back to the online barcode generator with all 13 formats, or try the EAN-13 generator for retail products.