Barcode Generator — Code 128, EAN, UPC & More
Create standard 1D and 2D barcodes including Code 128, EAN-13, UPC-A, and Data Matrix with instant SVG/PNG export.
Barcode Generator
Preview ↓High-density alphanumeric linear barcode for shipping, inventory, and packaging.
SVG is recommended for physical printing. PNG is ready for digital usage.
Explore Barcode Symbologies & Compliance Standards
Compare specifications, character sets, and industry standards across all supported 1D linear and 2D matrix symbologies.
Code 128 Barcode
ISO/IEC 15417High-density linear symbology encoding full ASCII 128 character set. The universal standard for shipping labels, carton tracking, and warehouse inventory.
- E-commerce shipping labels
- Warehouse bin & pallet tracking
EAN-13 (GTIN-13) Retail
GS1 / ISO/IEC 15420Global standard 13-digit product barcode scanned at supermarket and retail checkouts everywhere outside North America.
- Retail consumer goods packaging
- Book ISBN identifiers (Bookland)
UPC-A (GTIN-12) Retail
GS1 / ISO/IEC 15420The definitive 12-digit point-of-sale barcode across the United States and Canada. Universal checkout standard for North American retail items.
- US & Canadian retail merchandise
- Grocery store scanner checkouts
Code 39 (3 of 9) Barcode
ISO/IEC 16388Rugged alphanumeric industrial symbology widely mandated across automotive, aerospace, defense (LOGMARS), and electronics manufacturing.
- Automotive parts manufacturing
- Military & defense asset tags (LOGMARS)
Data Matrix 2D Code
ISO/IEC 16022Ultra-compact two-dimensional matrix symbology capable of encoding high data density in microscopic footprints. Standard for electronics and pharmaceutical serialization.
- Direct Part Marking (DPM) on microchips
- Pharmaceutical serialization & FDA UDI
EAN-8 (GTIN-8) Compact
GS1 / ISO/IEC 15420Short 8-digit retail barcode designed specifically for small product packages where standard EAN-13 would occupy too much label real estate.
- Cosmetics & lipstick tubes
- Confectionery & candy bars
UPC-E Zero-Suppressed
GS1 / ISO/IEC 15420Zero-suppressed compact variation of UPC-A compressing 12-digit codes into 8 digits for tiny retail packaging across North America.
- Chewing gum packages
- Single-serve snack packs
ITF-14 (GTIN-14) Shipping
GS1 / ISO/IEC 16390Heavyweight 14-digit outer carton barcode featuring thick bearer bars that prevent misreads on corrugated cardboard surfaces.
- Corrugated shipping master cartons
- Warehouse pallet outer cases
Interleaved 2 of 5 (ITF)
ISO/IEC 16390High-density continuous numeric symbology that encodes digits in pairs (one in bars, one in spaces). Classic standard for industrial cartons.
- Industrial carton identification
- Ticketing & baggage routing
PDF417 Stacked 2D
ISO/IEC 15438Stacked two-dimensional linear symbology capable of holding kilobytes of structured data, biometric records, or digital signatures without network access.
- Airline boarding passes (BCBP)
- Driver licenses & national ID cards
GS1 Check Digit Calculator
GS1 Modulo-10 AlgorithmCalculates missing GS1 Modulo-10 verification digits for GTIN-8, GTIN-12, GTIN-13, and GTIN-14 numbers before packaging printing.
- Packaging artwork preflighting
- ERP / inventory SKU data validation
GTIN / EAN / UPC Validator
GS1 Standard VerificationValidates full GTIN strings, verifies mathematical check digit consistency, identifies packaging tier, and checks against GS1 structural rules.
- Quality assurance inspection
- Amazon listing SKU verification
Generated entirely in your browser without network requests. Renders standard symbology geometry locally — creating a barcode image does not issue, register, or license a GS1 identifier.
How to Use
- Choose your barcode symbology (e.g. Code 128, EAN-13, UPC-A, Code 39, or Data Matrix).
- Enter your product code, SKU, or serial number in the data input field.
- For retail standards (EAN/UPC), the tool automatically validates and computes GS1 check digits.
- Adjust sizing, height, margins, or colors under Appearance Settings if desired.
- Click 'Download SVG' for high-resolution vector print or 'Download PNG' for digital use.
About This Format
Barcodes are optical, machine-readable representations of data. One-dimensional (1D) linear barcodes, such as Code 128, EAN-13, and UPC-A, vary the widths and spacings of parallel lines to encode characters. Two-dimensional (2D) matrix barcodes, such as Data Matrix and PDF417, encode data horizontally and vertically in compact geometric patterns.
Validation & Technical Constraints
- Code 128 supports ASCII alphanumeric text and symbols.
- Code 39 requires uppercase letters, numbers, and supported punctuation (- . $ / + % space).
- EAN-13 requires 12 or 13 numeric digits with a standard GS1 Modulo-10 check digit.
- UPC-A requires 11 or 12 numeric digits with a standard GS1 Modulo-10 check digit.
- Interleaved 2 of 5 (ITF) requires numeric digits and an even character count.
Examples
Code 128 Shipping Label
PROD-2026-X1
EAN-13 Retail Product Code
5901234123457
UPC-A Retail Item Code
012345678905
Frequently Asked Questions
Yes, provided you own or have licensed an authorized GS1 GTIN/UPC prefix from GS1 for retail distribution. Our tool generates standard-compliant vector SVG barcodes ready for high-resolution commercial printing.
No. This tool generates a barcode image from a number you provide. It does not issue, register, or license GS1 identifiers or company prefixes.
SVG is a resolution-independent vector graphic format. Printing an SVG barcode ensures bar edges remain razor-sharp at any printer resolution (DPI) without anti-aliasing blur that can degrade optical scanner read rates.
No. All barcode calculations, check digit verifications, and vector renderings execute entirely inside your web browser via client-side code.