QR guide
What Is a QR Code? How It Works and What It Stores
Learn what a QR code is, how its square modules store data, what error correction does, and why contrast and a quiet zone matter when scanning.
Updated 2026-11-07T23:17:00+05:30
A QR code is a two-dimensional barcode that stores data in a square pattern of light and dark modules. A camera or scanner reads that pattern and decodes the information, which may be a web address, text, contact details, Wi-Fi settings, or another supported payload.
How does a QR code work?
The pattern is not random decoration. Its position markers help a reader locate and orient the symbol. The remaining modules contain encoded data and error-correction information. The scanner captures the pattern, interprets its structure, and converts the encoded data into a value that the device can display or act on.
Standard QR Code symbols are built from small square modules. Different symbol versions use different grid sizes. As the amount of encoded data grows, the symbol may need more modules, making the pattern denser when its physical size stays the same.
What information can a QR code store?
A QR code can contain a URL, plain text, contact record, Wi-Fi network details, email address, SMS or phone action, coordinates, or a messaging link. The scanner does not need to know what the information means in advance; it decodes the payload and the device decides how to present a recognised format.
What are the square markers and blank border?
The large position-detection patterns near three corners help a reader find the symbol and determine its orientation. Smaller structural patterns support reading the grid. The clear area around the outside is called the quiet zone. It separates the QR from nearby text, borders, photographs, and other graphics.
For a standard QR Code, DENSO WAVE specifies a quiet zone at least four modules wide on every side. Keep that margin clear when placing the symbol in a design or preparing it for print. See the QR Code margin guidance from DENSO WAVE.
What does error correction do?
QR Code includes error correction that can recover data when part of a symbol is dirty or damaged. The standard levels are L, M, Q, and H. A higher level adds more recovery information, which can improve tolerance to some damage but also increases the amount of space used by the encoded symbol.
Error correction is not permission to cover a large area with a logo or use poor contrast. The final symbol still needs to be printed clearly and tested. DENSO WAVE explains the QR Code error-correction feature.
Does scanning a QR code make its contents safe?
No. A QR code is a way to encode and retrieve information, not a security check. A readable code can point to a malicious or misleading website just as an ordinary link can. Inspect the decoded destination before opening it, and do not enter sensitive information simply because a QR code asks for it.
Static and dynamic QR codes are different workflows
A static QR stores its payload directly in the symbol. A dynamic QR service typically uses a managed redirect or intermediary so the destination can be changed later. The appearance alone does not tell you which workflow is in use. Read the static vs dynamic QR code comparison for the trade-offs.
- Keep strong contrast between the modules and background.
- Preserve the quiet zone around all four sides.
- Avoid distorting the square modules when resizing.
- Keep logos and decoration away from important parts of the pattern.
- Test the exported file and final printed version.