How to make a QR code
- Choose what it should do. Open a link, join Wi-Fi, save a contact, start an email, ring a number or start a text.
- Fill in the details. The code updates as you type. Scan it from the screen with your phone’s camera to check it.
- Download. PNG for documents and posts, SVG for print. Colours, size and error correction are under the options.
Everything happens in your browser. What you type isn’t sent anywhere or saved, and it isn’t added to the page address, so it isn’t shared if you copy the link.
What each type of code does
| Type | When scanned, the phone | Good for |
|---|---|---|
| Link | Offers to open the web page | Menus, posters, business cards, packaging |
| Wi-Fi | Offers to join the network, no typing | Guests, holiday lets, cafés, offices |
| Contact | Offers to save a contact card (vCard) | Business cards, name badges, email signatures |
| Opens a new email, addressed and filled in | Feedback, “email us to enter” | |
| Phone | Offers to ring the number | Signs, adverts, lost-property tags |
| Text | Opens a text message ready to send | Text-to-vote, opt-ins, bookings |
Error correction
QR codes repeat some of their data so they still scan when part of the code is dirty, scratched or covered. More error correction means a denser code. Medium suits most uses. Choose High if the code will be printed somewhere it may get damaged, or if you’ll put a small logo over the middle.
| Level | Recovers from | Most it can hold |
|---|---|---|
| Low (L) | about 7% damage | 2,953 bytes |
| Medium (M) | about 15% damage | 2,331 bytes |
| Quartile (Q) | about 25% damage | 1,663 bytes |
| High (H) | about 30% damage | 1,273 bytes |
Most letters and numbers take 1 byte. Accented letters such as é take 2, and emoji take 4 or more. A link of 30 to 60 characters makes a small, easy code. Anything near the limit is too dense to scan comfortably from print.
A worked example: Wi-Fi for guests
Choose Wi-Fi, type the network name exactly as it appears (it’s case-sensitive), the password, and leave security on WPA. For a network called Home with the password p;ss, the code holds WIFI:T:WPA;S:Home;P:p\;ss;;. The backslash before the semicolon is added for you, because semicolons separate the parts. Print it and stick it inside a cupboard door, and guests can join by pointing their camera at it. Recent iPhone and Android cameras read Wi-Fi codes without an extra app.
Tips for codes that scan first time
- Keep the white border. The quiet zone around the code (4 squares wide) helps phones find it. Don’t crop it off or print right up to other graphics.
- Dark on light. Black on white is best. Coloured codes work if there’s strong contrast; you’ll see a warning if there isn’t. Light codes on dark backgrounds confuse some scanners.
- Shorter is better. A short link gives bigger squares that scan from further away.
- Test it printed. Check on paper, at the real size and in the real light, with more than one phone.
- Say what it does. A line like “Scan to join our Wi-Fi” next to the code gets far more scans than a code on its own.
Common mistakes
- Leaving out https://. Without it some phones search for the text instead of opening it. The tool adds it when you type a bare address like
example.co.uk. - Typos in Wi-Fi details. A wrong letter in the name or password means the phone can’t join. Scan it yourself before printing.
- Phone numbers without the country code.
07700 900123works in the UK, but+44 7700 900123works from anywhere. - Using a code that may need to change. Point it at a page you control instead.
Need an icon for your website too? Try the favicon generator. Putting the code on a web page? Shrink the SVG with the SVG optimiser.