QR Code Generator
Create and download customized QR codes for URLs, text, and contacts.
Developer Utility & Security Suite
A connected toolkit for web developers: validate payloads, secure credentials, optimize frontend assets, and budget LLM deployments entirely inside your browser.
Convert dynamic JSON payloads into clean, strongly-typed TypeScript interfaces.
Prettify, minify, and validate JSON syntax errors with line-by-line linting.
Encode and decode strings, API tokens, and binary assets safely client-side.
Generate and verify Blowfish cryptographic password hashes with custom salt rounds.
Create high-entropy passwords using system hardware entropy with zero tracking.
Validate environment variable files for POSIX syntax and scan for accidental token leaks.
Minify vector markup, strip editor namespaces, and round coordinates offline.
Generate balanced 50 to 950 color shade scales and export tailwind.config blocks.
Calculate prompt tokens and project API costs for GPT-4o, Claude 3.5, and Gemini.
How to Use
Enter your content or URL
Type the URL, text, contact info, or WiFi credentials to encode in the QR code.
Customize the appearance
Choose foreground and background colors to match your brand or design requirements.
Set error correction level
Choose Low (7%) for small simple codes, or High (30%) for print materials that may be partially obscured.
Download and test
Download the QR code as PNG or SVG, then test it with multiple scanner apps before using.
The Engineering of Two-Dimensional Barcodes: QR Code Architecture and Error Correction
Quick Response (QR) codes have transformed how physical reality connects with digital software. Invented in 1994 by Masahiro Hara and his team at Japanese automotive manufacturer Denso Wave, QR codes were engineered to track industrial car components through assembly lines. Traditional 1D linear barcodes (like UPC codes on grocery items) can only store roughly 20 alphanumeric characters along a single horizontal axis. By encoding data across both horizontal and vertical matrix planes, QR codes can store hundreds of times more data in a fraction of the physical surface area.
The Local QR Code Generator compiles text, URLs, Wi-Fi credentials, and contact cards into standards-compliant ISO/IEC 18004 QR code matrix bitmaps directly in your browser without transmitting your data across the internet.
Anatomical Structure of a QR Code Matrix
A QR code is not a random collection of black and white squares (known as modules); it is a meticulously structured geometric grid comprising several functional zones:
- Finder Patterns (Position Detection): The three distinctive square targets located at the top-left, top-right, and bottom-left corners. Each target consists of a $7 imes 7$ dark square, a $5 imes 5$ light ring, and a $3 imes 3$ central dark square. This universal slug: 'qr-code-generator', categoryId: 'developer-tools', description: 'Create and download customized QR codes for URLs, text, and contacts.', metaTitle: 'Free QR Code Generator | Make Custom QR Codes', metaDescription: 'Generate custom QR codes for web links, text, emails, or phone numbers. Download instantly in high quality PNG format.', iconName: 'qr-code', keywords: ["qr code generator", "code generator", "generator create", "download customized", "urls text", "contacts developer", "developer tools", "code"], :1:3:1:1$ visual ratio allows smartphone cameras to recognize, orient, and decode the code from any 360-degree viewing angle in milliseconds.
- Alignment Patterns: Smaller square concentric markers embedded across larger QR versions (Version 2 and above). These markers compensate for optical distortion when scanning codes printed on curved packaging or photographed at acute angles.
- Timing Patterns: Alternating dark and light module tracks connecting the finder patterns horizontally and vertically, establishing the coordinate grid dimensions.
- Quiet Zone: A mandatory blank border surrounding the entire QR matrix. Standards require a quiet zone of at least 4 modules wide to prevent surrounding graphics or typography from corrupting the optical scanner's edge-detection algorithm.
Reed-Solomon Error Correction Levels
One of the most powerful features of QR code architecture is its ability to scan successfully even if the physical surface is dirty, torn, scuffed, or partially obstructed by a company logo. This resilience is achieved using Reed-Solomon Error Correction, a polynomial error-correction algorithm originally developed for deep-space telecommunications.
| Correction Level | Data Recovery Capacity | Matrix Module Density | Recommended Real-World Usage |
|---|---|---|---|
| Level L (Low) | Up to 7% damage recovery | Lowest (cleanest, largest dots) | Clean digital screens, simple URLs with high visual clarity requirements. |
| Level M (Medium) | Up to 15% damage recovery | Moderate (standard balance) | Standard default: Marketing materials, flyers, restaurant digital menus. |
| Level Q (Quartile) | Up to 25% damage recovery | High density | Industrial environments, shipping labels, outdoor street signage. |
| Level H (High) | Up to 30% damage recovery | Maximum module density | Branded codes with custom company logos embedded over the center matrix. |
Best Practices for Scannability
To guarantee that your QR code scans reliably across millions of mobile devices:
- Maintain High Contrast: The modules must have a high contrast ratio against the background. Dark modules on a white background provide optimal scannability. Avoid inverted designs (light code on dark surfaces) as older camera firmware often fails to identify finder patterns.
- Shorten Long URLs: The more characters encoded into a QR code, the higher the version number and the smaller the individual module dots. For printed posters, use concise URLs to keep the grid spacious and easy to scan from several meters away.
Real-World Examples & Use Cases
Restaurant Menus and Contactless Service
Restaurants replaced physical menus with QR codes during and after the pandemic — a trend that has largely remained. A QR code linking to a digital menu or online ordering system is printed on table cards or posted at the entrance. Diners scan with their phone camera, no app required. The QR code can be regenerated to point to an updated menu URL without reprinting materials, making seasonal menu changes free and instant.
Marketing Campaigns and Print Media
Print advertisements, product packaging, business cards, and flyers use QR codes to bridge the gap between physical and digital. A billboard QR code links to a landing page. Packaging QR codes link to assembly instructions, recipes, or product registration. Business card QR codes encode vCard contact information (name, phone, email) that gets added directly to the scanner's contacts app. Tracking unique QR codes per campaign measures print ad performance.
WiFi Network Sharing
QR codes can encode WiFi credentials in the format WIFI:T:WPA;S:NetworkName;P:Password;; — when scanned, the phone automatically offers to join the network without requiring the user to type the password. This is ideal for offices, cafes, hotels, and events. Guests at a home or business can join the WiFi by scanning a printed QR code stuck to the router or front desk, eliminating the awkward spelling-out of complex passwords.
Event Tickets and Access Control
QR codes serve as digital tickets for events, flights, and venue access. Each ticket gets a unique QR code containing a booking reference or ticket ID. Scanners at the entrance verify the code against a database. Event management apps generate and distribute QR code tickets via email. QR code scanning is faster than barcode scanning and works in lower light conditions. Dynamic QR codes that change after scanning prevent ticket sharing.
How It Works
QR Code Technical Structure: QR Code versions and capacity (Version 1–40): - Version 1: 21×21 modules → stores up to 17 alphanumeric chars - Version 10: 57×57 modules → stores ~395 alphanumeric chars - Version 40: 177×177 modules → stores up to 4,296 alphanumeric chars (or 7,089 numeric) Data encoding modes: 1. Numeric: digits only (0–9) — most compact 2. Alphanumeric: 0–9, A–Z, space, $%*+-./: — URLs and simple text 3. Byte: ISO 8859-1 / UTF-8 — full text support 4. Kanji: double-byte Japanese characters Error correction levels (Reed-Solomon codes): L — 7% of codewords can be restored (small, simple use) M — 15% can be restored (general use) Q — 25% can be restored (factory environments) H — 30% can be restored (logos overlaid on code) Buffer zones: Quiet zone: minimum 4 module white border on all sides (required for reliable scanning) Fixed structural elements: - Finder patterns (3 corner squares): identify orientation - Timing patterns (alternating lines): define module size - Alignment patterns: correction for physical distortion - Format information: stores error level + masking pattern
Frequently Asked Questions
What types of data can a QR code store?▼
How small can I print a QR code?▼
Can I put a logo in the center of a QR code?▼
What is a dynamic QR code?▼
Why won't my QR code scan?▼
Related Tools
Explore other tools in this category.
JSON Formatter
Validate JSON syntax, format with two-space indentation, or minify a parsed document.
JSON Format Corrector
Automatically fix invalid or messy JSON, Python dictionaries, unquoted keys, single quotes, and trailing commas. Includes interactive tree visualization and code generator.
Password Strength Checker
Analyze how secure your password is and generate a strong one instantly.
CSS Unit Converter
Convert between CSS units: px, rem, em, pt, vw, vh, cm, mm, and inches.
Binary ? Text Converter
Convert plain text to binary code and decode binary back to readable text.
Text to Binary Converter
Convert letters and strings into computer binary format.