条形码生成器
生成 Code 128、EAN-13 或 UPC-A;这不会注册商品编码。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Barcodes are needed for inventory labels, library and asset tags, event tickets and retail packaging. This tool draws a barcode as a scalable SVG image with the human-readable digits underneath: Code 128 for any text or numbers (ideal for internal labels), or EAN-13 and UPC-A for retail product numbers.
For EAN-13 (12 digits) and UPC-A (11 digits), the check digit is calculated for you; if you enter the full 13 or 12 digits, the check digit is verified. Generating a barcode does not register a product number: retail GTINs must be licensed from GS1.
使用方法
- Choose the format: Code 128, EAN-13 or UPC-A.
- Enter the content: any text for Code 128, 12 or 13 digits for EAN-13, 11 or 12 for UPC-A.
- Run it and download the SVG.
- Print a test label and scan it before printing in bulk.
计算原理
ReportLab’s barcode module draws the symbol (bar height 70 units, human-readable text) and writes SVG. EAN/UPC check digit = (10 − (weighted sum of digits with weights 3 and 1 from the right) mod 10) mod 10.
计算示例
A small library labels its board-game collection with Code 128 barcodes such as GAME-0042. A food producer who already has a GS1 company prefix creates the EAN-13 image for 0628912345678 to send to the packaging printer; the tool confirms that the final 8 is the correct check digit.
局限性
- Three formats only.
- No colour or size options beyond scaling the SVG.
- Does not register or validate ownership of product numbers.
最后更新:
常见问题
Can I make up an EAN for my product?
No. Retailers require GTINs licensed from GS1; invented numbers can clash with real products.
Why SVG?
SVG scales to any size without blurring, which printers prefer.
Which format should I use for internal labels?
Code 128: it encodes letters and numbers compactly.
故障排除
“Invalid input” for EAN-13.
Enter 12 digits, or 13 with a correct check digit.
Scanner will not read the print.
Print larger, in black on white, with clear space on both sides.
I need a PNG.
Open the SVG in a browser or editor and export it, or convert it with the SVG to PNG tool.
隐私 & 免费使用
我的输入会被保存吗?
此工具会将文件或输入上传到我们的隔离处理器。任务完成后会删除工作文件。请勿提交敏感或机密材料。
这个工具免费吗?
是的。无需注册或付费。