How Much Information Can a QR Code Store?
A QR code holds up to 7,089 digits, 4,296 letters or 2,953 bytes. See how versions, encoding modes and error correction change that, and how much you should store.
By StylQR Editorial TeamPublished 5 min read

Table of contents
A single QR code can store up to 7,089 numeric digits, 4,296 alphanumeric characters, 2,953 bytes of binary data (about 2.9 KB) or 1,817 kanji characters. Those maximums apply only to the largest size, version 40, at the lowest error-correction level. Most real codes hold far less, and they scan better for it.
Below is how capacity actually works: the 40 versions, the four encoding modes, how error correction eats into space, and practical limits for links, contact cards and text.
The maximum capacity of a QR code
Denso Wave, the inventor of the QR code, lists these maximums in its QR code standards summary:
| Data type | Maximum characters | What counts |
|---|---|---|
| Numeric | 7,089 | Digits 0–9 only |
| Alphanumeric | 4,296 | 0–9, A–Z (uppercase), space and $ % * + - . / : |
| Byte (binary) | 2,953 | Any byte: lowercase letters, punctuation, UTF-8 text |
| Kanji | 1,817 | Japanese Shift JIS characters |
The same page notes that up to 16 QR codes can be linked with "structured append" to split data across several symbols, but few phone cameras handle that, so it's rarely useful for consumer codes.
Versions: why codes get denser as you add data
QR codes come in 40 sizes called versions. Version 1 is a 21 × 21 grid of modules (the small squares); each version adds four modules per side, up to 177 × 177 at version 40, as Denso Wave's version reference explains.
A generator picks the smallest version that fits your content. More content means a higher version, which means more and smaller modules at any given print size. Here's how much byte-mode data a few versions hold at error correction level M, the usual default, from Denso Wave's tables:
| Version | Grid | Bytes at level M | Enough for |
|---|---|---|---|
| 1 | 21 × 21 | 14 | A very short code like a ticket number |
| 2 | 25 × 25 | 26 | https://stylqr.com/blog |
| 4 | 33 × 33 | 62 | A typical web page URL |
| 10 | 57 × 57 | 213 | A short vCard or a few sentences |
| 20 | 97 × 97 | 666 | A paragraph of text |
| 40 | 177 × 177 | 2,331 | The ceiling at level M |
The capacity doesn't depend on how big you print. A version 10 code is always 57 × 57 modules, whether it's on a sticker or a billboard. What changes is how large each module is, and that decides whether a phone can read it.
Encoding modes: why some text fits more
The QR standard, ISO/IEC 18004, uses different modes to pack data efficiently:
- Numeric packs three digits into 10 bits. Phone numbers, order IDs and codes made only of digits are the most compact.
- Alphanumeric packs two characters into 11 bits, but only covers uppercase letters, digits and nine symbols. Lowercase letters aren't included.
- Byte stores 8 bits per byte and handles anything. Almost every web address ends up here because of lowercase letters and characters like
?and=. - Kanji stores Japanese characters in 13 bits each.
Non-Latin scripts use more than one byte per character in UTF-8. Most Hindi, Tamil or Bengali characters take 3 bytes each, and emoji take 4, so a message in those scripts fills a code roughly three times faster than the same number of English letters.
How error correction affects capacity
QR codes reserve part of the grid for error-correction data so a scratched or partly covered code still reads. Denso Wave's standards page gives approximate restoration rates of 7% for level L, 15% for M, 25% for Q and 30% for H.
More protection means less room for your data. At version 40, the byte capacity drops from 2,953 at level L to 2,331 at M, 1,663 at Q and 1,273 at H. At the small end, version 1 holds 17 bytes at L but only 7 at H.
This matters when you add a logo. The logo covers modules, so StylQR switches to level H automatically, and your content then needs a larger version. A short link absorbs that easily; a long one becomes very dense.
Practical limits: what you should store
Just because a code can hold 2,953 bytes doesn't mean it should. Approximate guidance for codes that scan reliably on ordinary phones:
| Content | Comfortable length | Notes |
|---|---|---|
| Web link | Under about 50 characters | Strip tracking junk; shorter is better |
| Wi-Fi | Network name plus password | Usually 30–80 characters, no problem |
| vCard | Name, phone, email, company, website | Keep to essentials; skip long addresses and notes |
| Plain text | A few sentences | Beyond a short paragraph, link to a page instead |
| UPI payment | Payee ID, name, amount, note | Short by design |
The physical side is simple arithmetic. At 2 cm wide, a version 2 code has modules of roughly 0.8 mm each; a version 10 code at the same size has modules of about 0.35 mm, which many phones struggle with at arm's length. If your content needs a high version, print bigger. How to create high-resolution QR codes for printing and QR code design best practices cover sizing in more detail.
When the content doesn't fit
Signs you've gone too far: the generator warns about density, the preview looks like gray static, or test scans take several seconds. Options:
- Shorten it. Remove unnecessary URL parameters, trim text, drop optional vCard fields.
- Link instead of embedding. Put long text, menus or documents on a web page and encode the URL. StylQR doesn't host files, so the page or file needs to live on your site, Google Drive or Dropbox.
- Use uppercase for alphanumeric data where you control the format, such as internal asset tags like
ASSET-00042. - Print larger so each module stays a comfortable size.
QR codes vs other 2D barcodes
QR isn't the only option. Data Matrix is common on small parts and medical packaging, and PDF417 appears on ID cards and boarding passes. Smaller formats such as Micro QR and rectangular rMQR fit narrow spaces but hold much less. The barcode generator covers these; QR code vs barcode explains how they compare to one-dimensional barcodes.
The takeaway
A QR code's capacity is large, but the sweet spot is small. Keep the content short, link to a page for anything long, and size the print to the density. If you're new to how the pattern works, what is a QR code? covers the basics.
Frequently asked questions
Can a QR code store an image or a video?
Not in any useful way. Even the largest code holds under 3 KB, far too small for a photo or video. Store the file online and put its link in the code.
Can a QR code store a whole PDF?
No. Upload the PDF to your website, Google Drive or Dropbox and encode the link. StylQR's PDF type creates that link code for you; it doesn't host the file.
Does a bigger printed QR code hold more data?
No. Capacity depends on the number of modules in the grid, not the physical size. Printing larger only makes each module bigger and easier to scan.
Do emojis work in QR codes?
Yes, they're stored as UTF-8 bytes in byte mode, but each emoji takes 4 bytes, so they use capacity quickly. Some older scanners may display them incorrectly.


