Barcode Generator
Generate one-dimensional barcodes — Code128, EAN-13, UPC-A, and Code39 — as SVG or PNG, entirely in your browser. Distinct from QR codes (which are 2D matrix codes).
100% client-side · no upload
Symbology cheat sheet
- Code128: alphanumeric + symbols, compact, the everyday workhorse. Max ~80 chars.
- EAN-13: 13-digit retail standard outside North America (book ISBNs, EU retail).
- UPC-A: 12-digit retail standard in the US and Canada. (Encoded internally as EAN-13 with leading zero.)
- Code39: 1970s industrial standard; uppercase letters, digits, and a few symbols. Still common on inventory tags.
Common use cases
- Inventory labels: Code128 for warehouse asset tags scanned by handheld readers.
- Event tickets: Code128 with a UUID, printed on the ticket stub.
- Retail products: EAN-13 or UPC-A on packaging.
- Library / archives: Code39 for legacy shelf-management systems.
Related: QR Code Generator · Placeholder Images · All code tools