Guide

QR code glossary

The words you meet when making, printing or scanning QR codes, in plain English: modules and quiet zones, error correction and masks, static and dynamic codes, payment formats and scams. Terms are grouped by topic, from the parts of a code to the standards behind it, and every term is a heading you can link to directly.

Parts of a QR code

Our interactive explainer highlights most of these parts on a live code.

Module

One of the small squares that make up a QR code. Each module is either dark or light. Everything about a code's size is measured in modules: a version 1 code is 21 × 21 modules.

Finder pattern

The three large squares in the top-left, top-right and bottom-left corners. Each is 7 × 7 modules, with dark, light and dark bands in the ratio 1:1:3:1:1. They let a scanner find the code and work out which way up it is.

Separator

The one-module-wide light strip around each finder pattern that keeps it apart from the data.

Timing pattern

Two lines of alternating dark and light modules running between the finder patterns, one horizontal and one vertical. They tell the scanner how big each module is and where the rows and columns fall.

Alignment pattern

A smaller 5 × 5 square, found in version 2 and larger codes. It helps the scanner correct for curves, tilt and perspective. Bigger versions have several.

Dark module

A single module next to the bottom-left finder pattern that is always dark, in every QR code.

Format information

Fifteen bits next to the finder patterns that record the error correction level and the mask pattern. It's stored twice so it survives damage.

Version information

Eighteen bits that record the version number, found only in version 7 and larger codes. Like format information, it's stored twice, near the top-right and bottom-left finder patterns.

Data region

All the modules that aren't part of a fixed pattern. They hold the encoded data and the error correction codewords.

Quiet zone

The blank margin around the code. The standard asks for four modules on every side; our downloads include two, and the rest is added when you place the code. A design that crops it away often stops a printed code scanning. See quiet zone.

Function patterns

The collective name for the fixed parts of a code: finder patterns, separators, timing patterns and alignment patterns. They're never masked.

How data is stored

Version

The size of a QR code. There are 40, from version 1 (21 × 21 modules) to version 40 (177 × 177). Each version adds 4 modules per side. See versions and capacity.

Capacity

How much a code can hold. It depends on the version, the error correction level and the encoding mode. The ceiling is 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes, in a version 40 code at level L.

Bit

The smallest unit of data: a 0 or a 1. Each module in the data region stands for one bit.

Codeword

A group of 8 bits. Data and error correction are both counted in codewords.

Encoding mode

The method used to turn characters into bits. The four main modes are numeric, alphanumeric, byte and kanji. See encoding modes.

Numeric mode

The most compact mode, for digits 0–9 only. Three digits fit in 10 bits.

Alphanumeric mode

A mode for 45 characters: digits, uppercase A–Z, space and $ % * + - . / :. Two characters fit in 11 bits.

Byte mode

The mode for everything else, including lowercase letters and UTF-8 text. Each byte takes 8 bits. Almost all links and messages use it.

Kanji mode

A mode for Japanese kanji and kana characters in the Shift JIS character set. Each character takes 13 bits.

Mode indicator

A 4-bit marker at the start of each chunk of data saying which mode follows, for example 0100 for byte mode.

Character count indicator

The number that follows the mode indicator and says how many characters are in the chunk. Its length depends on the mode and the version.

ECI

Extended Channel Interpretation: an optional marker telling the scanner which character set the following bytes use, such as UTF-8.

UTF-8

The standard way of storing text from any language as bytes. English letters take one byte each; accented letters take two; most emoji take four.

Structured append

A feature that splits one message across up to 16 linked QR codes, which a scanner reassembles.

FNC1

A marker that says the data follows an industry format, such as GS1's application identifiers.

Terminator

Four zero bits that mark the end of the data, followed by padding to fill the code.

Pad codewords

Filler codewords added when the data is shorter than the version's capacity.

Error correction

Extra data calculated from the message that lets a scanner rebuild parts of a code that are damaged or hidden. See error correction.

Error correction level

How much error correction a code carries: L (about 7% of the code can be restored), M (15%), Q (25%) or H (30%). The price of a higher level is more modules for the same content.

Reed–Solomon

The family of error-correcting codes QR codes use. It's also used on CDs, DVDs and in space probes.

Data block

Large codes split their codewords into several blocks, each with its own error correction, then interleave them so a single scratch doesn't wipe out one whole block.

Interleaving

Mixing codewords from different blocks as they're placed in the grid, so damage in one spot is spread across blocks.

Mask pattern

One of eight fixed patterns used to flip some data modules so the code doesn't contain large blocks or confusing shapes. See masking.

Penalty score

The score an encoder gives each mask pattern, based on four rules about runs, blocks, finder-like shapes and dark/light balance. The lowest score wins.

Payload

The exact text a QR code holds. Three real ones from our generator:

https://example.com/menu/today
WIFI:T:WPA;S:Cafe Guest;P:espresso-2024;;
upi://pay?pa=cafe@okaxis&pn=Cafe&cu=INR

The phone reads the text and decides what to do from how it starts: open a link, join a network, or open a payment app.

Printing and design

Module size

The printed width of one module. A camera needs to see each module clearly, so module size matters more than overall code size.

Scanning distance

How far away people will be when they scan. Module size, not overall width, sets how far a code can be read from. See QR code size.

10:1 rule

The print rule of thumb that a code should be about a tenth as wide as its scanning distance. It assumes a short link and decent light; denser codes need more.

Contrast ratio

How different two colors are in brightness, from 1:1 to 21:1. QR codes need dark modules on a light background with strong contrast. Check yours with the contrast checker.

Inverted QR code

A code with light modules on a dark background. Many phones read them, but not every scanner does. See colors and contrast.

Logo knockout

Clearing the modules behind a logo so it sits on a clean background rather than over half-hidden squares. See QR code with logo.

Vector

An image made of shapes rather than pixels, so it stays sharp at any size. SVG, PDF and EPS can all be vector formats.

Raster

An image made of pixels, like PNG or JPG. It blurs when enlarged beyond its size.

SVG

Scalable Vector Graphics: the best download format for printing a QR code. See best QR code format.

PNG

A pixel image format that keeps sharp edges. Good for screens, documents and social media.

DPI / PPI

Dots or pixels per inch. For print, a PNG should have about 300 pixels per inch of printed width.

Dot style

A design choice that draws modules as dots or rounded squares instead of plain squares. It changes the look, not the data.

Eye

A designer's word for a finder pattern, often styled with rounded or circular corners.

Frame

A border or label around a QR code, often with a call to action like "Scan for the menu." It must sit outside the quiet zone.

Call to action

A short line that tells people what scanning does, such as "Scan to join our Wi-Fi."

Kinds of code

QR code

Short for Quick Response code: a two-dimensional barcode invented by Denso Wave in 1994 and standardised as ISO/IEC 18004. See what is a QR code.

Static QR code

A code that holds its content directly. It never expires and can't be switched off, but you can't change its content after printing. Every code made on this site is static.

Dynamic QR code

A code that holds a short link to a company's server, which redirects to the real destination. You can change where it points, but it stops working if the service shuts down or you stop paying. See static vs dynamic.

Redirect

Sending someone from one web address to another. Dynamic QR codes rely on a redirect.

URL QR code

A code that holds a web address. The phone opens it in the browser. Make one with the link QR code generator.

Wi-Fi QR code

A code holding a network name, password and security type in the WIFI: format, so phones can join without typing. See Wi-Fi QR code.

vCard

A standard format for contact details. A vCard QR code lets someone save your name, number and email in one scan.

MeCard

A shorter contact format, originally from Japanese phones, that some scanners also read.

iCalendar event

The BEGIN:VEVENT format used for calendar events. A QR code holding one offers to add the event to the phone's calendar.

A link that opens a specific screen in an app, such as a chat in WhatsApp, instead of a web page.

UPI QR code

A payment code used in India. It holds a upi://pay link with the payee's UPI ID and, optionally, an amount.

Pix

Brazil's instant payment system. Pix QR codes use the EMV merchant-presented format with a CRC checksum.

EPC QR code

The European Payments Council's format for SEPA credit transfers, sometimes called a GiroCode. It holds the payee's name, IBAN and optionally an amount.

EMV QR code

A payment code format from EMVCo, used by many national payment systems, including Pix.

BIP21

The standard link format for Bitcoin payments, starting with bitcoin:.

A way of writing a product's barcode number as a web address, so one QR code can serve both a shop's checkout and a shopper's phone.

Micro QR code

A smaller QR code with one finder pattern and four sizes, M1 to M4. See Micro QR.

rMQR

Rectangular Micro QR: a long, thin QR-family code for narrow spaces, from 7 × 43 to 17 × 139 modules, standardised as ISO/IEC 23941 in 2022.

Data Matrix

A square 2D code with an L-shaped border, common on electronics, medicines and parts. See Data Matrix vs QR code.

Aztec code

A 2D code with a bullseye in the centre, used on many boarding passes and train tickets. See Aztec vs QR code.

PDF417

A wide, stacked barcode seen on many paper boarding passes and ID cards.

1D barcode

A classic barcode of vertical lines, read in one direction, like UPC and EAN. See barcode vs QR code.

2D barcode

Any barcode that stores data across and down, including QR, Data Matrix and Aztec codes.

NFC

Near Field Communication: a short-range radio chip you tap with a phone. See NFC vs QR code.

Scanning and safety

Scanner

Any device or app that reads codes. On most phones, the built-in camera is enough. You can also use our online QR code scanner.

Decoding

Turning the pattern of modules back into the original text.

Google Lens

Google's image search tool, built into many Android phones, which also reads QR codes.

Quishing

QR phishing: using a QR code to send people to a fake website that steals passwords or payments. Check the address before you enter anything. See what is quishing.

Sticker attack

Placing a fake QR code sticker over a real one, often on parking meters or posters, to redirect people to a scam site.

The address a phone shows before opening a scanned link. Reading it is the simplest protection against quishing.

Scan tracking

Counting scans by routing them through a redirect server. Only dynamic codes can be tracked this way; static codes go straight to their destination.

UTM parameters

Tags added to a link, like ?utm_source=poster, so website analytics can tell where visitors came from. They work with static codes but make the code denser.

Standards and history

ISO/IEC 18004

The international standard that defines QR codes. First published in 2000; the current fourth edition, ISO/IEC 18004:2024, came out in August 2024.

Denso Wave

The Japanese company, part of the Denso group, that invented the QR code in 1994. It holds patents on it and has declared it won't exercise them. Its site, qrcode.com, is the primary source for most QR facts. See QR code history.

Masahiro Hara

The engineer who led the team that developed the QR code at Denso Wave.

GS1

The global organisation that runs product barcode numbers (GTINs) and is leading the move to 2D codes at shop checkouts.

GTIN

Global Trade Item Number: the product number in a retail barcode. In a GS1 Digital Link it follows /01/, as in https://id.gs1.org/01/09506000134352.

Written by Last updated