What Is a QR Code?
A QR code (Quick Response code) is a two-dimensional barcode that encodes text, URLs, or structured data as a square grid of black and white modules. Invented by Denso Wave in 1994 and standardised in ISO/IEC 18004, QR codes can be scanned by any modern smartphone camera and decoded almost instantly. They are widely used for contactless payments, restaurant menus, Wi-Fi sharing, product authentication, business cards, and marketing URLs because they pack far more data than a 1D barcode and tolerate physical damage thanks to built-in error correction.
QR Code Generator Online — What This Tool Does
This free QR code generator turns any text, URL, email, phone number, Wi-Fi credential, or vCard payload into a scannable PNG image directly in your browser. Customise the foreground and background colours, pick an error-correction level from L to H, and download a print-ready image — no account, no watermarks, no expiry.
How to Generate a QR Code
- Paste the URL, text, or payload you want to encode into the Input field.
- Pick a Dark colour (the modules) and a Light colour (the background). Keep contrast high so scanners read it reliably.
- Choose an Error Correction level — L, M, Q, or H — based on where the code will be used.
- The QR code preview updates instantly as you type or change settings.
- Click Download to save the QR code as a PNG image ready for print or web use.
- Test the code with your phone camera before printing — a poor scanner read at small sizes usually means insufficient contrast or too-low error correction for the medium.
Error Correction Levels Explained
- L (Low) — recovers up to 7% of damaged data. Smallest QR module count, best for clean digital displays and short URLs.
- M (Medium) — recovers up to 15%. Good balance for everyday print materials like flyers and business cards.
- Q (Quartile) — recovers up to 25%. Recommended if you plan to overlay a logo or icon in the centre of the code.
- H (High) — recovers up to 30%. Use for outdoor signage, packaging, or any surface that may get scratched, faded, or partially covered.
What Can I Encode in a QR Code?
- URLs — the most common use. Encode any
https://link for instant phone-to-site navigation. - Plain text — short messages, serial numbers, coupon codes, or notes.
- Wi-Fi credentials — format
WIFI:T:WPA;S:<ssid>;P:<password>;;lets guests connect without typing a password. - vCard contact data — encode name, phone, email, and address so a scan adds you to the contacts app.
- Email links —
mailto:you@example.com?subject=Helloopens the user's mail client pre-filled. - Phone numbers —
tel:+1234567890starts a call when scanned. - App store / payment links — deep links to App Store, Google Play, PayPal.me, or a checkout URL.
Tips & Tricks
- Keep contrast high — pale grey on white may look elegant but fails on most scanners. Dark on light beats light on dark for camera reliability.
- Mind the quiet zone — leave a white border around the code at least 4 modules wide. Cropping too tight breaks scanning.
- Shorten URLs first — fewer characters = fewer modules = a denser, easier-to-scan code. Use a URL shortener for long tracking links.
- Print large enough — at typical phone-camera distance, codes should be at least 2 cm (0.8 in) square. Outdoor signage scales up roughly with viewing distance.
- Pick H for logos — the H level allows up to 30% of the code to be covered, which is what lets you place a brand logo in the middle.
- Test before you print — scan the downloaded PNG with two different phones (iOS and Android) before sending it to print.
Static vs Dynamic QR Codes
This tool generates static QR codes — the payload is embedded in the image itself and never changes. Static codes are free, work forever, never expire, and carry no tracking. Dynamic QR codes (which many paid services offer) encode a short redirect URL that points to a server-managed destination — useful for analytics or for changing the target later, but they stop working if the service shuts down. For most personal and small-business uses, static is the right choice.
Related Tools
- Color Picker — pick brand-matching HEX colours for your QR code
- Contrast Checker — verify your dark/light colours have enough contrast to scan reliably
- Image Compressor — shrink the downloaded PNG before embedding in a document or email
- URL Encoder — percent-encode special characters before embedding a URL in a QR code
Is My Data Sent to a Server?
No. The QR code is generated entirely in your browser using the qrcode JavaScript library and rendered to a <canvas> element. Your payload text, URL, Wi-Fi password, or vCard never leaves your device — there is no upload, no log, and no tracking. The downloaded PNG is created locally.