Skip to content

01Guide

How a QR code works.

Three squares in the corners, a grid of dots, and a phone reads a link from it. Here is each area of the code, and what the reader does with it.

The short answer

A QR code is a grid of dark and light modules. A fixed part helps the reader find the code, straighten it and read it. The rest carries the message in 8-bit words, with error correction that keeps it readable even when damaged.

By · published on · 10 sources · All guides

02Questions

Frequently
asked questions.

Why does a QR code have three squares in the corners?

They are the finder patterns: the reader looks for them first, to find the code and see which way it is turned.

What do levels L, M, Q and H mean?

They are the four error-correction levels: about 7, 15, 25 and 30% of codewords can be restored. The higher the level, the more the code resists damage, and the bigger it gets.

Can a damaged QR code still be read?

Yes, within the limit of its correction level, if its finder patterns are intact: error correction does not protect the fixed patterns.

How many characters can a QR code hold?

At most 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes, in version 40 at correction level L.

Why are two QR codes for the same link different?

The software chooses the mode, the correction level and the mask: other choices give a different drawing, for the same link.

What is the white margin around the code for?

It is the quiet zone: 4 light modules on each side, and it is required. Include it in the space you plan for.

Who invented the QR code?

A team of two people at DENSO WAVE, a barcode reader maker. The code came out in 1994, after a year and a half of development.

03Sources

Sources
and dates.

Every claim in this guide links to one of these pages, read in full, with the date it shows and the day we read it.

  1. [1]

    Information capacity and versions of the QR CodeDENSO WAVE, inventor of the QR codeNo date shown · accessed November 22, 2026

  2. [2]

    History of QR CodeDENSO WAVESections 1 to 3: development, the 1:1:3:1:1 ratio, the 1994 launch, Micro QR.No date shown · accessed November 22, 2026

  3. [3]

    FAQDENSO WAVEQuestions on the name, usage rights, the four modes and different codes for the same content.No date shown · accessed November 22, 2026

  4. [4]

    QR Code StandardizationDENSO WAVEStandardization dates, patent, summary specification: maximum capacities and correction levels.No date shown · accessed November 22, 2026

  5. [5]

    QR codeEnglish WikipediaRevision no. 1386207351, sections “Design”, “Error correction” and “Format information and masking”. Cited only in place of the ISO/IEC 18004 standard, which is not free.Date shown: November 17, 2026 · accessed November 22, 2026

  6. [6]

    Zones, codewords, bits and capacities calculated by the site’s encoderQR Samurai measurementCalculations redone each time the site is built. Tests compare the map of zones, module by module, with that of a second encoder (uqr 0.1.3), and have ZXing read back the codes produced (zxing-wasm 3.1.7).Date shown: November 22, 2026 · accessed November 22, 2026

  7. [7]

    Creating a QR Code step by stepProject NayukiThe steps of building a QR code, from 0 to 9. Our encoder follows Project Nayuki’s algorithms.Date shown: November 5, 2018 · accessed November 22, 2026

  8. [8]

    QR Code Model 1 and Model 2DENSO WAVENo date shown · accessed November 22, 2026

  9. [9]

    Point for determining the code areaDENSO WAVE4-module margin around the code.No date shown · accessed November 22, 2026

  10. [10]

    Error Correction FeatureDENSO WAVENo date shown · accessed November 22, 2026