QR Code Generator
Generate QR codes for URLs, plain text, email, phone, SMS, and WiFi networks. Custom colours and sizes — free, instant, entirely in your browser.
Content Type
Foreground
#000000Background
#ffffffQuick Colors
Download Size
Error Correction
Pattern— Auto uses the spec-optimal mask
How to generate a QR code
- Choose the content type — URL, text, email, phone, SMS, or WiFi.
- Fill in the fields. Press Enter or click Generate.
- Optionally pick a quick color preset, adjust colors, or try a different mask pattern.
- Choose your download size and error correction level, then click Download PNG.
What are QR mask patterns?
The QR code spec defines 8 mask patterns (0–7) that are XOR'd over the data modules to improve scannability. Auto lets the library pick the spec-optimal mask using the QR penalty scoring rules (N1–N4), which minimises large runs of same-colour modules and avoids awkward visual patterns. Picking a specific mask lets you choose the one that looks most balanced for your content and colours.
Error correction levels explained
Level L (7%) is the most compact. Level M (15%) is standard for most uses. Level Q (25%) is good for codes that may get dirty when printed. Level H (30%) gives maximum damage resistance and allows logo overlays on the QR pattern.
Privacy — generated in your browser
QR codes are generated locally using the open-source qrcode library. Your URLs, WiFi passwords, and text are never sent to any server. The PNG is created from a browser canvas element and downloaded directly.
Frequently Asked Questions
Will the QR code scan with a phone camera?
Yes. The qrcode library generates fully spec-compliant QR codes. Black on white at Level M or higher works reliably with all modern smartphone cameras.
Does the mask pattern affect scannability?
All 8 mask patterns produce equally valid, scannable QR codes. The mask only affects the visual appearance of the data modules, not the encoded data.
What download size should I use?
512px is fine for most digital uses. Use 1024px or 2048px for print — a 2048px file can be printed at 8×8 inches at 256 DPI without loss of sharpness.
What is the WiFi QR code format?
WiFi QR codes use the standard WIFI:T:WPA;S:NetworkName;P:Password;; format, supported by iOS 11+, Android 10+, and most camera apps.
Can I use a coloured QR code?
Yes — use the quick color presets or the custom color pickers. Ensure high contrast between foreground and background for reliable scanning.