A generator and a reader in one page. Type a link, a note, a Wi-Fi network or a contact card and take it away as a PNG or an SVG — or drop a photo of a code and read the text back out of it. Both directions run inside this tab: no upload, no account, no library pulled from a CDN.
Type something and the code appears here.
A bare domain gets https:// in front of it. The exact encoded text is shown under the preview.
0 / 2900 bytes
The password is inside the code in plain text, as every Wi-Fi QR is. Treat the printed code like the password.
Four modules is the standard border scanners expect; below two is risky.
Higher correction survives scratches and glare but fits fewer characters. SVG scales without limit.
Drop a QR image here
or click to choose · or paste with ⌘V / Ctrl+V
PNG · JPG · WebP · GIF · BMP · AVIF — whatever this browser can open
The file is read from your disk into canvas pixels in this tab. Nothing is copied out.
Camera frames are decoded in this tab and never leave the device.
Nothing decoded yet.
The image you drop is turned into canvas pixels in memory, decoded, and dropped again. There is no endpoint for it to be sent to, and the counter at the bottom of this page reports every request this page makes.
Output follows ISO/IEC 18004: byte mode, the smallest version from 1 to 40 that fits, automatic mask selection and error correction from L to H. The quiet zone and the two colours are printed into the file itself.
Decoding uses jsQR, served from this site with the page rather than from a CDN, over pixels from your own file. Several scales and both normal and inverted pixel grids are tried before giving up.
No. Both directions are JavaScript in this tab. The footer counts this page's network requests, so you can see that nothing outside this site is contacted.
Keep the quiet zone at four modules or more, keep the foreground darker than the background, and use M for a balanced code or Q/H where the print may smudge or be partly covered. Under about 2 cm of printed width, phone cameras start to struggle.
The code carries the password in plain text, because that is how a phone joins without typing it. Anyone who scans it gets the network — hand it out the way you would hand out the password, and change it if the code travels too far.
Small, cropped, blurred, angled or glared photos are the usual causes. The decoder tries several sizes and inverted pixels too, but a sharper original — whole code in frame, in focus — is what makes it work.
Note. A QR code is a picture of data, not a link that can be checked: scan a code from someone else before you trust what it opens. When in doubt about a printed code, print a test copy and read it with your own phone first.
Encoder: QR Code Generator for JavaScript (MIT) · decoder: jsQR (Apache-2.0) — both served from this site with the page, never from a CDN. “QR Code” is a registered trademark of DENSO WAVE INCORPORATED.