QR Code Generator
Generate QR codes for website URLs and plain text. Download as PNG or SVG with custom colours. Free, instant, no sign-up required.
Enter any website address. The QR code will open this URL when scanned.
Loading QR engine...
Tips
Always include https:// for best compatibility across all QR scanners.
Test your QR code with your phone camera before printing.
Use high contrast colours (dark on light) for best scan reliability. Avoid light foreground colours.
How QR Codes Actually Work
A QR code is a 2D barcode that encodes text in a grid of black and white squares. The QR Code Generator turns any URL or plain text into a downloadable PNG or SVG. It picks the smallest QR version that fits your data, applies error correction, and renders the result with the colours and quiet zone you choose. SVG output scales infinitely without pixelation, so it's the right choice for print; PNG suits screen embedding and email signatures.
Error correction is the part most people don't understand. QR codes have four levels: L (7% damage tolerance), M (15%), Q (25%), H (30%). Higher correction means a denser code (more squares) but lets the code survive a logo overlay, a torn corner, or a smudged print. For a clean URL on a clean background, L is fine; for a code printed on a t-shirt or behind a logo, use Q or H.
QR Code Error Correction Levels
| Level | Damage Tolerance | Density | When to Use |
|---|---|---|---|
| L (Low) | 7% | Smallest | Clean digital display, simple URLs |
| M (Medium) | 15% | Standard | Default for most printed codes |
| Q (Quartile) | 25% | Larger | Logo overlay, decorative designs |
| H (High) | 30% | Largest | Outdoor signs, printed on fabric |
Designing QR Codes That Scan Reliably
The biggest mistake: insufficient contrast between the foreground and background. A QR scanner needs to clearly distinguish dark from light, so don't use light grey on white or dark grey on black. Pure black on pure white is the gold standard; coloured QR codes work if the foreground is genuinely dark and the background genuinely light. The 'quiet zone' (the white margin around the code) is also critical; reduce it below 4 modules wide and scanners will struggle.
Print at the right size for the scan distance: roughly 1cm of QR width for every 30cm of expected scan distance. A QR on a poster across a room needs to be at least 10 to 15cm wide. A QR on a business card scanned at arm's length needs only 2 to 3cm. Pair this with the [Password Generator](/password-generator) if you're encoding Wi-Fi credentials, and the [Robots.txt Generator](/robots-txt-generator) if the QR points to a public landing page you want indexed.
Frequently Asked Questions
What's the maximum amount of text a QR code can hold?
A QR code can hold up to 7,089 numeric digits, 4,296 alphanumeric characters, or 2,953 binary bytes at the highest QR version (40) with the lowest error correction. In practice, codes that hold more than around 500 characters become so dense they're hard to scan from any distance. For long content, encode a URL pointing to a page with the full text instead.
Are QR codes free to use commercially?
Yes. The QR code format is an open standard (ISO/IEC 18004) and free to use without licensing for any purpose. No royalties, no trademark restrictions on the codes themselves. The QR Code Generator outputs unrestricted PNG and SVG files you can use on packaging, posters, marketing materials, anything.
Can I add a logo to a QR code?
Yes, but only if you use Q or H error correction. The logo covers part of the code and the error correction reconstructs the missing data. Keep the logo in the centre and no larger than 25% of the total code area. Test the result with multiple scanners (iPhone Camera app, Google Lens, dedicated scanner apps) before printing thousands.
Why does my QR code not scan?
Most often: insufficient contrast (light grey on white doesn't read), missing quiet zone (the white margin around the code is essential), too small for the scan distance, or aspect-ratio distortion (the QR has been stretched non-proportionally). Print at original aspect ratio, use full black on full white, leave at least 4 modules of white margin around all four sides, and size to your expected scan distance.
What's the difference between PNG and SVG QR codes?
PNG is a fixed-resolution raster image, ideal for screens and email signatures. SVG is scalable vector, ideal for print (any size, no pixelation) and for editing in design tools (Illustrator, Figma). For business cards and posters, always use SVG; for in-app embedding, PNG at 2x screen resolution is fine.
Related Tools
WiFi QR Code Generator
Create a beautiful, printable QR code for your WiFi network. Guests scan to connect instantly — no typing passwords. Choose from 6 card styles and download a print-ready image.
JSON Formatter & Validator
Format, minify and validate JSON with syntax highlighting. Shows error locations, key count, nesting depth and size stats