Barcode Generator
Generate EAN-13, EAN-8, UPC-A, Code 128, Code 39, or ITF-14 barcodes in your browser and download PNG or SVG files.
Generate common 1D barcodes
Use this barcode generator to create a visual barcode for retail mockups, inventory labels, warehouse workflows, test fixtures, and internal IDs.
| Format | Typical use | Input |
|---|---|---|
| EAN-13 | Retail products outside North America | 12 digits; check digit is generated |
| EAN-8 | Small retail packages | 7 digits; check digit is generated |
| UPC-A | Retail products in the United States and Canada | 11 digits; check digit is generated |
| Code 128 | Shipping, logistics, and inventory | ASCII text |
| Code 39 | Industrial and legacy equipment | A-Z, 0-9, space, and selected symbols |
| ITF-14 | Cartons and trade item packaging | 13 digits; check digit is generated |
Commercial barcode limits
For products that will be sold through retail or marketplace channels, obtain and manage identifiers through the appropriate GS1 process or the platform rules that apply to your market.
Use SVG for print artwork and PNG for documents, previews, dashboards, or quick label tests. Always test printed labels with the scanner and size used in the real workflow.
EAN and UPC check digits
EAN-13, EAN-8, UPC-A, and ITF-14 include a check digit. The tool lets the barcode library calculate that final digit from the entered body value.
For EAN/UPC style codes, S is the weighted digit sum and d is the check digit.
Frequently Asked Questions
Sources and References
- GS1 General SpecificationsGS1
- 1D barcodes for general distribution, healthcare and logisticsGS1
- JsBarcodeGitHub
Calculations are based on the listed reference sources. Links open in a new tab.