What is a QR Code?
QR (Quick Response) codes are two-dimensional barcodes that encode text, URLs, contact information, WiFi credentials, and other data into a scannable matrix of black and white modules. Invented in 1994 by Denso Wave for tracking automotive parts during manufacturing, QR codes have since become a universal standard for linking the physical world to digital content.
Unlike traditional one-dimensional barcodes that encode data only horizontally, QR codes use both horizontal and vertical dimensions. This allows them to store vastly more information — up to 7,089 numeric characters or 2,953 bytes of binary data — in a compact square. Every QR code contains three finder patterns (the large squares in three corners) that help scanners detect and orient the code, plus alignment patterns, timing patterns, and error correction data that make scanning fast and reliable.
QR codes also include built-in error correction using Reed-Solomon codes. Even if part of the code is damaged, obscured, or dirty, a scanner can still reconstruct the original data — recovering anywhere from 7% to 30% of the content depending on the error correction level chosen.
How to Create a QR Code
- Enter your text, URL, or data in the input field
- Adjust settings if needed — error correction level, module size, colors
- Click “Generate” or press
Ctrl+Enter - Download the QR code as PNG (for screens) or SVG (for print)
The tool automatically selects the smallest QR code version that fits your data, keeping the code compact and easy to scan. You can generate as many QR codes as you need — there are no limits.
QR Code Error Correction Levels
QR codes use Reed-Solomon error correction so they remain readable even when partially damaged. Four levels are available:
| Level | Recovery Capacity | Best For |
|---|---|---|
| L (Low) | ~7% of data | Clean digital displays, screens |
| M (Medium) | ~15% of data | General purpose — recommended default |
| Q (Quartile) | ~25% of data | Outdoor signs, rough handling |
| H (High) | ~30% of data | Printed labels, logos overlaid on codes |
Higher error correction creates larger QR codes because more redundant data must be encoded. Level M strikes the best balance between compactness and resilience for most applications. Use level H if you plan to overlay a logo on the center of the code.
What Can You Encode in a QR Code?
QR codes can encode virtually any text-based data. Common use cases include:
- URLs — link to websites, landing pages, app downloads, or payment portals
- Plain text — messages, notes, serial numbers, or instructions
- WiFi credentials — use the format
WIFI:T:WPA;S:NetworkName;P:Password;;for instant network joining - Email addresses —
mailto:user@example.com?subject=Hello - Phone numbers —
tel:+1234567890for one-tap calling - vCards — full contact information in vCard 3.0 or 4.0 format
- Calendar events — meeting invitations in iCalendar format
- Geographic coordinates —
geo:40.7128,-74.0060for map pins - Cryptocurrency addresses — Bitcoin, Ethereum, and other payment URIs
How to Create a WiFi QR Code
A WiFi QR code lets guests join your network by pointing a camera at a sticker or card — no dictating a long password. The trick is encoding your credentials in the standardized WIFI: URI format instead of plain text:
WIFI:T:WPA;S:MyNetwork;P:mypassword123;;
Each field controls one part of the connection:
| Field | Meaning | Values |
|---|---|---|
T | Security / authentication type | WPA (covers WPA, WPA2, and WPA3), WEP, or nopass for open networks |
S | SSID — the network name | Exactly as it appears, case-sensitive |
P | Password | Omit entirely for open networks |
H | Hidden network | true if the SSID is not broadcast; otherwise leave it out |
Paste the completed string into the input above and generate. When someone scans it, iOS 11+ and Android 10+ prompt them to join the network with a single tap.
Escape special characters. If your SSID or password contains a semicolon, comma, colon, backslash, or double quote, prefix each one with a backslash — for example a password of pa;ss\word becomes pa\;ss\\word. Skipping this is the number-one reason a WiFi QR code fails to parse. Because everything is generated in your browser, your WiFi password is never uploaded anywhere.
Why Won’t My QR Code Scan?
Most scanning failures come down to a handful of fixable causes:
- Low contrast. Scanners need a clear dark-on-light pattern. Reversing it (light modules on a dark background) or using two mid-tone colors breaks many cameras. Keep the contrast ratio above 4:1.
- Printed too small for the distance. Apply the 10:1 rule: the code’s width should be at least one-tenth of the scanning distance. A code read from 2 meters away needs to be roughly 20 cm wide.
- Missing quiet zone. The blank margin around the code (minimum 4 modules) is part of the spec. Cropping tight to the pattern — a common design mistake — stops detection. This tool adds the quiet zone automatically; preserve it.
- Too much data. Long inputs create dense, hard-to-focus codes. Shorten URLs and trim text so the module grid stays coarse.
- Blurry or low-resolution printing. For anything printed, download the SVG — it stays razor-sharp at any physical size, unlike a small PNG stretched onto a poster.
- A logo covering too much of the code. If you overlay branding, keep it under ~30% of the area and regenerate at error correction level H so the redundant data can fill the gap.
- Damaged, creased, or dirty surfaces. Higher error correction (Q or H) lets a scanner recover a code that is partially obscured.
If a code still fails, test it with a second phone and a dedicated scanner app — occasionally the issue is one specific camera app, not the code itself.
QR Code Best Practices
Size and scanning distance. A QR code should be at least 2 cm × 2 cm (0.8 × 0.8 inches) for close-range scanning with a phone camera. For posters or signage, follow the 10:1 rule — the scanning distance should be no more than 10 times the QR code’s width. A 5 cm QR code works reliably up to 50 cm away.
Contrast matters. Use a dark foreground on a light background for maximum scanner compatibility. The three finder patterns must be clearly distinguishable. Avoid color combinations with contrast ratios below 4:1 — some older scanners struggle with inverted or low-contrast codes.
Test before publishing. Always scan your QR code with at least two different devices and scanning apps before printing or sharing. Test at the intended viewing size and distance.
Keep data short. Shorter input creates simpler, smaller QR codes that scan faster and more reliably. For long URLs, use a URL shortener or redirect through a short domain you control.
Preserve the quiet zone. The white border around a QR code (quiet zone) must be at least 4 modules wide per the ISO 18004 standard. This tool adds it automatically — do not crop it when placing the image in your design.
QR Code vs Barcode
| Feature | QR Code | Traditional Barcode (1D) |
|---|---|---|
| Dimensions | 2D (horizontal + vertical) | 1D (horizontal only) |
| Data capacity | Up to 7,089 characters | ~20–25 characters |
| Data types | Text, URLs, binary, structured data | Numbers, limited text |
| Error correction | Built-in Reed-Solomon (7–30%) | None |
| Scanning angle | Any orientation, 360° | Must be aligned horizontally |
| Damage tolerance | High — can recover from partial damage | Low — any damage breaks scan |
QR codes are the better choice whenever you need to encode more than a simple product SKU. They scan faster, work at any angle, survive physical damage, and fit far more data into less space.