How much data can a QR code hold?
A QR code holds up to 7,089 digits, 4,296 letters and numbers, or 2,953 bytes of text. Real limits by content type, and why shorter content scans better.
The largest QR code can hold up to 7,089 digits, 4,296 alphanumeric characters, or 2,953 bytes of ordinary text, according to Denso Wave, which invented the QR code. Those maximums apply to version 40, the biggest size, at the lowest error correction level. In practice, a QR code meant to be scanned by phones works best with under about 300 characters, and a short link is better still.
Maximum capacity by content type
QR codes store content in different modes, and some pack more in than others. These are the limits for version 40 (177 × 177 modules) at each error correction level:
| Content type | L | M | Q | H |
|---|---|---|---|---|
| Numeric (0–9) | 7,089 | 5,596 | 3,993 | 3,057 |
| Alphanumeric | 4,296 | 3,391 | 2,420 | 1,852 |
| Bytes (most text, links) | 2,953 | 2,331 | 1,663 | 1,273 |
| Kanji | 1,817 | 1,435 | 1,024 | 784 |
Alphanumeric mode accepts only digits, uppercase A–Z, the space, and $ % * + - . / :. Lowercase letters push the content into byte mode, which is why most links and messages use the byte column. Error correction levels explains L, M, Q, and H.
Capacity of small QR codes
Most codes you see in daily life are small versions. Byte capacity grows quickly as the grid gets bigger:
| Version | Grid | Bytes at L | Bytes at M |
|---|---|---|---|
| 1 | 21 × 21 | 17 | 14 |
| 2 | 25 × 25 | 32 | 26 |
| 3 | 29 × 29 | 53 | 42 |
| 4 | 33 × 33 | 78 | 62 |
| 5 | 37 × 37 | 106 | 84 |
| 10 | 57 × 57 | 271 | 213 |
A typical web address of 30 to 60 characters fits in version 3 or 4 at level M. That gives a simple, chunky code that scans quickly, even from a distance.
What fits in a QR code, in practice
| Content | Typical length | Comfortable in a QR code? |
|---|---|---|
| A short link | 20–40 characters | Yes, ideal |
| A long link with tracking parameters | 150–300 characters | Works, but the code gets dense |
| Wi-Fi network details | 30–80 characters | Yes |
| A contact card (vCard) | 150–400 characters | Yes, if you keep it to key fields |
| A paragraph of text | 300–1,000 characters | Possible, but hard to scan when printed small |
| A photo, PDF, or video | Thousands to millions of bytes | No. Use a link to the file instead |
When content doesn’t fit comfortably, put it online and encode the link. That’s how QR codes “hold” menus, documents, and videos: the code contains only the address.
Why non-English text takes more space
In byte mode, each character takes as many bytes as its UTF-8 encoding needs. English letters take 1 byte. Most Hindi, Bengali, or Tamil characters take 3 bytes each, and so do most Japanese and Chinese characters. A 100-character message in Hindi can need about 300 bytes, a version 11 to 13 code (61 to 69 modules across), depending on the error correction level.
Japanese text can use Kanji mode instead, which packs most Japanese characters into 13 bits (under 2 bytes). Not every generator uses it.
Why shorter content scans better
More content means more modules. Printed at the same size, more modules means each one is smaller, so the phone needs to be closer and the image sharper to read them.
- Shorten long links. Remove tracking parameters you don’t need, or use a short address on your own website.
- Keep text short. Put long content on a web page and encode the link.
- Keep contact cards lean. Name, phone, email, and website are usually enough. See how to put your contact details in a QR code.
- Print bigger when content is long. QR code size for printing gives sizes by scanning distance.
Common questions
Can a QR code store an image or a PDF?
Not in any useful way. Even a tiny image is usually larger than 2,953 bytes, and scanner apps expect text. Upload the file and put its link in the code.
Can I join several QR codes for more data?
The standard includes a “structured append” feature that splits data across up to 16 linked codes, but phone scanners rarely support it. Use a link instead.
Is there a minimum amount of data?
No. A QR code can hold a single character. The smallest version, 21 × 21 modules, is used for anything up to its capacity.
A note on EveryQR
EveryQR picks the smallest version that fits your content automatically, so a short link gives you the simplest code possible. Its Text type is handy for short notes, and the Link type for everything that lives online.
Related guides
- How QR codes work: finder patterns, modules, and data
- QR code error correction levels explained
- What is a QR code?
Browse all QR code guides.
About the author
I’m Shekhar Roy, a software engineer in New Delhi. I build EveryQR, a QR code scanner and creator for Android, and I write these guides from what I’ve learned making and testing it.