QR Code Generator
Correctly formatted QR payloads for links, email, SMS, phone and Wi-Fi — encoded in your browser, not on a server.
Runs in your browser. Nothing you enter here is uploaded to a server.
How to use the qr code generator
Step 1: Choose what the code should do
URL, plain text, email, phone, SMS or Wi-Fi. Each mode shows only the fields that type needs and builds the payload for you.
Step 2: Fill in the details
For a URL without a scheme the tool offers to add https:// rather than guessing silently. For Wi-Fi you provide the network name, password, encryption type and whether the network is hidden.
Step 3: Adjust size, colours and error correction
Higher error correction survives more damage at the cost of a denser code. The preview warns you if your chosen colours are too low in contrast to scan reliably.
Step 4: Download PNG or SVG
PNG suits screens and documents. SVG stays sharp at any size, so use it for print, signage or anything that will be scaled up.
Worked example
A Wi-Fi code for a guest network
Wi-Fi mode with an SSID of "Cafe-Guest", WPA encryption and a password.
- Encoded payload
- WIFI:T:WPA;S:Cafe-Guest;P:your-password;H:false;;
- Error correction
- M — recovers about 15% damage
- Recommended output
- SVG, so it stays sharp when printed on a card
Scanning this joins the network without anyone typing the password. Note that the password is stored in the code in plain text — anyone who can photograph the code can read it.
How each payload is built
QR codes carry text. What makes a code "a Wi-Fi code" or "an email code" is a convention about how that text is structured, and phones recognise those conventions.
URL https://example.com
Email mailto:[email protected]?subject=...&body=...
Phone tel:+441234567890
SMS smsto:+441234567890:message text
Wi-Fi WIFI:T:WPA;S:network;P:password;H:false;;- Special characters in a Wi-Fi SSID or password — semicolons, colons, commas, backslashes and quotes — are escaped with a backslash, which is the step most generators skip.
- Error correction levels L, M, Q and H recover roughly 7%, 15%, 25% and 30% of a damaged code respectively. Higher levels need more modules for the same data.
- A quiet zone — the blank margin around the code — is part of the specification. Cropping it off is a common reason codes fail to scan.
Limitations and privacy
What this tool does not do
- Very long payloads produce dense codes that need a larger printed size or a better camera. Shorten long URLs before encoding them.
- Dark-on-light is what scanners expect. Inverted or low-contrast colour pairs may not scan on all devices, and the tool warns you when your choice is risky.
- This version does not place a logo in the centre of the code. Doing that reliably requires care with error correction, and a broken code is worse than a plain one.
- A QR code is not secure. Anything encoded in it — including a Wi-Fi password — is readable by anyone who can scan or photograph it.
- Codes generated here are static. There is no redirect service, so the destination cannot be changed after printing.
The URL, message, phone number or Wi-Fi password you encode never leaves your browser, and is never included in analytics. No third-party QR service is contacted.
Frequently asked questions
Do these QR codes expire?
No. The code is a direct encoding of your content with no redirect in between, so it works for as long as the destination does. Nothing here tracks scans or can stop working because a service shut down.
Which error correction level should I choose?
M is a sensible default. Choose Q or H if the code will be printed small, placed outdoors, or applied to something that may get scuffed — a higher level lets a scanner recover from more damage. L keeps the code sparse for long payloads on clean screens.
Why is my code not scanning?
The usual causes are too little contrast between foreground and background, a missing quiet zone around the edge, printing it too small for the amount of data, or inverting it so the light and dark are swapped. Try increasing size and reverting to black on white.
Should I download PNG or SVG?
SVG for anything printed or resized, because it is vector and stays perfectly crisp. PNG for screens, email and documents that need a bitmap. Both encode exactly the same data.
Is it safe to put my Wi-Fi password in a QR code?
It is convenient, but treat the printed code like the password itself — the password is stored in plain text inside it. For a home network, consider a guest network instead so the code does not expose your main credentials.
Related tools
Other tools people use alongside the qr code generator.
Password Generator
Generate strong random passwords from 8 to 128 characters using your browser cryptographic random source. Nothing is stored, logged or transmitted.
UUID Generator
Generate up to 100 random version 4 UUIDs at once, with optional uppercase, braces or no hyphens. Copy them all or download them as a text file.
Case Converter
Convert text to lowercase, UPPERCASE, Sentence case, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE or alternating case.
Character Counter
Count characters the way people see them and the way software measures them, with UTF-8 byte size, line counts and a character limit tracker.
Part of Text & Developer Tools. Last reviewed .