Where everyday payloads land
You never pick a version. The encoder takes the smallest one your data fits at the chosen error correction level. These are the versions our encoder picked for real payloads:
| What's in the code | Length | L | M | Q | H |
|---|---|---|---|---|---|
tel:+919876543210 | 17 | 1 | 1 | 2 | 2 |
https://example.com | 19 | 2 | 2 | 2 | 3 |
https://example.com/menu/today | 30 | 2 | 3 | 3 | 4 |
upi://pay?pa=cafe@okaxis&pn=Cafe&cu=INR | 39 | 3 | 3 | 4 | 5 |
WIFI:T:WPA;S:Cafe Guest;P:espresso-2024;; | 41 | 3 | 3 | 4 | 5 |
| A link with three UTM tracking tags | 90 | 5 | 6 | 8 | 9 |
| A contact card with address (vCard 3.0) | 238 | 10 | 11 | 13 | 16 |
Our generator uses level M, or H when you add a logo. So a plain menu link comes out as version 3 (29 × 29), and the same link with a logo as version 4 (33 × 33).
What a version is
A version is a size, counted in modules (the small squares). Version 1 is 21 × 21, and each step adds 4 modules per side, so version N is 4N + 17 across. Version 40 is 177 × 177 (Denso Wave).
Bigger versions carry extra fixed parts. From version 2 there's a small alignment square near the bottom-right corner, and more of them as the code grows. From version 7, two blocks of version information sit beside the corner squares. The interactive explainer shows them appearing as you type.
Capacity table
Capacity depends on the version, the error correction level and the encoding mode:
- Numeric: digits 0–9 only.
- Alphanumeric: digits, uppercase A–Z, space and
$ % * + - . / :. - Byte: everything else, stored as UTF-8. Any lowercase letter,
?,=or&puts text here, so this is the column that applies to links.
Maximum characters at levels L and M:
| Version | Grid | Numeric L | Numeric M | Alphanumeric L | Alphanumeric M | Byte L | Byte M |
|---|---|---|---|---|---|---|---|
| 1 | 21 × 21 | 41 | 34 | 25 | 20 | 17 | 14 |
| 2 | 25 × 25 | 77 | 63 | 47 | 38 | 32 | 26 |
| 3 | 29 × 29 | 127 | 101 | 77 | 61 | 53 | 42 |
| 4 | 33 × 33 | 187 | 149 | 114 | 90 | 78 | 62 |
| 5 | 37 × 37 | 255 | 202 | 154 | 122 | 106 | 84 |
| 6 | 41 × 41 | 322 | 255 | 195 | 154 | 134 | 106 |
| 7 | 45 × 45 | 370 | 293 | 224 | 178 | 154 | 122 |
| 8 | 49 × 49 | 461 | 365 | 279 | 221 | 192 | 152 |
| 10 | 57 × 57 | 652 | 513 | 395 | 311 | 271 | 213 |
| 15 | 77 × 77 | 1,250 | 991 | 758 | 600 | 520 | 412 |
| 20 | 97 × 97 | 2,061 | 1,600 | 1,249 | 970 | 858 | 666 |
| 25 | 117 × 117 | 3,057 | 2,395 | 1,853 | 1,451 | 1,273 | 997 |
| 30 | 137 × 137 | 4,158 | 3,289 | 2,520 | 1,994 | 1,732 | 1,370 |
| 40 | 177 × 177 | 7,089 | 5,596 | 4,296 | 3,391 | 2,953 | 2,331 |
Maximum characters at levels Q and H:
| Version | Numeric Q | Numeric H | Alphanumeric Q | Alphanumeric H | Byte Q | Byte H |
|---|---|---|---|---|---|---|
| 1 | 27 | 17 | 16 | 10 | 11 | 7 |
| 2 | 48 | 34 | 29 | 20 | 20 | 14 |
| 3 | 77 | 58 | 47 | 35 | 32 | 24 |
| 4 | 111 | 82 | 67 | 50 | 46 | 34 |
| 5 | 144 | 106 | 87 | 64 | 60 | 44 |
| 6 | 178 | 139 | 108 | 84 | 74 | 58 |
| 7 | 207 | 154 | 125 | 93 | 86 | 64 |
| 8 | 259 | 202 | 157 | 122 | 108 | 84 |
| 10 | 364 | 288 | 221 | 174 | 151 | 119 |
| 15 | 703 | 530 | 426 | 321 | 292 | 220 |
| 20 | 1,159 | 919 | 702 | 557 | 482 | 382 |
| 25 | 1,718 | 1,286 | 1,041 | 779 | 715 | 535 |
| 30 | 2,358 | 1,782 | 1,429 | 1,080 | 982 | 742 |
| 40 | 3,993 | 3,057 | 2,420 | 1,852 | 1,663 | 1,273 |
We filled every cell by asking our encoder for the longest string of each kind that fits, and the results match the capacity tables in ISO/IEC 18004. They assume the whole message uses one mode. A good encoder mixes modes (a run of digits in numeric, the rest in bytes), which can squeeze in a little more.
Why "2,953 characters" is usually wrong
The byte column counts bytes, not letters. Plain English letters take one byte each in UTF-8, accented letters like é take two, and most emoji take four. A message full of emoji fits about a quarter of the number in the table.
The alphanumeric column trips people up the other way. Its 4,296 looks like the limit for text, but one lowercase letter moves that part of the message into byte mode.
What to do with this
Keep what goes in the code short, and the version stays low and the modules stay big. If a code looks dense, the cause is almost always a long link or a full contact card. The QR code size guide turns a version into a print width.
For tiny parts there's also Micro QR, with four sizes from 11 × 11 to 17 × 17. Phone cameras don't read it.