Two QR codes with the same number of characters can have very different grids. That is because the standard stores data in modes, and each mode uses a different number of bits per character. Understanding the modes explains why a short link is better than a long URL, and why a string of digits fits on a much smaller label.
The Four Modes
QR codes support numeric, alphanumeric, byte and kanji modes. Numeric mode stores digits in groups of three using ten bits. Alphanumeric mode covers upper-case A-Z, digits, space and a small punctuation set ($ % * + - . / :). Byte mode stores arbitrary bytes, usually UTF-8 text. Kanji mode uses Shift JIS X 0208.
In rough terms, numeric mode uses about three and a third bits per character, alphanumeric about five and a half, byte eight, and kanji thirteen. A 30-digit number is much cheaper to encode than a 30-character URL.
Generators choose the mode automatically. The practical consequence is that character count alone does not predict grid size: the character set does.
Why URLs Are Byte Mode
A URL contains lower-case letters, slashes, dots, hyphens and query parameters. Lower-case letters are not in the alphanumeric set, so the whole payload falls back to byte mode. That costs more bits per character.
Upper-casing the domain and path does not reliably help, because query values are often case-sensitive and URLs in byte mode gain little from a few upper-case letters. Do not break a working URL to save a few modules.
What does help is shortening. A 25-character short URL uses about a third of the bits of a 75-character tracking URL, and that can drop the code by one or two versions.
Error Correction Multiplies the Effect
Higher error correction levels reserve more codewords for recovery. A payload that fits in a version 3 code at level L might need version 5 at level H.
For print, this is a good trade: the extra modules buy tolerance for scuffs and logos. But more modules at a fixed physical size mean smaller modules, so make the code larger when you raise the level.
The error correction guide lists the levels and their approximate recovery percentages.
Special Characters and Encoding Errors
Non-ASCII text in byte mode needs UTF-8, and some older readers expect ISO/IEC 8859-1. A name with an accent can display incorrectly on an older phone even though the code scans. Test with the devices your audience uses.
Line breaks inside a vCard or a text payload add bytes. Use CRLF where the format expects it, and avoid pasting text with hidden formatting into the generator.
A URL containing an ampersand in a query string is fine in a QR code; the ampersand is a byte. Problems usually come from the destination dropping the parameter, not from the encoding.
Design to the Grid, Not the Character Count
- Choose the shortest payload that does the job.
- Pick an error correction level appropriate to the surface.
- Generate the code and check the module count or version.
- Multiply the module count by the minimum module size for your print process.
- Print a proof and scan at the real distance.
The capacity guide lists the maximum numbers, but a legible print is decided by module size, not by the ceiling.
