条形码生成器

在浏览器中即时生成专业条形码。支持 CODE128、EAN-13、UPC-A、CODE39、ITF 和 MSI 格式。可下载为 PNG 或 SVG。100% 免费且保护隐私。

关于条形码生成器

条形码是机器可读的光学标签,用于编码所附着物品的数据。本工具使用 JsBarcode 库在您的浏览器中生成条码 — 数据不会发送到任何服务器。

功能特点

How to Use the Barcode Generator

  1. Select a barcode format from the dropdown (CODE128, EAN-13, UPC-A, CODE39, ITF-14, or MSI).
  2. Enter the data you want to encode in the barcode data field.
  3. Adjust barcode width, height, colors, and margin using the options panel.
  4. Toggle the "Show Text Label" option to display or hide the human-readable text below the barcode.
  5. Click "Generate Barcode" to preview the barcode in real-time.
  6. Download the barcode as PNG or SVG, or copy the data to use elsewhere.

Common Use Cases

Frequently Asked Questions

What barcode formats are supported?

This generator supports six popular formats: CODE128 (general purpose, high density), EAN-13 (retail products, 13 digits), UPC-A (North American retail, 12 digits), CODE39 (industrial, alphanumeric), ITF-14 (shipping containers), and MSI (inventory).

Is this barcode generator free?

Yes, completely free. No signup, no watermarks, no usage limits. Generate as many barcodes as you need for personal or commercial use.

Are the generated barcodes scannable?

Yes, all barcodes generated by this tool are fully scannable by standard barcode scanners and smartphone camera apps. They follow official barcode specifications and encoding standards.

What is the difference between PNG and SVG downloads?

PNG is a raster image format best for digital use and printing at standard sizes. SVG is a vector format that scales infinitely without losing quality, making it ideal for professional printing on large packaging or high-resolution displays.

What is a checksum and why does it matter?

A checksum is a validation digit automatically calculated and appended to barcode data (in EAN-13 and UPC-A). It ensures the barcode scans correctly and prevents errors. If you provide 12 digits for EAN-13, the tool auto-calculates the 13th checksum digit.

Can I use these barcodes for commercial products?

Yes, but note that retail barcodes (EAN-13, UPC-A) for commercial products should ideally be registered with GS1 to ensure global uniqueness. For internal use, prototypes, or testing, unregistered barcodes work fine.

Why is my barcode not scanning?

Common issues: (1) Invalid data format for the chosen barcode type, (2) Barcode too small or low contrast, (3) Poor print quality. Ensure the barcode has sufficient quiet zone (white space) around it and is printed at an adequate size.

Can I customize the barcode appearance?

Yes. You can change bar width, height, bar color, background color, margin, and font size. You can also show or hide the text label below the barcode.

Related Tools