xBarcodexBarcode
Industry Code 128 Sets A & B

Code 128 AB Barcode Generator (Code 128 Sets A & B)

Generate Code 128 AB barcodes optimizing alphanumeric text encoding without numeric compaction Set C.

Live Generator
22/500

仅在校验位位置明确时自动补齐。GS1 请使用带括号的 AI(应用标识符)。已有校验位会进行验证,其他格式保持原有处理方式。

FG
BG
🛡️数据零留存:边缘内存瞬时编码,不记录、不保存任何内容。

技术规格

结构 1D Linear (Code 128 Sets A & B)
容量 Variable length text switching between Set A and Set B without Set C
字符集 ASCII characters (sets A and B)
保护静区要求 auto modules (1D Linear)

常见应用

该标准广泛应用于以下行业:

1D Linear utilized across retail, logistics, manufacturing, and global supply chains.
输入约束与校验位机制: 该格式采用 Modulo 103 算法对所有码字(含起始符、子集切换与数据码)进行加权求和并取模。校验字符由引擎内部自动生成,确保扫描设备具备 100% 误码拒绝率。
即插即用开发者集成

Automate Code 128 AB via API

完整 API 参考 →
curl -X POST https://api.xbarcode.ai/v1/render \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "format": "code128ab",
  "content": "12345678"
}' > barcode.svg
API outputs: SVG, PDF, EPS and matrix JSON. PNG is exported in the browser. 响应延迟 < 20ms
相关格式与替代演进

Alternative Symbologies related to Code 128 AB

需要完整的行业级条码解决方案?

了解 xBarcode 如何在零售 GTIN、跨境物流与 GS1 2027 标准中实现自动化流水线闭环。