About QR Generator
Generate scannable QR codes for URLs, plain text, Wi-Fi credentials, and contact cards. Customise size, margin, error correction level, and colours. Export as PNG or SVG. The encoder runs locally — your data never travels.
- No uploads
- Browser-only
- Works offline
- 100% free
How it works
- 1
Enter your text
URL, Wi-Fi string, or arbitrary text up to a few thousand characters.
- 2
Customise look
Pick size, margin, colours, and error-correction level (higher = more redundancy).
- 3
Download
Save as PNG (raster) or SVG (infinitely scalable for print).
What a QR code actually stores
A QR code is a 2D barcode that encodes a short string of data as a grid of black and white modules. It does not store a website, a file, or a contact card in any rich sense — it stores text, and a scanning app interprets that text by convention. "https://example.com" is read as a URL to open; "WIFI:S:MyNet;T:WPA;P:secret;;" is read as Wi-Fi credentials; a block of vCard text is read as a contact. The QR standard is an international one, ISO/IEC 18004; the technology was invented by Denso Wave in 1994 for tracking car parts.
Capacity is finite and depends on the data type and the error-correction level you choose. A QR code can hold thousands of numeric digits but far fewer bytes of arbitrary text, and the more you cram in, the denser the grid becomes — which makes it physically harder to scan. Short payloads are not just neater; they're more reliable.
Error-correction levels: redundancy vs density
| Level | Recovers up to | Density cost | Use when |
|---|---|---|---|
| L (Low) | ~7% of code restorable | Smallest, least dense grid | Clean digital display, short URL, lots of capacity needed |
| M (Medium) | ~15% | Slightly denser | General-purpose default for most uses |
| Q (Quartile) | ~25% | Denser | Print that may get light dirt, smudges, or handling |
| H (High) | ~30% | Densest grid | Codes with a logo overlaid, or harsh/industrial environments |
Higher correction means the code still scans with part of it damaged or covered — at the price of a busier grid. If you overlay a logo, use H so the obscured center is recoverable.
Making a code that actually scans
- Keep the quiet zone. The QR spec requires a clear margin of at least four modules of empty space around the code. Crop it flush to the edge or place text right against it and many scanners fail.
- Respect minimum size. A rough rule for print is a scanning distance about 10x the code's width — a 2 cm code is reliable at roughly 20 cm. For a poster read across a room, make it big.
- Keep high contrast and correct polarity: dark modules on a light background. Inverted (light on dark) codes are non-standard and many readers reject them.
- Prefer short payloads. Shorten a long URL before encoding it — a shorter string yields a lower-density, more forgiving grid.
- Test before you print or publish. Scan the generated code with two or three different phones; a code you can't un-print is an expensive mistake.
Payload types and a safety note
Beyond URLs, the common encodings are Wi-Fi network credentials (network name, security type, password), vCard or MECARD contact details, plain text, email and SMS templates, and geo-coordinates. Each is just a specially formatted string the scanner recognizes — there's no magic, which is also why the data is only as private as the medium you print it on. A Wi-Fi QR code on a public wall hands your password to anyone who walks past.
Because a QR code is opaque to humans, it's a phishing vector: you cannot see that a code leads to a malicious site until you scan it ("quishing"). Treat codes from untrusted sources with the same caution as shortened links. If you've scanned a code and want to see where it really points before acting on it, decode and inspect it with QR Inspector.
Frequently asked questions about QR Generator
What's error correction level?
QR codes can recover from partial damage. Level L recovers 7%, M 15%, Q 25%, H 30%. Higher levels create denser codes — pick L for short URLs, H if the QR will be printed and could get scuffed.
Why are SVG QR codes useful?
SVG is vector — perfect for printing posters, business cards, or stickers without any pixelation regardless of size.
Privacy, offline use, browser support, and pricing questions are answered on the site-wide FAQ.