The largest QR code can hold up to 7,089 digits, 4,296 letters and numbers (capitals only), or 2,953 bytes of normal text. Those are the limits in the QR code standard (ISO/IEC 18004), for the biggest size and the lowest error correction. In practice you should use far less, because a code that full is very hard to scan.
QR code capacity by type of data
A QR code stores data in one of four modes. The scanner picks the most compact one that fits your content.
| Mode | What it can hold | Max (level L) | Max (level H) |
|---|---|---|---|
| Numeric | Digits 0 to 9 only | 7,089 | 3,057 |
| Alphanumeric | 0 to 9, A to Z (capitals), space and $ % * + - . / : | 4,296 | 1,852 |
| Byte | Any text, lower case, links, emoji, other languages | 2,953 bytes | 1,273 bytes |
| Kanji | Japanese characters | 1,817 | 784 |
Most real content (links, WiFi logins, contact cards, normal sentences) uses byte mode. One English letter is one byte. Accented letters take 2 bytes, most Chinese, Arabic or Hindi characters take 2 or 3, and an emoji takes 4. So 2,953 bytes might be 2,953 English letters but under 1,000 Chinese characters.
Why error correction lowers the limit
Every QR code keeps spare data so it still scans when part of it is dirty, torn or covered by a logo. There are four levels: L keeps about 7% spare, M about 15%, Q about 25% and H about 30%. More spare data means less room for your content. Most generators use M by default. If you add a logo, you need Q or H. Our error correction levels guide explains when to use each one.
Version: the size of the grid
QR codes come in 40 sizes, called versions. Version 1 is a grid of 21 by 21 squares. Each version adds 4 squares per side, up to version 40 at 177 by 177. The generator picks the smallest version your data fits in.
| Version | Grid | Bytes at level M | Enough for |
|---|---|---|---|
| 1 | 21 x 21 | 14 | A very short word or number |
| 2 | 25 x 25 | 26 | A short link like example.com/a |
| 4 | 33 x 33 | 62 | A normal web address |
| 6 | 41 x 41 | 106 | A WiFi login, a long link |
| 10 | 57 x 57 | 213 | A contact card |
| 20 | 97 x 97 | 666 | A long paragraph |
| 40 | 177 x 177 | 2,331 | The maximum |
The practical limit
Just because data fits does not mean it scans. A full version 40 code printed 5 cm wide has squares smaller than a third of a millimetre, and most phone cameras give up. A good rule:
- Under 100 characters: scans easily even at 2 cm.
- 100 to 300 characters: fine at 3 to 4 cm, test it first.
- Over 300 characters: print it big, or link to a page instead.
The QR code size chart gives the minimum print size for each amount of data and scan distance.
How to fit more
- Shorten links. Remove tracking bits like ?utm_source=... from the end. They often double the length.
- Use capitals for codes and IDs. Upper case letters and digits use the smaller alphanumeric mode.
- Link instead of embedding. Put long text on a page or in a PDF and make a QR code to it. See QR code for a PDF.
- Split it. Two small codes scan better than one huge one.
Questions
Can a QR code hold an image or a video? Not in practice. Even a tiny image is bigger than 2,953 bytes. The code holds a link to the image or video instead.
Does more data make a QR code bigger on paper? It makes the grid bigger, with more squares. If you keep the print size the same, every square gets smaller and harder to scan.
How much text can I put in a text QR code? Up to about 2,900 English letters, but keep it under 300 for easy scanning.
