Uses qrcode library with QR Code Model 2 support. Error correction levels L (7%), M (15%), Q (25%), H (30%)—higher levels mean the QR code can survive more damage but get larger. Supports sizes from tiny 128px to poster-ready 2048px. Exports as PNG for easy use.
QR Code Generator
Generate QR codes for text, URLs, and contacts instantly. Customize size, colors, and error correction. Download in PNG/SVG. Free QR code generator.
Settings
Preview
Enter content to generate QR code
Frequently Asked Questions
What is a QR code and how does it encode data?
A QR code (Quick Response code) is a two-dimensional matrix barcode invented by Denso Wave in 1994 for tracking automotive parts. Unlike traditional barcodes that store data in one dimension (lines of varying width), QR codes store data in both horizontal and vertical directions as a grid of black and white squares (modules). Data encoding uses Reed-Solomon error correction, allowing QR codes to remain scannable even when partially damaged. The standard QR code structure includes: 1) Position detection patterns (three large squares in corners for orientation), 2) Timing patterns (alternating modules for coordinate alignment), 3) Alignment patterns (smaller squares for larger codes), 4) Format information (error correction level and mask pattern), 5) Data region (encoded payload), and 6) Quiet zone (blank border for scanner separation). QR codes can encode over 4,200 alphanumeric characters or 2,900 bytes of binary data, making them suitable for URLs, contact information, WiFi credentials, and payment data.
What are the four error correction levels and when should I use each?
QR codes use Reed-Solomon error correction with four levels, trading data capacity for damage tolerance: Level L (Low) recovers 7% of data—use in clean, controlled environments where damage is unlikely (indoor displays, digital screens). Level M (Medium) recovers 15%—general purpose for most applications (business cards, product labels, documents). Level Q (Quartile) recovers 25%—for outdoor use or environments with moderate risk of damage (posters, flyers, mail pieces). Level H (High) recovers 30%—for harsh conditions or when adding logos/centers (industrial settings, outdoor signage, branded QR codes with overlays). Higher error correction levels increase QR code complexity (more modules) for the same data, making the code denser and potentially harder to scan from a distance. Recommendation: Use Level M for general use, Level H when adding a logo, and Level Q for outdoor materials. Our tool defaults to Level M for optimal balance between size and scannability.
How much data can a QR code store and what are the capacity limits?
QR code capacity depends on version (size: 21×21 to 177×177 modules), error correction level, and data encoding mode. Maximum capacities for Version 40 (177×177, largest standard): Numeric mode (digits only): 7,089 characters. Alphanumeric mode (0-9, A-Z, $%*+-./:): 4,296 characters. Byte mode (binary, UTF-8): 2,953 bytes (~2,900 ASCII characters or ~1,000-2,000 Chinese characters depending on UTF-8 encoding). Kanji mode (Japanese characters): 1,817 characters. In practice, most QR codes are Version 5-10 (37×57 modules), holding 100-500 characters. URLs are the most common use case—easily accommodated even with error correction. For vCards with contact information, typical data fits within 200-400 characters. If you need to store more data, consider using a URL that links to online content rather than encoding the data directly. Our tool automatically selects the smallest version that fits your data with the chosen error correction level.
Can I customize QR code colors, add logos, and design branded QR codes?
Yes! QR codes support significant customization while maintaining scannability, with important caveats. Color: The foreground (modules) must have sufficient contrast from the background—ideally dark modules on light background (minimum 4:1 contrast ratio per ISO/IEC 18004 standard). Popular colors: black on white, dark blue on white, dark green on yellow. Avoid red-on-green or similar colorblind-unfriendly combinations. Size: Determine by scanning distance—rule of thumb is size = scanning distance ÷ 10. For 10cm scanning distance (smartphone at arm's length), use 1cm (100px minimum) QR code. For print, use at least 2×2cm (0.8×0.8 inches) for close scanning, larger for distance. Logo embedding: Requires high error correction (Level H) to overwrite center modules without breaking scannability. Position the logo at the center (avoiding position detection patterns in corners) covering ≤30% of the total area. Our tool supports color customization and high error correction for logo overlays, though we recommend testing scannability with multiple phones before finalizing branded designs.
What are the best practices for printing QR codes and ensuring they scan reliably?
For reliable scanning, follow these print and design best practices: 1) Size: Minimum 2×2cm (0.8×0.8 inches) for close scanning, larger if scanning from distance (4×4cm for 1m distance, 10×10cm for 3m). 2) Resolution: Export at 300 DPI for print to ensure crisp edges. 3) Quiet zone: Maintain white border of at least 4 modules (approximately 10% of QR code width) on all sides—don't crop or place text too close. 4) Contrast: Use high contrast colors—black on white is safest. Avoid glossy paper which creates glare. 5) Material: Matte finish scans better than glossy. For outdoor use, laminate to protect from weather. 6) Surface: Place on flat, non-reflective surfaces—curved surfaces (bottles, cylinders) distort scanning. 7) Testing: Always test scan with multiple phones (iOS and Android) and different scanning apps before mass production. 8) Lighting: Ensure installation location has adequate lighting—dark environments impede scanning. 9) Placement: Position at eye level and easily accessible—don't place too high or low. 10) Fallback: Include URL text below QR code as backup if scanning fails.
What data types and formats can I encode in QR codes?
QR codes support multiple data types with standardized formatting for automatic parser detection: URLs (web addresses): Most common use. Format: `https://example.com` or `http://example.com/path`. Scanners automatically open in browser. Plain text: Simple messages, notes, or any text data. Email addresses: Format: `mailto:[email protected]` or `mailto:[email protected]?subject=Hello&body=Message`. Opens email client with prefilled fields. Phone numbers: Format: `tel:+1234567890` (with country code). Initiates phone call. SMS: Format: `sms:+1234567890?message=Your text here`. Opens messaging app. WiFi credentials (Android): Format: `WIFI:T:WPA;S:networkname;P:password;;`. Connects automatically on Android (iOS requires manual entry). vCards (contact information): Standardized format for name, phone, email, address, organization. Useful for business cards. Geographic coordinates: Format: `geo:latitude,longitude`. Opens maps app. Calendar events: Format: `BEGIN:VEVENT...END:VEVENT` in iCalendar format. Our tool auto-detects most formats and adds appropriate protocol prefixes (mailto:, tel:, sms:) for seamless scanning.
Are QR codes secure and can they be exploited maliciously?
QR codes themselves are not inherently malicious—they simply encode data like any other barcode—but they can encode malicious URLs or trigger unwanted actions. Security risks: 1) Phishing URLs: QR codes can direct to fake websites mimicking legitimate ones (banking, payment portals). 2) Malware downloads: QR codes can link to APK files (Android) or profile configurations that install malware. 3) Unwanted actions: Scanning can initiate calls, texts, or join WiFi networks without confirmation on some devices. 4) QR code replacement (quishing): Attackers place malicious QR codes over legitimate ones in public spaces. Protection strategies: 1) Verify URL: Check the destination URL before opening—legitimate QR codes from businesses usually display the domain name nearby. 2) Use scanner apps with preview: Apps that show the URL before opening provide security. 3) Avoid unknown sources: Don't scan random QR codes in unsolicited emails, flyers, or public spaces without context. 4) Keep software updated: Ensure your phone's OS and scanner apps have security patches. 5) Enterprise scanning: Corporate environments should use managed scanner apps with URL filtering. For generated QR codes, our tool runs entirely client-side with no server transmission, ensuring your data isn't logged or exposed during generation.
Is my data private and secure when using this QR code generator?
Your privacy and security are guaranteed: all QR code generation happens entirely within your browser using client-side JavaScript. No data is ever sent to any server—no encoded text, no generated QR codes, no settings, no usage analytics, no cookies, no tracking. The entire generation process runs locally on your device, and you can verify this by disconnecting from the internet—the tool continues working perfectly without network access. This is particularly important for sensitive QR codes containing WiFi passwords, contact information, or internal URLs. Additionally, our website is served over HTTPS with strict transport security (HSTS), ensuring the tool itself hasn't been tampered with during transmission. Since QR codes are generated client-side, we have no record of what you encode—even if we wanted to access your data, we can't. For maximum security in corporate or sensitive environments, our tool is suitable for generating QR codes with confidential information as nothing leaves your browser. We recommend clearing the input field after generating sensitive QR codes if working in a shared environment.
Explore advanced techniques and best practices
Use Cases
Discover how to integrate this tool into your workflow
Marketing & Events
Create QR codes for promotional materials and event information.
- Event registration links
- WiFi network passwords
- Business card contact info
- Product landing pages
Mobile Payments
Generate payment QR codes for customers to scan.
- Point-of-sale terminals
- Peer-to-peer payment apps
- Invoice payments
- Tip jar alternatives
Information Sharing
Quickly share URLs and data without typing.
- Restaurant menus
- Download links
- Social media profiles
- Documentation shortcuts
About This Tool
QR codes are everywhere these days—WiFi passwords, contact info, payment links. This generator creates them instantly in your browser. No server uploads, so whatever you're encoding (yes, even sensitive stuff) stays on your machine. Customize the size, error correction level, and even add colors if you're feeling fancy.
Technical Details
Algorithm
QR codes work by encoding data in a grid of black and white modules. The data gets encoded with error correction (Reed-Solomon algorithm) so the code can still be read even if partially damaged. Scanner reads the position markers, determines orientation, extracts the data, and corrects any errors using the redundant information. Clever stuff from 1994 that's still going strong.
Privacy Commitment
🔒 **Privacy First**: Unlike server-based tools, AI-TOL processes everything locally in your browser - your data never leaves your device. No uploads, no tracking, completely private.