Barcode Generator
Create CODE128, EAN, UPC, CODE39 and ITF-14 barcodes and download them as SVG or PNG.
Runs entirely in your browser.
Barcode Generation Tool
Any text or numbers.
About Barcodes
A barcode encodes data as a pattern of parallel bars and spaces that an optical scanner can read in a fraction of a second. Different "symbologies" exist for different jobs: EAN-13 and UPC-A are the codes on retail products worldwide, EAN-8 is their compact variant for small packages, ITF-14 marks shipping cartons, while CODE128 and CODE39 are general-purpose formats used in logistics, tickets, badges, and inventory labels.
Numeric retail formats have strict rules: EAN-13 needs exactly 12 digits (a 13th check digit is calculated automatically, or validated if you provide it), EAN-8 needs 7-8 digits, UPC-A needs 11-12, and ITF-14 needs 13-14. CODE128 is the most flexible - it can encode any ASCII text and is usually the right choice when you just need "a barcode" and do not have to follow a retail standard.
This generator draws the barcode as a crisp, scalable SVG using the open source JsBarcode library (MIT license), entirely in your browser. Download as SVG for print and design work (it scales with no quality loss), or as a high-resolution PNG (rendered at 2x scale) for documents and web pages.