QR code generator
QR codes for links, text, Wi-Fi, email and phone numbers, as PNG or SVG. Made in your browser: what you type is never sent anywhere, and the codes don’t expire.
Questions
Is my Wi-Fi password or other content sent anywhere?
No. The code is made in your browser by JavaScript, using the MIT-licensed qrcode-generator library bundled with this page. Nothing you type is sent anywhere or put in the address bar, and the PNG and SVG files are created on your device.
Do these QR codes expire or count scans?
No. The content is stored in the code itself, with no redirect through another server, so the code works for as long as the link or details in it are valid, and nobody counts the scans. To change where a printed code points later, you need a new code, or a link on your own site that you can redirect.
Which error-correction level should I choose?
M (15%) suits most uses. Higher levels let a scanner read a scratched, dirty or partly covered code, but make the code denser: more modules, so each one is smaller at the same printed size. Use L for long content shown on screens, and Q or H for codes printed outdoors or on surfaces that wear.
How does the Wi-Fi code work?
It holds a WIFI: text with the security type, network name and password, the format read by the iPhone camera (iOS 11 and later) and Android 10 and later. Special characters (\ ; , : ") are escaped with a backslash, as the format requires. Anyone who scans or photographs the code learns the password, so treat a printed code like the password itself.
PNG or SVG?
SVG is vector: it stays sharp at any size, which suits print and design tools. PNG is a bitmap at the size you choose. Each module is a whole number of pixels so the edges stay crisp, which can make the PNG a few pixels smaller than asked. For print, make the code at least 2 cm (0.8 in) wide, and about a tenth of the distance it will be scanned from.
Why won’t my code scan?
The usual causes: too little contrast, inverted colours (light modules on a dark background), a quiet zone narrower than 4 modules, a code printed too small for its density, or a glossy surface that reflects light. The page warns about the first three. Test the code with two or three phones, including an older one, before you print it.
What is the quiet zone?
The empty margin around the code. Scanners use it to find where the code starts. The QR standard asks for 4 modules on every side; keep that margin in the light colour, with no text or graphics in it.