QR Code 구조 해부: 모든 구성요소 설명

<\/script>\n
'; }, get iframeSnippet() { const domain = 'qrcodefyi.com'; const type = 'guide'; const slug = 'qr-code-anatomy'; return ''; }, get activeSnippet() { return this.method === 'script' ? this.scriptSnippet : this.iframeSnippet; }, copySnippet() { navigator.clipboard.writeText(this.activeSnippet).then(() => { this.copied = true; setTimeout(() => { this.copied = false; }, 2000); }); } }" @keydown.escape.window="open = false" @click.outside="open = false">

Embed This Widget

Theme


      
    

Widget powered by . Free, no account required.

Detailed breakdown of QR code components: finder patterns, timing patterns, alignment markers, data regions, and format information.

QR Code Anatomy: Every Component Explained

A QR code is far more than a random pattern of black and white squares. Every module has a precise purpose, and understanding the anatomy helps you design codes that scan reliably in any condition.

Finder Patterns

The three large squares in the top-left, top-right, and bottom-left corners are finder patterns. Each consists of a 7x7 module structure with a distinctive 1:1:3:1:1 ratio of dark-to-light-to-dark bands. This ratio is detectable from any angle and at any scale, allowing scanners to locate the QR code instantly. Learn more in our finder pattern deep dive.

Separators

A one-module-wide white border surrounds each orientation." data-category="QR Code Structure">finder pattern, creating visual separation between the finder and the data area. These separators prevent adjacent data modules from being confused with the finder pattern.

Timing Patterns

Alternating black and white modules run horizontally between the top-left and top-right finder patterns, and vertically between the top-left and bottom-left. These timing patterns help the decoder establish precise module coordinates across the grid.

Alignment Patterns

Starting from Version 2 onward, smaller 5x5 alignment patterns appear at regular intervals. Larger versions have more alignment patterns — Version 40 contains 46 of them. They help correct geometric distortion when the code is scanned on curved surfaces or at an angle.

Format Information

Two copies of a 15-bit format string are encoded near the finder patterns. This encodes the error correction level (L/M/Q/H) and the mask pattern used. BCH error correction protects this critical metadata.

Version Information

For Versions 7-40, an 18-bit version string appears in two locations, encoding the QR code version number. Golay error correction protects this data.

Data and Error Correction Codewords

The remaining modules carry the actual payload — your encoded data interleaved with Reed-Solomon error correction codewords. Data is placed in a specific two-module-wide column pattern, snaking right to left across the symbol.

Quiet Zone

A mandatory minimum 4-module-wide blank margin surrounds the entire QR code. This quiet zone ensures scanners can distinguish the code boundary from surrounding graphics. Violating the quiet zone is one of the most common causes of scan failure.

Key Takeaways

  • Finder patterns (3 corners) enable instant detection via the 1:1:3:1:1 ratio
  • Timing patterns establish the coordinate grid
  • Alignment patterns correct geometric distortion
  • Format and version information have their own error correction
  • The quiet zone (4-module margin) is mandatory for reliable scanning