QR Code Generator
Make a QR code for a link, text, a Wi-Fi network or a contact card. The code is permanent and never expires.
How to use it
- Choose what the QR code holds: a link or text, a Wi-Fi network or a contact card, then fill in the details.
- Adjust error correction, size and colors if you need to. The preview updates as you type.
- Scan the preview with your phone camera to test it, then press Download PNG to share it or Download SVG for large prints.
Versions, capacity and error correction
The size of a QR code's grid is called its version, from version 1 (21 × 21 modules) to version 40 (177 × 177 modules). Each version adds 4 modules per side. The tool picks the smallest version that holds your content and stores the text as UTF-8 bytes: plain letters and digits take 1 byte, accented letters such as é take 2, and an emoji takes 4. The version, module count and byte count appear under the preview.
Error correction adds spare data so the code still scans when part of it is damaged. Level L can restore about 7% of the data, M about 15%, Q about 25% and H about 30%. The higher the level, the less content fits in the same version:
| Version | Modules | L | M | Q | H |
|---|---|---|---|---|---|
| 1 | 21 × 21 | 17 | 14 | 11 | 7 |
| 2 | 25 × 25 | 32 | 26 | 20 | 14 |
| 3 | 29 × 29 | 53 | 42 | 32 | 24 |
| 5 | 37 × 37 | 106 | 84 | 60 | 44 |
| 10 | 57 × 57 | 271 | 213 | 151 | 119 |
| 20 | 97 × 97 | 858 | 666 | 482 | 382 |
| 40 | 177 × 177 | 2953 | 2331 | 1663 | 1273 |
The figures are maximum bytes. Example: https://swift.id is 16 bytes. At level M, version 1 holds only 14 bytes, so the code uses version 2 (25 × 25 modules). At level L, version 1 is enough.
Image size and quiet zone
Each module is drawn with a whole number of pixels so the edges stay crisp. Version 2 with the standard 4-module border on each side is 33 modules wide. In a 1024-pixel download each module becomes 31 pixels (33 × 31 = 1023), and the spare pixel is filled with the background color. A 4-module quiet zone is what the QR code standard asks for; choose No border only if the code will sit on an area that is already blank.
SVG stores every module as a vector shape, so it stays sharp at any print size. When printing, module size = code width ÷ number of modules. A 140-byte contact card needs version 8 (49 × 49 modules) at level M; printed 0.8 inch wide, each module is only about 0.016 inch (0.4 mm). A short link in version 2 at the same width gets modules twice as large, so it scans from farther away.
Wi-Fi and contact content
A Wi-Fi code uses the format WIFI:T:WPA;S:Home Wi-Fi;P:secret123;;, which the camera apps on Android phones and iPhones understand. Backslashes, semicolons, commas, colons and double quotes in the name or password are escaped automatically. A contact becomes a vCard 3.0 with name, phone number, email and organization; empty fields are left out.
Common mistakes: a code that is lighter than its background, contrast below 3:1 (the tool warns about both), and printing a Wi-Fi code without scanning it first. A QR code's content can't be changed after printing; if the Wi-Fi password changes, make and print a new code.