QR code glossary · QR code basics
QR code
Also called: Quick Response code, QR Code
Definition
A QR code (Quick Response code) is a square two-dimensional barcode, standardized as ISO/IEC 18004, that stores data such as a web address, contact card or WiFi login in a grid of dark and light squares that a phone camera can read in any orientation.
How it works
A QR code is a grid of modules, from 21 × 21 in the smallest version to 177 × 177 in the largest. Some modules form fixed shapes that help a scanner read the code: three finder patterns in the corners, two timing patterns, alignment patterns in all but the smallest version, and two copies of the format information. The rest of the grid holds the content, split into 8-bit codewords, followed by Reed–Solomon error correction codewords, with a mask pattern applied so the result has no confusing blocks.
- Finder patterns
- Separators (always light)
- Timing patterns
- Alignment patterns
- Format information and the dark module
- Version information
- Encoding region (data and error correction)
- Quiet zone
To read it, a scanner finds the three finder patterns, works out the code’s size, angle and which corner is missing a finder (which tells it which way up the code is), samples every module as dark or light, reads the error correction level and mask, removes the mask, repairs any damaged codewords and decodes the text. The phone then decides what to do with that text: open a link, offer to join a network or save a contact.
DENSO WAVE, then part of DENSO Corporation, released the QR code in 1994 to track automotive parts. It became an AIM standard in 1997, a Japanese Industrial Standard in 1999 and an ISO standard in 2000; the current edition is ISO/IEC 18004:2024. DENSO WAVE holds patents on the code but has said it will not exercise them, so anyone can make and read QR codes without a license.
Why it matters
Every QR code follows the same standard, so any phone can read any correctly made code, whoever generated it. The differences that matter all come from choices made when the code is generated:
- What it contains. Content stored directly makes a static code; a short link to a redirect service makes a dynamic code that can be edited and tracked.
- How much it contains. More content means more modules, so each module is smaller at the same print size. See data capacity.
- How robust it is. The error correction level sets how much damage the code survives.
- How it is printed. Size, contrast and a clear quiet zone decide whether a camera can read it in real conditions.
A code itself holds only text. It cannot run anything on a phone; any risk comes from the page or file the text points to, which is why quishing attacks rely on fake links rather than on the code.
In CirculateQR
CirculateQR makes standard QR codes with the open-source qrcode encoder: static codes free and unlimited, and dynamic codes that can be edited, routed and tracked.
Related terms
- 2D barcodeA 2D barcode is a barcode that stores data across both the width and the height of its pattern, unlike a 1D (linear) barcode such as a UPC, which stores a short number in the widths of its bars; QR codes, Data Matrix, Aztec and PDF417 are all 2D barcodes.
- ModuleA module is a single square cell of a QR code, either dark or light, and the basic unit of the symbol: each one is a bit of data or part of a fixed pattern, and the printed width of one module decides how far away the code can be read.
- Finder patternA finder pattern is one of the three large concentric squares in the top-left, top-right and bottom-left corners of a QR code, which a scanner uses to detect the code, measure its size and angle, and work out which way up it is.
- QR code versionA QR code’s version is its size on a scale from 1 to 40: version 1 is 21 × 21 modules and each version adds 4 modules per side, up to 177 × 177 at version 40, so a version V code is 17 + 4V modules across.
- Static QR codeA static QR code is a QR code whose content, such as a web address, WiFi login or contact card, is encoded directly in the printed pattern, so it works without any service in between but cannot be edited or tracked after it is generated.
- Dynamic QR codeA dynamic QR code is a QR code that encodes a short link to a redirect service instead of the final content, so the destination can be changed after printing and each scan can be counted, for as long as the service keeps the link active.
Learn more
- Free QR code generator: Make a static code for a link, WiFi network, contact and more.
- Dynamic vs static QR codes: The most important choice when you make a code.
- QR code size guide: How big to print a code for a given scanning distance.
Sources
Last updated . Written by the CirculateQR team; technical facts follow the sources listed above. Example codes and sizes are computed with the open-source qrcode encoder that CirculateQR uses. Spotted something wrong? Email support@circulateqr.com. QR Code is a registered trademark of DENSO WAVE INCORPORATED.
← Browse the full glossary