Vector Barcode Generator (Code 128, EAN-13, UPC-A, Code 39)
Code128 • EAN • UPC • ITFVector SVG & Crisp PNG ExportGenerate vector SVG and crisp PNG barcodes for retail, inventory, and logistics with customizable height, text labels, and color. Zero external servers, Zero Input Uploads, and instantaneous client-side calculation.
Barcode Symbology & Data
LogisticsHigh-density alphanumeric barcode standard used worldwide for logistics, supply chain, and warehouse labels. Automatically switches between character sets A, B, and C.
Human-Readable Text Label
Geometry & Color System
Scanner Optical SettingsBarcode Symbology Reference Guide
Select the optimal barcode format for retail point-of-sale, industrial inventory, and global logistics.
| Symbology | Standard Authority | Character Set | Capacity / Length | Checksum | Primary Application |
|---|---|---|---|---|---|
| Code 128 | ISO/IEC 15417 | All 128 ASCII | Variable (1 - 80+) | Modulo 103 (Internal) | Logistics, shipping labels, GS1-128 |
| EAN-13 | GS1 / ISO 15420 | Numeric (0-9) | Fixed 13 Digits | GS1 Modulo-10 | Global supermarket & retail checkout |
| UPC-A | GS1 US | Numeric (0-9) | Fixed 12 Digits | Modulo-10 | United States & Canadian retail items |
| EAN-8 | GS1 | Numeric (0-9) | Fixed 8 Digits | Modulo-10 | Small packages, confectionery, cosmetics |
| ITF-14 | GS1 General Specs | Numeric (0-9) | Fixed 14 Digits | Modulo-10 | Master cartons, corrugated freight boxes |
| Code 39 | ISO/IEC 16388 | A-Z, 0-9, Symbols | Variable | Optional Modulo-43 | Automotive (AIAG), Defense (DoD LOGMARS) |
Always maintain empty quiet zones on both left and right margins of at least 10 times the narrowest bar width (minimum 6mm). Optical scanners rely on quiet zones to identify start patterns.
Barcode laser scanners use red 630-670nm diodes. Bars must absorb red light (pure black or dark blue), while backgrounds must reflect red light (white or yellow). Never print red bars on white!
For commercial label printing and packaging dies, always download Vector SVG. SVG scales to 300+ DPI without pixel blur or edge bleed that cause scanner decoding failures.
Universal 1D Symbology Support
Supports GS1 compliant EAN-13, UPC-A, high-density Code 128 (Auto/A/B/C), industrial Code 39, and logistics ITF-14.
Infinitely Scalable Vector SVG
Renders exact mathematical line coordinates into pure vector SVG code for razor-sharp retail packaging and thermal label printing.
Automated Modulo-10 Check Digit Validation
Calculates and validates standard modulo check digits in real-time, preventing scanner rejection in warehouse inventory systems.
Vector Barcode Generator (Code 128, EAN-13, UPC-A, Code 39) — Reference Guide
Generate enterprise-grade linear 1D barcodes with custom quiet zones, check-digit computation, human-readable labels, and instant vector SVG and PNG downloads.
Key Parameters & Controls
| Parameter | Type / Unit | Description | Default |
|---|---|---|---|
| Barcode Symbology | selection | 1D encoding standard: Code 128 (Auto/A/B/C), EAN-13, UPC-A, Code 39, or ITF-14. | CODE128 |
| Input Value / Payload | string | Alphanumeric string or numeric sequence to encode into barcode bars. | TOOLS-AA-2026 |
| Bar Width Multiplier | number | Horizontal scaling factor for narrow and wide bar module dimensions. | 2 |
| Bar Height (px) | integer | Vertical pixel height of the barcode lines excluding text labels. | 100 |
Pro Tips & Best Practices
Always maintain a minimum quiet zone (blank margin) of at least 10 times the width of the narrowest bar module on both horizontal sides. Insufficient margins cause barcode scanners to misread the boundary.
UPC-A (12 digits) is predominantly used in the United States and Canada, while EAN-13 (13 digits) is the global GS1 retail standard. Any UPC-A barcode can be converted to an EAN-13 by prepending a leading zero (0).
Always export in vector SVG for physical retail packaging or thermal label printing. Bitmaps (PNG/JPG) can introduce antialiasing blur along line edges, degrading optical scan rates.
Common Gotchas & Troubleshooting
⚠️Invalid check digit error on EAN-13 / UPC-A
Our generator automatically calculates the final modulo-10 check digit. Provide the first 12 digits for EAN-13 or 11 digits for UPC-A to let the tool auto-complete.
⚠️Barcode not detected by handheld scanner
Check your background and line contrast. Red laser scanners require dark lines (black/dark blue) against white or light yellow backgrounds; never use red bars on white backgrounds as red lasers cannot differentiate them.
Frequently Asked Questions
What is the difference between Code 128 and Code 39?▼
Code 128 has much higher information density and supports all 128 ASCII characters (including lowercase and symbols), whereas Code 39 only encodes uppercase letters, numbers, and a few punctuation marks.
Can I use generated barcodes on commercial retail products?▼
Yes, but to sell products in major retail supermarkets or Amazon, you must officially register an authentic GS1 company prefix for your EAN/UPC numbers.
Does this tool transmit barcode numbers to external servers?▼
No. All barcode mathematical encodings, parity calculations, and SVG/PNG canvas renderings occur entirely in-browser.
How do I print barcodes at the highest possible quality?▼
Download the vector SVG file. SVG maintains infinite resolution and can be scaled to any DPI or label dimension without raster pixelation.
Related Tools & Utilities
All Tools →Scan QR codes and barcodes instantly online using your webcam, camera, or image file upload. Decodes WiFi, vCards, URLs, and 2FA secrets 100% locally in browser.
Create high-resolution QR codes for URLs, Wi-Fi networks, vCards, emails, phone numbers, and plain text with custom color palettes and SVG/PNG export.
Design beautiful, branded QR codes with custom dot shapes, corner eye styles, gradient backgrounds, and embedded center logos with high error correction.
Generate custom WiFi QR codes instantly with real-time vector preview. Supports WPA3, WPA2, WEP, and hidden networks. Download high-res SVG, PNG, or print guest signs and table tents.
Decode Morse code from audio files or live microphone in real time. Features automatic carrier frequency detection, adaptive noise filtering, WPM tracking, and live spectrogram.
Create contact vCard 3.0/4.0 QR codes containing full name, phone number, email, company, title, address, and website for instant scanning into smartphone address books.