📱 QR Code Generator
Turn any text, URL, WiFi config, or vCard into a QR code. Live SVG preview, downloadable as SVG or PNG.
🖼️ Center logo (optional)
Adding a logo automatically locks error correction to H so the code stays scannable. Keep the logo under ~20% of the code area.
About QR codes
A QR (Quick Response) code is a 2-D barcode standardized as ISO/IEC 18004. It encodes data in a square grid of light and dark modules, with redundancy baked in so partial damage or obstruction (a logo, a smudge, a curve over fabric) still scans. This tool uses an inlined version of Project Nayuki's QR encoder (MIT) — no server, no upload, no CDN.
Payload formats
- URL: just paste it — most readers open the link directly.
- Email:
mailto:hi@example.com?subject=…&body=… - SMS:
SMSTO:+15551234567:Hello - WiFi:
WIFI:T:WPA;S:NetName;P:Password;; - vCard:
BEGIN:VCARD…END:VCARD - Geo:
geo:37.7749,-122.4194
Error-correction trade-off
The encoder reserves a percentage of the code for redundancy. Lower levels fit more data in less space; higher levels survive more damage. For a logo overlay or printed material, prefer H. For maximum data density (or a tiny code), use L.
| Level | Recovery |
|---|---|
| L | ~7% |
| M | ~15% |
| Q | ~25% |
| H | ~30% |
Tips & caveats
- Test the code on a real phone before printing or shipping — readability can vary with contrast, lighting, and lens.
- Keep the quiet zone on (4-module border). Some scanners refuse codes pasted right against another element.
- Foreground darker than background. Many scanners can't recover from inverted codes.
- A center logo should stay under ~20% of the code's area. The tool surfaces a warning above that.
- SVG output scales infinitely; PNG is for environments that can't render SVG.