Code 128 generator
Enter your data below, check the live preview, and download it as PNG, SVG, or a print-ready PDF.
Need many at once? Bulk Code 128 generator
About Code 128
Code 128 is a high-density linear barcode capable of encoding the full 128-character ASCII set. It is widely used in shipping, packaging, and inventory because of its compactness and automatic subset switching.
Valid input
- Any ASCII character (0-127) is valid. Length is unbounded but long payloads widen the symbol quickly.
- The encoder automatically chooses subsets A, B, and C - you do not add FNC or shift characters manually.
- Quiet zone: at least 10 module widths on each side.
- For GS1 data use the GS1-128 page, not plain Code 128.
Related barcode types
Guides
- Code 128 subsets, FNC1-FNC4, and the mod-103 check digit
Full reference for Code 128 covering subsets A, B and C, FNC1 through FNC4, the mod-103 check digit with a worked example, and the FNC4 Latin-1 extension. Sourced against ISO/IEC 15417:2007.
- Code 39 vs Code 93 vs Code 128: The 1D Showdown
Three industrial 1D symbologies, one usually wins. Density, character set, check digits, and when to pick each.
- GS1-128 vs Code 128: Stop Confusing Them
GS1-128 and Code 128 look identical but mean very different things. Here is the difference, when each one is required, and which generator to use.