免费 Code 128C 条形码生成器 — 超紧凑纯数字条码编码
在线免费生成 Code 128C 条形码。Code 128C 以最高效率对数字对(00–99)进行编码,为纯数字数据生成最窄的 Code 128 条形码。适用于 GTIN、序列号、批次号及标签空间受限的长数字字符串。即时下载 PNG 或 SVG,无需注册,无水印,无限制。
什么是 Code 128C?
Code 128C 是 Code 128 的数字优化子集,以数字对为单位进行编码——每两位数字(00 至 99)映射为单个 Code 128 符号字符。与 Code 128B 相比,对于相同数字字符串,Code 128C 的条码宽度减少一半,是纯数字数据可用的最紧凑一维条码格式。Code 128C 在 ISO/IEC 15417 标准中规定,输入必须为偶数位数字,奇数位时需补零对齐。广泛应用于 GTIN、ITF-14 等效格式、批次号、序列号及各类高密度数字标签场景。
- 每符号双位数字 — 最高数字密度Code 128C 将每对连续数字(00、01、02……99)编码为单个条码符号字符。一个 12 位 EAN 兼容数字在 Code 128C 中仅需 6 个符号字符,而 Code 128B 需要 12 个。条码宽度减少 50%,使 Code 128C 能在 Code 128B 无法容纳的小标签上打印长数字串,同时无需缩小 X 尺寸或条高。
- 仅接受偶数位纯数字输入Code 128C 只接受数字字符(0–9),且必须为偶数位。若数字串为奇数位,请在前面补零使其变为偶数位后再编码。字母、标点、空格等非数字字符在 Code 128C 中无效。对于字母数字混合数据,请使用 Code 128B 或 Code 128 自动模式。
- GTIN、批次号和序列号标签的首选Code 128C 是数字型 GTIN(GTIN-12、GTIN-13、GTIN-14)、序列号、批次号及长数字字符串批标识符的首选编码方式。紧凑的输出尺寸适合印在产品标签、优惠券和物流纸箱的窄幅标签上。GS1-128(应用标识符条码)的数字应用标识符数据字段通常采用 Code 128C 编码。
- 自动计算 Mod 103 校验字符Code 128C 自动计算并插入标准 Mod 103 校验字符,确保扫描仪可靠解码并拒绝损坏的条码,在更小的物理尺寸下提供与 Code 128A 和 Code 128B 相同的错误检测可靠性。
Code 128C specifications
Code 128 locked to code set C — digit pairs packed two per character for maximum numeric density. The table below lists the exact Code 128C specifications — character set, check digit, X-dimension, quiet zone and the governing ISO/IEC 15417 standard — so you can size and print the symbol correctly the first time.
| Character set | Digit pairs 00-99 only (numeric data) |
|---|---|
| Data length | Variable, but must contain an even number of digits |
| Check digit | Mandatory Mod 103 check character, appended automatically |
| Density | ≈24 digits per inch at the minimum 0.19 mm X-dimension — the densest mainstream 1D numeric encoding |
| X-dimension (module width) | 0.19-0.50 mm typical |
| Quiet zone | 10X on each side |
| Magnification | Scales linearly with the chosen X-dimension |
| Bar / space ratio | Variable-width bars and spaces |
| Standard | ISO/IEC 15417 |
| Introduced | 1981 — Ted Williams, Computer Identics |
Typical uses: Long numeric serial numbers; GTIN data in GS1-128 logistics labels; Container and carton identification.
How Code 128C compares to similar barcode types
Choosing the wrong symbology is the most common cause of barcodes that scan in the warehouse but get rejected downstream. This table compares Code 128C with the formats most often confused with it, on the three properties that decide compatibility: character set, check digit, and quiet zone.
| Symbology | Character set | Check digit | Quiet zone |
|---|---|---|---|
| Code 128C(this page) | Digit pairs 00-99 only (numeric data) | Mandatory Mod 103 check character, appended automatically | 10X on each side |
| Code 128 | All 128 ASCII characters: 0-9, A-Z, a-z, punctuation, and control characters (code set dependent) | Mandatory Mod 103 check character, calculated automatically by the encoder | 10X on each side (minimum 2.5 mm recommended for general scanning) |
| GS1-128 | Full ASCII via Code 128; AI element strings are largely numeric with defined formats (e.g. YYMMDD dates) | Mandatory Mod 103 check character (Code 128) plus AI-embedded check digits such as the GTIN Mod 10 | 10X on each side |
| Code 128B | Full printable ASCII 32-127: digits, upper and lowercase letters, punctuation, and space | Mandatory Mod 103 check character, appended automatically | 10X on each side |
Code 128C 条形码生成器功能
为数字数据生成紧凑、高密度的 Code 128C 条形码,支持实时验证、尺寸调节和即时下载。
偶数位验证与错误提示
生成器实时验证 Code 128C 输入:非数字字符和奇数位字符串会立即显示清晰的错误提示,防止生成扫描仪无法识别的不合规条码。仅当输入为有效偶数位数字串时,预览才会更新。
相同数据,更窄的条码
输入任意偶数位数字串,即可对比 Code 128C 与 Code 128B 或 Code 39 的输出宽度。对于相同位数,Code 128C 生成的条码约为 Code 128B 宽度的一半——在小标签或多列标签布局中打印数字条码时优势显著。
PNG 和 SVG 下载
将 Code 128C 条形码下载为可缩放的 SVG 用于印刷输出,或下载为高分辨率 PNG 用于文档和标签软件。SVG 格式的紧凑 Code 128C 条码在任意分辨率下均清晰显示。
条高和模块宽度控制
调整条高和 X 尺寸以满足标签的物理规格要求。更高的条形可提高手持和固定扫描仪的扫描角度容差;更宽的模块可补偿低分辨率热敏标签打印机的不足。静区按 ISO 规定的最小值自动计算并包含在内。
批量数字条码生成
粘贴一列偶数位数字串——GTIN、序列号、批次号——一次性生成所有 Code 128C 条形码。以 PNG 或 SVG 文件的 ZIP 压缩包下载,便于批量标签打印或集成到标签管理系统。
Code 128C 常见问题解答
关于 Code 128C 编码规则、长度要求及与其他数字条码格式对比的技术解答。
为什么 Code 128C 要求偶数位数字?
Code 128C 每次编码两位数字为一个符号字符。100 个可能的两位数对(00–99)分别映射到 Code 128 编码表中的 100 个数据符号值。由于每个字符位置恰好编码两位数字,总位数必须为偶数。若数字为奇数位,请在前面补一个零(例如将"12345"编码为"012345")使其变为偶数位。
Code 128C 与 ITF(交叉二五码)相同吗?
不同,但两者用途相近。Code 128C 和 ITF 都以高密度对数字对进行编码。主要区别:Code 128C 包含强制性 Mod 103 校验字符,提供错误检测;ITF 采用独立校验位算法且为可选。Code 128C 可在自动模式下与 Code 128A/B 混用于同一条码;ITF 是独立码制。对于相同位数,Code 128C 比 ITF 更紧凑,且与现代图像扫描仪的兼容性更好。
Code 128C 能编码字母或特殊字符吗?
不能。Code 128C 严格限于偶数位数字串,不能编码字母、空格或任何非数字字符。对于字母数字数据,请使用 Code 128B。对于数字和字母混合的变长数据,请使用 Code 128 自动模式,该模式会对长数字段自动切换到 Code 128C,对字母段切换到 Code 128B。
Code 128C 比 Code 128B 小多少?
对于给定的偶数位数字串,Code 128C 生成的条码比 Code 128B 编码相同数字约窄 50%。例如,12 位数字在 Code 128C 中需要 6 个符号字符,而在 Code 128B 中需要 12 个。这意味着在相同 X 尺寸下,12 位数字的 Code 128C 条码物理宽度约为等效 Code 128B 条码的一半。
Related barcode tools
Need more than one barcode, a printed label sheet, or a way to check the result? These tools use the same generator, so the output matches.
- Barcode Label PrintPrint a full sheet of labels that lines up with Avery label stock, at the correct physical size.
- Barcode ScannerVerify a printed label before you run the whole batch — decode it from an image or your camera.
- Barcode MakerFull control over size, colors, font, quiet zone, and layout for a single barcode.
立即生成 Code 128C 条形码 — 免费、即时、无需注册
现在就为您的数字数据创建紧凑、高密度的 Code 128C 条形码。输入偶数位数字串,调整尺寸,即可下载 PNG 或 SVG——完全免费,无需账号。
