Skip to main content

QR Code

General & Common CodesAlso known as: QR

Published by the QRinsec Editorial Team — practical documentation about QR codes, barcode standards, and QRinsec’s client-side tools. Content is reviewed against product testing and published technical documentation from sources such as GS1, Denso Wave, and ISO standards where applicable.

Have questions or corrections? Contact us.

The QR (Quick Response) Code is a two-dimensional matrix barcode that stores up to around 3,000 bytes — URLs, text, Wi-Fi credentials, contact cards and more — far beyond what a 1D barcode holds.

Important Notice

Embedding a logo reduces data recovery capacity — always use error correction Level Q or H when adding a logo.

Important Notice

QR codes do not expire by themselves, but URLs encoded inside them can. Use a URL shortener/redirector for updatable destinations.

Key Facts

Type
2D matrix
Max Capacity
7,089 numeric digits
Error Correction
L / M / Q / H (7–30%)
Standard
ISO/IEC 18004
Versions
1–40 (21×21 to 177×177)

What is a QR code?

A QR code (Quick Response code) is a two-dimensional matrix barcode invented in 1994 by Masahiro Hara at Denso Wave for tracking automotive parts. Unlike linear barcodes, QR codes store data in both horizontal and vertical directions, allowing them to encode thousands of characters in a compact square symbol. Today QR codes are ubiquitous in marketing, payments, event ticketing, product authentication, and contactless menus.

QR code structure explained

A QR code consists of:

  • Finder patterns: Three square 'eyes' in three corners that orient the scanner.
  • Alignment patterns: Smaller squares that correct for perspective distortion (present from version 2+).
  • Timing patterns: Alternating black/white modules that establish the coordinate grid.
  • Format information: Error correction level and mask pattern encoded beside the finder patterns.
  • Data modules: The payload encoded using Reed-Solomon error correction.

Versions and data capacity

QR codes come in 40 versions (sizes), from 21×21 modules (version 1) to 177×177 modules (version 40). Capacity depends on version and error correction level:

  • Version 1, Level L: up to 41 numeric / 25 alphanumeric / 17 bytes.
  • Version 40, Level L: up to 7,089 numeric / 4,296 alphanumeric / 2,953 bytes.

Higher error correction levels (M, Q, H) sacrifice capacity for damage tolerance — Level H can recover from up to 30% module damage.

Error correction levels

LevelRecovery CapacityTypical Use
L7%Clean print environments
M15%General purpose
Q25%Industrial / partial logo overlay
H30%High-damage risk / logo embedded

QR Code vs. Data Matrix vs. Aztec

QR Code is the most universally recognised 2D code and readable by all smartphone cameras without a dedicated app. Data Matrix is preferred in healthcare and electronics for its compact footprint at very small sizes. Aztec Code is used in transport ticketing (Eurostar, Amtrak) because it has no quiet zone requirement. All three are ISO-standardised.

FeatureQR CodeData MatrixAztec Code
Dimensions2D square2D square2D square
Max Capacity7,089 numeric3,116 bytes3,832 numeric
Quiet Zone4 modules2 modulesNone required
Primary UseConsumer / marketingHealthcare / electronicsTransport ticketing

When to use QR codes

QR codes are ideal for: URLs and landing pages, vCard contact sharing, Wi-Fi network credentials, payment systems (WeChat Pay, PayPal), product authentication, event check-in, and any application where end users will scan with a smartphone. Avoid QR codes on very small labels (< 1 cm²) or highly reflective surfaces.

Printing requirements

Minimum size: 2 cm × 2 cm for smartphone scanning at 20–30 cm. Quiet zone: 4 module widths on all sides. Colour: dark modules on light background; maintain ≥ 70% contrast ratio. Avoid gradients on modules. For logos embedded in the centre, use error correction Level Q or H and keep the logo under 30% of the symbol area.

Common scanning failures

Inverted colours (light on dark) cause failures on older readers — always use dark on light. Insufficient quiet zone, oversize embedded logos (> 30% area), and printing on reflective metallic surfaces are the leading QR scan failure causes. Always test with multiple devices before deployment.

Frequently Asked Questions

Do QR codes expire?

The QR code symbol itself does not expire. However, if it encodes a URL managed by a third-party QR generator service, that service may deactivate the redirect. Static QR codes encoding a direct URL never expire.

Can I put a logo in the centre of a QR code?

Yes, provided you use error correction Level Q (25%) or H (30%) and the logo covers no more than 30% of the symbol area. The error correction data compensates for the obscured modules.

What is the maximum amount of data a QR code can store?

Version 40 at Level L stores up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data.

Can smartphones scan QR codes without an app?

Yes. iOS 11+ and Android 8+ (Google Lens) include native QR scanning in the default camera app. No third-party app is required.

What is the difference between a static and a dynamic QR code?

A static QR code encodes data permanently — changing the destination requires printing a new code. A dynamic QR code encodes a short URL that redirects to a changeable destination, allowing updates without reprinting.

What minimum size should a QR code be for reliable scanning?

GS1 and most scanner manufacturers recommend a minimum of 2 cm × 2 cm for smartphone scanning at a typical distance of 20–30 cm. Increase size proportionally for greater scanning distances.

Need to create a QR Code barcode?

Generate high-quality, scannable QR Code barcodes for free with our advanced barcode generator. Download in vector SVG or PNG format.

Create QR Code Barcode Now