Barcode Generator
Barcode
A barcode is a machine-readable representation of data using parallel lines of varying width. Different formats serve different industries: Code 128 handles any ASCII text and is common in shipping and logistics, EAN-13 is the standard for retail products worldwide, and UPC-A is used primarily in North American retail.
1.
Enter the text or number to encode
2.
Select a barcode format - Code 128 works for any text; EAN-13 and UPC-A require specific digit counts
3.
Download as SVG or PNG
▸
Generating barcodes for product labels or inventory management
▸
Creating barcodes for internal tracking systems
▸
Testing barcode scanner integrations during development
Which barcode formats are supported?
The tool supports Code 128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, and MSI via the JsBarcode library.
What is the difference between Code 128 and EAN-13?
Code 128 can encode any ASCII character and is used for general-purpose barcodes (shipping, inventory). EAN-13 encodes exactly 13 digits and is the standard barcode format for retail products worldwide.
Can I download the barcode?
Download as SVG for a scalable vector file suitable for print, or as PNG for raster use.
Is my data sent to a server?
Barcode generation runs entirely in your browser using the JsBarcode library. No data is transmitted anywhere.
What happens if my input is invalid for the selected format?
Some formats have strict requirements (e.g., EAN-13 requires exactly 12 or 13 digits - if you enter 12, the check digit is added automatically; if you enter 13, it must be valid). An error is shown if the input does not match the format's requirements.