How to use it
- Choose what the code should do: open a link, show text, join Wi-Fi, start an email, call or text a number, or add a contact.
- Fill in the fields. The preview updates as you type.
- Leave error correction on M unless the code will be printed somewhere it might get scuffed (choose Q or H) or you need to fit a lot of data (choose L).
- Download a PNG for documents and screens, or an SVG for print and logos because it scales without blurring.
- Scan the result with your own phone before you share or print it.
When to use it
- Linking a printed menu, flyer, poster or shop window to a web page.
- Sharing Wi-Fi details so guests can join by scanning instead of typing the password.
- Putting a contact card (vCard) on a business card or in an email signature.
- Pre-filling an email, text message or phone call for customers.
How a QR code stores your data
A QR code is a square grid of dark and light modules. Three large squares in the corners tell a scanner where the code is and how it is rotated. The rest of the grid holds your data as bits, plus extra check data produced by Reed–Solomon error correction. That extra data is why a code can still be read when part of it is dirty, scratched or covered.
The size of the grid is called the version. Version 1 is 21 × 21 modules and each version adds four modules per side, up to version 40 at 177 × 177. This generator picks the smallest version that fits your content at the error-correction level you choose, then draws it with the quiet zone (blank border) that scanners rely on.
Worked example. The text https://example.com is 19 bytes. At level M, version 1 holds only 14 bytes, so the generator uses version 2 (25 × 25 modules), which holds 26 bytes. If you switch to level H, version 2 holds only 14 bytes, so the code grows to version 3 (29 × 29 modules) to make room for the extra error correction. Same content, a denser grid, and a code that survives more damage.
Static codes and why they do not expire
Many online generators create “dynamic” codes. The code holds a short link on the provider’s server, and that server forwards the visitor to your real destination. That makes it possible to change the destination or count scans, but the code stops working if the provider changes its terms, closes or asks for a subscription.
The codes made here are static. The code contains your text, link or details directly, so it needs no server to keep working and nobody sits in the middle of a scan. The trade-off is that a static code cannot be edited after printing, and we cannot tell you how many times it was scanned.
| Level | Damage it can recover from (approx.) | Max numeric digits | Max text bytes |
|---|---|---|---|
| L | 7% | 7,089 | 2,953 |
| M | 15% | 5,596 | 2,331 |
| Q | 25% | 3,993 | 1,663 |
| H | 30% | 3,057 | 1,273 |
Making a code that scans first time
- Keep strong contrast. Dark modules on a light background are the most reliable. Avoid pale colours and inverted (light on dark) codes unless you have tested them.
- Leave the quiet zone. A blank border of at least four modules around the code helps scanners find its edges.
- Print it large enough. As a rule of thumb, the scanning distance can be about ten times the width of the code, so a code to be scanned from a metre away should be around 10 cm wide.
- Shorten what you encode. A short link makes a simpler code with bigger modules that is easier to scan from far away.
- Test on real phones. Try an iPhone and an Android phone before printing a large batch.
Scanning QR codes safely
Criminals sometimes stick fake codes over real ones or send them in messages to send you to a lookalike site. Before you open what a code contains, read the link your phone shows. Be wary of codes that ask you to log in, pay or install something, and do not scan codes from sources you do not trust.
Frequently asked questions
Do these QR codes expire?
No. They are static codes that hold your content directly. Because nothing depends on our website, they keep working for as long as the destination you encoded does.
Can you track how many people scan my QR code?
No, and we do not want to. A static code cannot report scans because there is no server in the middle. If the code links to your own website, your own web analytics will record the visits as normal.
What is the difference between static and dynamic QR codes?
A static code stores your content itself. A dynamic code stores a short redirect link on a provider’s server, which lets the provider change the destination and count scans, but it depends on that provider staying available.
Which error-correction level should I use?
Level M is a good general choice. Use Q or H when the code will be printed on something that may get dirty or scratched, and L when you need to fit a lot of data in a small code. Higher levels make the code denser.
Why won’t my QR code scan?
The usual causes are low contrast, light-on-dark colours, a missing quiet zone, a printed size that is too small for the scanning distance, or too much data packed into the code. Shorten the content, enlarge the code and use dark modules on a light background.
Can I use the QR codes commercially?
Yes. The codes you create are yours to use on products, posters and websites. QR Code is a registered trademark of DENSO WAVE INCORPORATED; that is a mark on the name, not a restriction on using the codes.
Sources and further reading
- DENSO WAVE: QR Code versions and capacity (opens in a new tab) – version sizes and data capacity from the inventor of the QR Code
- DENSO WAVE: QR Code error correction (opens in a new tab) – the four error-correction levels
- FTC: Scammers hide harmful links in QR codes (opens in a new tab) – consumer advice on scanning QR codes safely
- ZXing wiki: Barcode contents (opens in a new tab) – the Wi-Fi, SMS and contact formats scanner apps read