QRcritter
QR Basics

How Do QR Codes Work? What Makes a QR Code

Updated 2026 · A plain-English explanation

A QR code looks like a random scatter of black and white squares, but there's nothing random about it. Every part has a job. Here's what's actually inside one and how your phone turns that little pattern into a link in under a second.

The one-sentence version

A QR code stores information as a grid of black and white squares, where black and white stand in for the ones and zeros of digital data — and a clever built-in backup system lets your phone read it even when part of the code is dirty, damaged, or hidden behind a logo.

A tiny bit of history

QR stands for "Quick Response." The code was invented in 1994 by a Japanese company called Denso Wave to track car parts on factory lines. Ordinary barcodes could only hold a little data in a single line; the team wanted something that held far more and could be read fast from any angle. The two-dimensional grid was the answer — and the same design now lives on menus, posters, and packaging worldwide.

What's inside a QR code

Zoom in and you'll notice the pattern isn't uniform. A few distinct features do the heavy lifting:

Finder patterns Timing lines Alignment + data Quiet zone
The main parts of a QR code (simplified).

Finder patterns — the three big squares

Those three large square "eyes" in the corners are the first thing a scanner looks for. They tell the camera "this is a QR code, and here's how it's rotated." Because there are three of them in known corners, your phone can read the code upside down, sideways, or at an angle — it just uses the eyes to orient itself.

Timing lines — the ruler

Running between the finder patterns is a dashed line of alternating black and white squares. This acts like a ruler, telling the scanner exactly how big each square (called a "module") is, so it can line up the grid correctly.

Alignment pattern — staying square

A smaller square near one corner helps the scanner correct for distortion — for example, when the code is printed on a curved bottle or photographed at a slant.

Quiet zone — the breathing room

The empty margin around the whole code isn't wasted space. This "quiet zone" separates the code from surrounding clutter so the scanner can tell where it starts and ends. Crowd a code with text right up to its edge and it may fail to scan — which is why every guide tells you to leave a margin.

Data modules — the actual message

Everything else — the busy field of squares in the middle — is your data. Each little square is a bit: black or white, one or zero. Grouped together, they spell out the link, text, or WiFi details you encoded.

The clever part: error correction

Here's what makes QR codes genuinely impressive. They don't just store your data — they store a mathematical backup of it, woven right into the pattern. This is called error correction, and it means a code can lose a chunk of itself and still scan perfectly.

Depending on the setting used when the code is made, a QR code can recover from roughly 7% to 30% of its area being missing or unreadable. That's why a coffee stain, a scratch, or — crucially — a logo placed in the middle doesn't break it. The scanner reconstructs the missing bits from the backup data.

This is why you can add a logo: tools like QRcritter use a higher error-correction level, reserving enough backup data that a centered logo covers only recoverable squares. The code reads right through it.

How your phone reads one

When you point your camera at a code, it happens in a blink, but the steps are:

  1. Spot it. The camera finds the three finder-pattern eyes and recognizes a QR code is present.
  2. Straighten it. Using the eyes and alignment pattern, it corrects for angle and distortion, mapping the image onto a clean grid.
  3. Read the grid. It reads each module as a one or zero.
  4. Fix any errors. It uses the error-correction data to repair anything smudged or missing.
  5. Decode. It translates the bits into text — a URL, WiFi login, contact card — and offers you the appropriate action.

Why they hold so much (and different amounts)

QR codes come in "versions" from small to large — the more data you pack in, the more modules appear and the denser the grid gets. A short link makes a clean, sparse code; a long block of text makes a busy one. That's why encoding less information produces a simpler, more reliable code — a good reason to keep links short.

Make your own QR code

Now that you know how they work — build one free in about a minute.

Open QRcritter →