How Much Data Fits in a QR Code?
QR code capacity depends on content, encoding mode, version, and error correction. Numbers fit more compactly than byte text, so character count alone cannot predict capacity.
- Version 40-L holds at most 7,089 digits, 4,296 standard alphanumeric characters, or 2,953 bytes, depending on mode.
- The website's text field accepts 2,950 characters. That full length fits only at L with plain Latin ASCII text.
- Version 40-H holds up to 1,273 bytes. Accents and non-Latin text can require several UTF-8 bytes per character.
- Select the content type you need, such as a website link, plain text, or contact.
- Enter the actual information and watch the displayed version and module count.
- Use M for most codes. Choose Q or H where dirt or damage is likely.
- If the content will not fit, shorten it or point to a page holding the longer material.
- Save your result and test its final image or printed copy at the intended scanning distance.
Why numbers and text differ
QR codes have several ways to store content. Numeric mode packs digits more tightly than byte mode packs ordinary text. Standard alphanumeric mode covers uppercase Latin letters, digits, and specified punctuation. It does not mean every letter from every language. Lowercase letters and other characters can require byte encoding. In UTF-8, an accented letter may occupy more than one byte. Many non-Latin characters need several bytes too. The input's character limit therefore differs from the amount a particular code can hold. The generator uses UTF-8 byte mode, so the standard's numerical and alphanumeric maxima are not promises for this tool.
How error correction affects space
Error correction adds information that helps recover content from a damaged pattern. The available levels are L, M, Q, and H. Their approximate recovery figures are 7%, 15%, 25%, and 30% of codewords. These figures do not promise recovery from every kind of damage. M is the common choice and suits most uses. Q and H are useful where dirt or damage is expected. A higher setting reduces content capacity and can require a larger version. Keep a clear margin four modules wide around the pattern.
Keep the content useful
A short page address can be easier to scan than a long document stored directly. Plain text works when the message should remain inside the code itself. Contact, Wi-Fi, and calendar formats also include structure beyond the visible fields. Optional details take space, so include them only when useful. Versions range from 1 through 40, with larger versions containing more modules. Raising the PNG pixel size does not increase stored capacity. Static codes retain their content, though a linked page may change or close.
Does a larger image store more text?
More pixels change the image dimensions, not the encoded data. Check the version display to see the pattern's size. Test the downloaded file after placing it in your layout.
Should I always choose H?
Choose M for ordinary uses. Consider Q or H for dirty or damage-prone settings, with enough room for the resulting pattern. Test the actual print before making many copies.
Can a contact code hold more than a name?
A vCard 3.0 contact needs a full name and a phone number or email. Company, job title, and website are optional. Extra fields count toward the stored data, including their formatting.
Sources: DENSO WAVE: QR code versions · DENSO WAVE: Versions 31–40 capacity · DENSO WAVE: Error correction · DENSO WAVE: Printing QR codes
Open QR generator