QR Code, Barcode & Data Matrix – Logo, Batch, GS1-128, Reader | SVG & PNG
QR Code, Barcode & Data Matrix Generator – Reader, SVG & PNG
Four tabs in one page: generate QR codes (text, URL, WiFi, vCard, email, phone, SMS, GS1 Digital Link, or a batch sheet), 1D barcodes (EAN-13, EAN-8, UPC-A, CODE128, GS1-128, CODE39, CODE93, ITF, Codabar, Code11), ECC200 / GS1 Data Matrix, and decode any of those from an uploaded image or a live camera scan. Custom foreground and background colors and SVG or PNG download apply to every generator. Optional center logo and human-readable barcode digits are included.
Encoding and decoding run locally in WebAssembly. Nothing is uploaded—WiFi passwords, contact cards, product codes, and scan images stay on your device.
How This Tool Works
Pick a tab. Generator tabs update the preview as you type. The Reader tab auto-detects QR, 1D barcodes, and Data Matrix in PNG, JPEG, WebP, GIF, BMP, or SVG, including files you previously downloaded from this page, or in a live camera scan that stops when a symbol is read.
Key Features:
- QR payloads: Text, URL, vCard, WiFi (WPA/WPA2/WEP), mailto, tel, SMS, GS1 Digital Link, and batch (one per line)
- QR branding: Center logo overlay; High (30%) error correction is recommended and auto-selected when a logo is added
- QR error correction: Low (7%) through High (30%) Reed–Solomon redundancy
- 1D barcodes: EAN-13, EAN-8, UPC-A, CODE128, GS1-128, CODE39, CODE93, ITF, Codabar, Code11, with optional digits under the bars
- Data Matrix: ECC200 symbols, optional GS1/FNC1, adjustable module size
- Reader: Drag-and-drop or live camera scan; UTF-8 including Hangul; copy decoded text
- Branding & contrast: Custom foreground and background hex colors on all generators
- Export: SVG (print) or PNG (web); copy QR SVG or PNG data URL
- Privacy: No account; processing stays on your device
1D Barcode Generator
Use the Barcode tab for retail and logistics labels. Formats: EAN-13, EAN-8, UPC-A, CODE128, GS1-128 (Code 128 + FNC1), CODE39, CODE93, ITF (Interleaved 2 of 5), Codabar, and Code11. GS1 payloads use parenthesized AIs such as (01)09501101020917(10)LOT42.
Set bar height, colors, and download SVG or PNG. Human-readable text is drawn under the bars by default. Insert example fills a valid sample for the selected format so you can preview immediately.
Data Matrix (ECC200)
Data Matrix is a compact 2D code used on small parts, PCBs, and healthcare packaging. This generator builds ECC200 symbols, with an optional GS1 / FNC1 mode for application identifiers. Matrix dimensions (10×10, 16×16, …) are chosen automatically from payload length; module size only scales each square in the download. Printable ASCII is the most reliable payload for handheld scanners.
Reader – Decode QR, Barcode & Data Matrix
Upload an image or start the camera for a live scan. The decoder searches for QR codes, 1D barcodes (including EAN-13, UPC-A, CODE128, CODE39, and common related formats), and Data Matrix without asking you to pick a type first. Live camera scan stops as soon as one symbol is read; uploaded images can list multiple symbols separately. Code 11 decodes from uploaded PNG/SVG (including exports from this tool) but not from the live camera. QR BYTE-mode payloads without ECI are recovered as UTF-8 when possible, so Hangul and other non-Latin text is not shown as mojibake. SVG from this generator can be decoded as well as raster screenshots.
Error Correction Levels Explained
QR codes include redundant data that allows them to be read even when partially damaged. Choosing the right error correction level depends on your use case:
Low (L) - 7% Recovery
Best for: Digital displays, clean environments, maximum data capacity
Use when the QR code will be displayed on screens or printed in controlled conditions where damage is unlikely.
Medium (M) - 15% Recovery
Best for: General purpose, good balance of size and reliability
The default choice for most applications. Offers a reasonable trade-off between data capacity and damage tolerance.
Quartile (Q) - 25% Recovery
Best for: Printed materials, outdoor use, moderate wear expected
Choose this when printing on materials that might get folded, scratched, or exposed to weather.
High (H) - 30% Recovery
Best for: Industrial use, harsh environments, logo overlays
Maximum redundancy. Essential when adding a logo to the center of your QR code or in industrial settings with potential damage.
Supported QR Data Types
Plain Text
Encode any text content. Perfect for simple messages, serial numbers, product codes, or any arbitrary string data.
URL
Link directly to websites. When scanned, most devices will offer to open the URL in a browser. Always include the protocol (https://) for best compatibility.
vCard (Contact)
Create digital business cards. Include name, phone, email, organization, title, website, and address. When scanned, the contact is ready to save with a single tap.
WiFi Network
Share WiFi credentials without typing passwords. Supports WPA/WPA2, WEP, and open networks. Perfect for guest access, cafes, or home automation.
Pre-compose emails with recipient, subject, and body. Scanning opens the email client ready to send—great for feedback forms or contact requests.
Phone Number
Dial numbers instantly. Scanning prompts the user to call the number. Useful for business cards, support lines, or emergency contacts.
SMS Message
Pre-fill text messages. Specify the recipient number and message content. Ideal for SMS shortcodes, voting, or customer engagement campaigns.
GS1 Digital Link
Enter a GS1 element string with parenthesized application identifiers. The tool builds a phone-scannable https://id.gs1.org/ URL (requires AI 01 GTIN). Use GS1-128 or GS1 Data Matrix when you need FNC1 for industrial scanners instead.
Batch (one per line)
Enter up to 36 payloads—one per line—and download a single SVG or PNG sheet with every QR code. Colors, error correction, module size, and an optional center logo apply to all codes on the sheet.
Practical Use Cases
1. Business & Marketing
- Business Cards: vCard QR codes let contacts save your info instantly without manual typing
- Product Packaging: Link to manuals, registration, or promotional content; EAN-13 and UPC-A for retail SKUs
- Event Tickets: Encode booking references for quick check-in
- Promotional Materials: Drive traffic to landing pages, social media, or app stores
2. Home & Personal
- WiFi Sharing: Print a QR code near your router for guests to connect easily
- Contact Sharing: Share your phone number at meetups or conferences
- Smart Home: Label devices with setup instructions or network info
3. Development & Testing
- App Deep Links: Test URL schemes and universal links on mobile devices
- Configuration: Encode JSON or other data for quick device setup
- Debugging: Share localhost tunnel URLs with teammates
- Round-trip: Generate a symbol, then decode it in the Reader tab from SVG, an upload, or a live camera scan
4. Education, Events & Industry
- Resource Links: Add QR codes to presentations or handouts for additional materials
- Attendance: Create check-in codes for events or classes
- Small-part marking: Data Matrix on PCBs, tools, and healthcare labels where QR is too large
Design Best Practices
- Maintain Contrast: Dark modules on light background works best. Avoid similar colors or gradients that reduce contrast.
- Size Matters: Ensure the QR code is large enough for reliable scanning. Minimum 2cm × 2cm for print, larger for distance scanning.
- Quiet Zone: Keep margin (quiet zone) enabled to help scanners detect the code boundaries.
- Test Before Printing: Always scan your QR code with multiple devices before mass production. The Reader tab can check a screenshot or the downloaded SVG.
- Choose SVG for Print: Vector format scales infinitely without quality loss—ideal for print materials.
- Use PNG for Web: Raster format with fixed dimensions works well for digital displays and social media.
Frequently Asked Questions
Q: How much data can a QR code hold?
A: Maximum capacity depends on the content type and error correction level. Numeric data: up to 7,089 characters. Alphanumeric: up to 4,296 characters. Binary/UTF-8: up to 2,953 bytes. Higher error correction reduces capacity.
Q: Will my QR code work on all phones?
A: Yes, modern smartphones (iOS 11+ and Android 8+) can scan QR codes directly with the camera app. Older devices may require a dedicated scanner app. vCard, WiFi, and email formats are universally supported.
Q: Can I add a logo to my QR code?
A: Yes. In QR Generator, upload a PNG, JPEG, WebP, GIF, or BMP logo. It is placed in the center with a quiet pad. Use High error correction (30%) so scanners can still read the code. Keep the logo small—about 15–20% of the symbol width.
Q: How do I generate many QR codes at once?
A: Choose Batch (one per line) as the content type, enter one payload per line (up to 36), and download a single SVG or PNG sheet. Colors, error correction, module size, and an optional center logo apply to every code on the sheet.
Q: Do QR codes expire?
A: Static QR codes (like those generated here) never expire. The encoded data is permanent. However, if you encode a URL, the destination website could change or go offline.
Q: What 1D barcodes can I generate?
A: The Barcode tab generates EAN-13, EAN-8, UPC-A, CODE128, GS1-128 (Code 128 with FNC1), CODE39, CODE93, ITF (Interleaved 2 of 5), Codabar, and Code11. Optional human-readable text is drawn under the bars. Download SVG or PNG with custom colors and bar height.
Q: What is Data Matrix compared to a QR code?
A: Data Matrix (ECC200) is a compact 2D code used on small parts, electronics, and healthcare labels. It typically encodes less public marketing content than QR and is better when space is tight. This tool generates ECC200 symbols, optional GS1 Data Matrix with FNC1, and can decode them in the Reader tab.
Q: How do I encode GS1 data?
A: Use parenthesized application identifiers such as (01)09501101020917(17)251231(10)LOT42. QR Generator GS1 Digital Link builds a phone-scannable https://id.gs1.org/ URL. GS1-128 barcodes and GS1 Data Matrix insert FNC1 for industrial scanners. Variable-length AIs are terminated with FNC1 except at the end of the symbol.
Q: Can I decode a QR code, barcode, or Data Matrix from an image?
A: Yes. Open the Reader tab, upload PNG, JPEG, WebP, GIF, BMP, or SVG, or start a live camera scan. The camera stops as soon as a symbol is read. The decoder auto-detects QR, 1D barcodes, and Data Matrix. UTF-8 text including Hangul is recovered when the symbol used BYTE mode without ECI. Decoding runs locally in the browser.
Q: Is my data private?
A: Absolutely. Generation and decoding happen in your browser using WebAssembly. No payloads, images, or WiFi passwords are transmitted to a server.
Q: Why choose SVG over PNG?
A: SVG is vector-based and scales to any size without losing quality—perfect for print. PNG is rasterized at a fixed resolution, better for web use where file size and broad compatibility matter. All generator tabs support both.
Related Tools
- Password Generator - Create strong passwords and tokens with adjustable length, character sets (upper, lower, digits, symbols), exclude ambiguous characters, and optional pronounceable or passphrase modes—generated locally in your browser.
- UUID Generator - Generate cryptographically random UUID v4 values with one click using your browser’s secure RNG and WebAssembly. RFC 4122 compliant, copy to clipboard, no server—ideal for IDs and testing.
- Mock Data Generator - Free online mock data generator. Build a custom field schema and generate up to 1,000 rows of realistic fake data in JSON, CSV, or SQL INSERT format. 20 field types: Auto Increment, UUID, Name, Username, Email, Phone, Integer, Float, Boolean, Timestamp, Date, URL, IPv4, IPv6, MAC Address, Hex Color, Lorem Text, Country, Enum, Custom Fixed. Name and Phone in 12 languages. Lorem Ipsum generator in 13 languages. All processing runs locally — no data sent to any server.
Content Type
QR Code Settings
- Upload a small center logo and keep High error correction so the code stays scannable.
- Batch mode places one QR per line on a single downloadable sheet.
- Higher error correction keeps QR codes readable when printed small or partially obscured.
- Use strong contrast between dark modules and the background for reliable scanning.
- WiFi QR codes let guests join your network without typing the password.
- vCard QR codes work well on business cards, posters, and event badges.