📊1D Barcode Generator (EAN-13, UPC-A, Code128) Documentation & Guide
📋How to Create Vector SVG Barcodes
- Choose Symbology: Select Code 128B for general ASCII/SKU labels or EAN-13 for 12/13-digit retail barcodes.
- Enter Barcode Value: Type alphanumeric SKU text or 12–13 EAN digits (EAN-13 auto-computes check digit from 12 digits).
- Generate & Download SVG: Click Generate Barcode to render crisp vector `
` bars and download print-ready SVG.
⚙️ISO/IEC 15417 Code 128B & EAN-13 Modulo-10 Bit Encoding▼
Encodes genuine ISO barcode bar-width patterns directly as SVG rectangles with human-readable monospace footer labels — calculating exact Code 128 weighted Mod-103 checksum symbols and EAN-13 weighted Mod-10 check digits offline.
📐Formula & Mathematical Architecture▼
EAN-13 Check = (10 − (Σ deven + 3 Σ dodd) mod 10) mod 10
🧮Concrete Worked Examples▼
Symbology: Code 128B, Payload: MOT-2026-SKUCrisp vector SVG with Start B + Mod-103 check + Stop patternReady for any laser or handheld USB barcode scanner.
12-digit base: 400638133393Full EAN-13: 4006381333931 (auto check digit = 1)Calculates exact GS1 Mod-10 final check digit automatically.
⚠️Common Pitfalls & Edge Cases▼
- ⚠️Entering non-ASCII emojis inside Code 128B labels (Code 128B supports printable 7-bit ASCII 32–126).
- ⚠️Printing barcodes with dark background ink instead of solid black bars on bright white quiet zones.
- ⚠️Entering 11 digits into EAN-13 instead of 12 or 13 digits.
💡Inventory, Retail & Logistics▼
- Printing warehouse bin SKU labels (Code 128B) directly from browser without paid label software.
- Verifying EAN-13 product barcode check digits before packaging print runs.