Explainer
How Do QR Codes Work?
A QR code is a picture that stores text. Your phone camera reads the pattern and turns it back into words, most often a web address. Here is what happens in the half second between pointing the camera and seeing the link.
What the squares are
The pattern is a square grid of small dark and light cells called modules. A tiny code has 21 by 21 of them. The biggest standard size has 177 by 177. More data means more modules.
- Three large squares in the corners. These tell the camera where the code is, which way it is turned and how big it is. That is why a code scans upside down or at an angle.
- A smaller square near the fourth corner. Larger codes use it to correct for a code printed on a curved or bent surface.
- Alternating dots between the corner squares. A timing line the camera uses to count the grid.
- Everything else is data and repair data. Your text, plus extra copies spread through the grid.
How a phone reads one
- The camera takes a picture and looks for the three corner squares.
- It straightens the image so the grid is square, whatever the angle.
- It reads each module as dark or light, which gives a string of ones and zeros.
- It uses the repair data to fix any cells it read wrongly.
- It decodes the result into text and shows you the link before opening it.
Nothing is sent anywhere during that read. The whole message is in the picture. The internet is only needed after, when the phone opens the page.
How a QR code is made
A generator takes your text, converts it to bits, adds repair data, then fills the grid with dark and light cells in a fixed layout. It adds a masking pattern that breaks up large blocks of one colour, which are hard for cameras to read. The result is a picture file you download.
The repair data comes in four levels, from about 7% to 30% of the pattern. A higher level survives more damage but needs more modules. The QR code size and print guide shows which level suits which job.
What a code can hold, and what it should
A code can hold thousands of characters, but a dense pattern is harder to scan at small sizes. For most uses, the best thing to store is a short web address and keep the rest on the page.
That choice decides how long the code stays useful. A code that holds your final address cannot change, which is a static code. A code that holds a short link you control is a dynamic code: the printed squares stay the same, and you change where the link sends people. If you want to see what that lets you do after printing, read how to change a QR code after printing.
How QR codes work: questions
Print it once, change it later
A Lifetime QR Code costs $49 once per code and nothing renews. The link behind it can be changed whenever you like.
Create an editable code →