Barcode Generator
Generate Code 128, EAN-13, and QR barcodes and download them as SVG or PNG with our free barcode generator. Customize bar width, height, colors, and QR error correction levels. EAN-13 check digits are calculated automatically from 12 digits. All barcode generation runs locally in your browser — no signup required.
Generate Code 128, EAN-13, and QR barcodes and download them as SVG or PNG. All barcode generation runs locally in your browser — no data is sent to any server.
Any printable ASCII characters (space through ~)
Why Use Our Barcode Generator?
Fast, accurate, and fully configurable barcode generation with SVG and PNG export
Instant Barcode Generation
Generate Code 128, EAN-13, and QR barcodes in milliseconds directly in your browser. Our barcode generator produces pixel-perfect SVG and PNG output with no server round-trips or upload delays.
Secure Barcode Generator Online
All barcode generation runs locally in your browser. Your barcode data, product codes, and URLs never leave your device when you use our barcode generator online — 100% private, completely offline-capable.
Barcode Generator Online — No Installation
Use our free barcode generator directly in any modern browser with no downloads, plugins, or software required. Generate barcodes for any format from any device, anywhere, completely free.
SVG and PNG Download
Download every barcode as a scalable SVG vector file for print and design work, or as a PNG raster image for web and digital use. Both formats are generated instantly with every barcode.
Common Use Cases for Barcode Generator
Practical applications for Code 128, EAN-13, and QR barcode generation
Retail Product Labeling
Generate EAN-13 barcodes for retail product labels, packaging, and price tags. Our barcode generator produces print-ready SVG output that scales to any size without quality loss.
Inventory and Asset Tracking
Create Code 128 barcodes for inventory management, asset tags, and warehouse labels. Code 128 encodes any printable ASCII text — serial numbers, SKUs, and location codes.
QR Codes for Marketing
Generate QR codes for product packaging, business cards, posters, and marketing materials. Our barcode generator supports custom colors and sizes for brand-consistent QR output.
ISBN and Book Barcodes
Generate EAN-13 barcodes from 13-digit ISBN numbers for book covers and publishing workflows. Enter 12 digits and the check digit is calculated automatically.
Event Ticketing and Check-In
Create Code 128 or QR barcodes for event tickets, boarding passes, and access control systems. Download as PNG for digital tickets or SVG for print-quality output.
Developer Testing and Prototyping
Generate test barcodes for scanner integration, POS system testing, and barcode reader development. Our barcode generator produces spec-compliant output for all three formats.
Understanding Barcode Formats
Learn about Code 128, EAN-13, and QR codes and when to use each format
What is a Barcode Generator?
A barcode generator is a tool that converts text or numeric data into a machine-readable barcode image. Barcodes encode information as a pattern of parallel bars and spaces (1D barcodes) or as a 2D matrix of dots (QR codes) that scanners and cameras can read instantly. Our barcode generator supports three widely-used formats — Code 128, EAN-13, and QR Code — and generates both SVG vector and PNG raster output entirely in your browser with no server upload required.
How Our Barcode Generator Works
- Select a Format and Enter Data: Choose Code 128 for text and URLs, EAN-13 for 12-digit product codes, or QR for any content. Enter your barcode data and configure size, colors, and display options.
- Instant Browser-Based Generation:Click "Generate Barcode" and the barcode is rendered entirely in your browser. No data is sent to any server. The barcode preview appears immediately with the correct symbology.
- Download SVG or PNG: Download the barcode as a scalable SVG file for print and design work, or as a PNG image for digital use. Both formats are generated with every barcode at no cost.
Barcode Format Comparison
- Code 128: A high-density 1D barcode that encodes all 128 ASCII characters — letters, numbers, and symbols. Used for shipping labels, inventory tags, and serial numbers. Our barcode generator uses Code 128B, which supports all printable ASCII characters from space (32) through tilde (126).
- EAN-13: A 13-digit numeric barcode used globally for retail products, books (ISBN), and consumer goods. The 13th digit is a check digit calculated from the first 12 — our barcode generator computes it automatically when you enter 12 digits.
- QR Code: A 2D matrix barcode that encodes URLs, text, vCards, Wi-Fi credentials, and more. QR codes are scannable by any smartphone camera and support four error correction levels (L, M, Q, H) that control how much of the code can be damaged while still scanning correctly.
- SVG vs PNG Output: SVG is a vector format that scales to any size without pixelation — ideal for print, packaging, and design files. PNG is a raster format suitable for web pages, digital tickets, and email attachments.
Important Notes on Barcode Accuracy
Our barcode generator produces spec-compliant output for all three formats. Code 128 barcodes include the correct start character, check symbol, and stop character per the Code 128 specification. EAN-13 barcodes include the correct check digit and guard bars per the GS1 specification. Always test generated barcodes with a physical scanner before printing at scale — scanner performance can vary based on print quality, bar width, and contrast. For retail use, ensure your EAN-13 prefix is registered with GS1 for your country.
Related Tools
RSA/ECDSA Key Generator
Generate cryptographically secure RSA and ECDSA public/private key pairs using the Web Crypto API - Free online key generator
Cryptographically Secure Password Generator
Generate high-entropy passwords with browser cryptographic randomness and policy controls - Free secure password generator
UUID / GUID Batch Generator
Generate batches of up to 10,000 cryptographically secure UUID v4 (random) or UUID v7 (time-ordered) identifiers in your browser - Free online UUID generator
AES File Encryptor/Decryptor
Encrypt and decrypt files locally using AES-256-GCM with PBKDF2 passphrase-based key derivation - Free online AES file encryptor
Frequently Asked Questions About Barcode Generator
Common questions about Code 128, EAN-13, QR codes, and barcode output formats
A barcode generator converts text or numeric data into a machine-readable barcode image. Our barcode generator supports Code 128, EAN-13, and QR codes and runs entirely in your browser — no data is sent to any server — outputting both SVG and PNG formats. No signup required.
Our barcode generator supports three formats: Code 128 (any printable ASCII text — URLs, serial numbers, product codes), EAN-13 (13-digit retail product barcodes including ISBN), and QR Code (URLs, text, vCards, Wi-Fi credentials, and any other text content).
Yes. All barcode generation runs entirely in your browser using JavaScript. Your barcode data, product codes, and URLs are never sent to any server, stored, or logged. Everything stays completely private on your device.
Yes. Our barcode generator is 100% free with no signup, no account, and no usage limits. Generate as many barcodes as you need in any format — completely free, forever.
Select the EAN-13 format and enter 12 digits — the 13th check digit is calculated automatically. If you enter all 13 digits, the generator validates the check digit and shows an error if it is incorrect. EAN-13 only accepts numeric digits (0–9).
Code 128B supports all printable ASCII characters from space (32) through tilde (126) — letters, numbers, punctuation, and symbols. Control characters and non-ASCII characters are not supported. If your text contains unsupported characters, the generator will show a clear error message.
SVG is a vector format that scales to any size without pixelation — ideal for print, packaging, and design files. PNG is a raster format at a fixed pixel size — suitable for web pages, digital tickets, and email attachments. Our barcode generator produces both formats with every barcode.
Error correction controls how much of a QR code can be damaged or obscured while still scanning correctly. L (7%) is the smallest and densest. M (15%) is the default. Q (25%) is good for logos overlaid on QR codes. H (30%) provides the highest resilience but produces the largest QR code.
The barcode images generated by our tool are free to use for any purpose. However, for retail EAN-13 barcodes on commercial products, you must register your company prefix with GS1 (gs1.org) to obtain a legitimate GTIN. Using unregistered EAN-13 numbers on retail products may cause issues at point-of-sale systems.