QR Code Generator
Turn a link, a piece of text, your Wi-Fi details or a ready-to-send email into a QR code, and download it as a PNG or SVG.
Start web addresses with https:// so phones offer to open them. The code updates as you type.
Type it exactly as it appears in the list of networks, including capitals and spaces.
The password stays in this page. It is not sent anywhere and is never added to the page address.
Scanning opens a new email with these details filled in. Nothing is sent until the person presses Send.
Higher levels survive more dirt, creases and damage, but need more squares for the same content. M suits screens and clean prints; pick Q or H for labels and posters that will get knocked about.
Your QR code
Exactly what the code contains
About the QR Code Generator
This tool makes standard QR codes that any phone camera can read. It has three modes: plain text or a web address, the details needed to join a Wi-Fi network, and an email with the recipient, subject and message filled in. The code can be saved as a PNG for screens and documents or as an SVG for print. The codes are static: they hold the content itself, never expire, and cannot be edited or tracked after printing.
How to use it
- Choose what to encode and fill in the fields. The code redraws as you type.
- Pick an error correction level and a PNG size, and leave the quiet zone on unless your design already has a white margin.
- Check the text shown under the code. That is exactly what a scanner will read.
- Download the PNG or SVG, then scan it with your own phone before printing a batch.
How QR codes work
A QR code is a square grid of dark and light squares called modules. The three large squares in the corners let a scanner find the code and work out its orientation; the rest carries your content as bytes, plus extra check data. Codes come in 40 sizes, called versions, from 21 × 21 modules up to 177 × 177. The more you store, the larger the version and the smaller each module becomes at a given print size.
The check data uses Reed–Solomon error correction, which lets a scanner rebuild parts of the code it cannot see. The four levels recover roughly 7% (L), 15% (M), 25% (Q) and 30% (H) of the code. More correction leaves less room: at the largest version, level L holds 2,953 bytes and level H holds 1,273. This tool stores text as UTF-8 bytes, so accented letters take two bytes each and most emoji take four. If your content is too long for the chosen level, the tool says by how much.
Wi-Fi codes
Wi-Fi codes use a text format that began in the ZXing barcode project and became the convention phones follow. It looks like this:
T is the security type (WPA, WEP or nopass), S is the network name, P is the password, and H:true is added for hidden networks. The characters \ ; , " : have a special meaning in the format, so the tool puts a backslash in front of each one that appears in your name or password. WPA covers WPA, WPA2 and WPA3 personal networks. The built-in camera on iPhones (iOS 11 and later) and on most Android phones reads these codes and offers to join the network; Android 10 and later can also scan them from the Wi-Fi settings screen. Networks that ask for a username as well as a password (WPA Enterprise) are not covered by this tool.
Safety
- A QR code is only text. It cannot run anything by itself; the risk is in where a link leads. When you scan a code, read the address your phone shows before opening it, particularly on stickers in public places such as car park machines, where a fake code may have been stuck over the real one. You can look up who registered an unfamiliar domain with the WHOIS lookup.
- A printed Wi-Fi code gives the password to anyone who can photograph it, and any QR reader will show it as plain text. Put visitors on a guest network, keep your main network's code off the wall, and change the password if the code has been somewhere public. The password generator can make a new one.
Size and print advice
- Module size. As a rule of thumb, keep each module at least 0.4 mm wide for something read at arm's length, and make the whole code about a tenth as wide as the distance it will be scanned from: 2 cm for a business card, 30 cm for a poster read from 3 m. The tool shows the smallest sensible print width for each code.
- Quiet zone. The standard asks for a clear margin four modules wide on every side. Without it, scanners can mistake nearby text or borders for part of the code.
- Contrast. Print dark modules on a light background. Pale colours, busy backgrounds and inverted (light on dark) codes fail on some scanners.
- Format. Use the SVG for print work; it stays sharp at any size.
Limitations
- Codes are black on white with no logo, colour or styling options.
- Content is always stored in byte mode. Other generators can make slightly smaller codes for content that is only digits or capital letters.
- Very long content produces dense codes that older or cheaper cameras struggle with. For links, a shorter address scans more reliably than a higher error correction level.
- The tool cannot check that a Wi-Fi password is correct or that an email address exists. Test the code before you rely on it.
Privacy
The code is generated by JavaScript in your browser. Your text, Wi-Fi password and email details are not uploaded, stored or logged, and nothing you type is added to the page address, so it will not appear in your history or in a shared link. QR Code is a registered trademark of Denso Wave Incorporated.
Common questions
Do QR codes expire?
A static QR code does not expire. Its content is stored in the pattern itself, so the code works for as long as it can be scanned. What can stop working is the destination: if a code holds a web address and that page is removed, the code leads nowhere. Dynamic codes, which redirect through a provider's service, stop working if that service is withdrawn.
How much data can a QR code hold?
A QR code can hold up to 2,953 bytes at the largest size and the lowest error correction level. For content made only of digits the maximum is 7,089 numerals, and for capital letters and digits it is 4,296 characters. In practice far less is advisable, because codes holding a lot of data become dense and hard for phone cameras to read.
Is it safe to scan a QR code?
Scanning a QR code is safe in itself, because a QR code holds only text and cannot run anything on a phone. The risk lies in where a link inside the code leads, such as a fake payment or login page. Read the address the phone shows before opening it, particularly on stickers in public places.
Can a damaged QR code still be scanned?
A damaged QR code can still be scanned if enough of it remains readable, because QR codes carry Reed–Solomon error correction data. Depending on the level chosen when the code was made, a scanner can rebuild roughly 7%, 15%, 25% or 30% of the code. Damage to the three large corner squares is more serious, as scanners need them to find the code.