What Is a QR Code?

A QR code (Quick Response code) is a two-dimensional barcode that stores data — typically a URL, contact details, WiFi credentials, or payment information — in a grid of black and white squares. It can be scanned instantly by any modern smartphone camera, no special app required.


What Does QR Code Stand For?

QR stands for Quick Response. The name reflects the code's original design goal: to be decoded faster than a traditional 1D barcode. While a standard barcode stores data only horizontally (in one dimension), a QR code stores data both horizontally and vertically (two dimensions), which allows it to hold significantly more information in a compact space.

A typical 1D barcode like EAN-13 stores up to 13 digits. A QR code can store up to 7,089 numeric characters or 4,296 alphanumeric characters — roughly 350 times more data — in a pattern that occupies the same physical space.

How Does a QR Code Work?

A QR code consists of a square grid of black and white modules (small squares). The data you encode is translated into a binary pattern and arranged across this grid. Several fixed elements in the pattern help the scanner locate and orient the code regardless of the angle it's scanned from:

When you point a smartphone camera at a QR code, the camera captures the pattern, software identifies the finder patterns to determine orientation, reads the data modules, applies error correction to recover any damaged parts, and decodes the binary data into the original content — all in under a second.

History of QR Codes

QR codes were invented in 1994 by Denso Wave, a subsidiary of the Toyota Group, to track automotive parts moving through the manufacturing process. Traditional 1D barcodes were too slow to scan and held too little data for the complex logistics of vehicle assembly. Denso engineer Masahiro Hara led the development of the QR code, drawing inspiration from the game of Go to create the distinctive three-corner finder pattern.

Denso Wave released the QR code specification publicly and royalty-free, which led to rapid adoption across industries. The technology became an international standard (ISO/IEC 18004) in 2000. Early mass adoption happened in Japan in the early 2000s for mobile marketing. Global adoption accelerated dramatically from 2017 onwards as iOS (iPhone) added native QR code scanning to the built-in camera app, followed by Android doing the same — eliminating the need for a separate scanner app. The COVID-19 pandemic of 2020–2021 drove another massive adoption wave as QR codes replaced physical menus, check-in forms, and payment terminals worldwide.

What Data Can a QR Code Store?

The QR code standard supports four data modes, each optimised for a different type of content:

In practice, most QR codes use Byte mode because it supports all modern characters and is required for encoding full URLs, email addresses, and structured data formats like vCard.

Common Uses of QR Codes

QR codes are now used across virtually every industry and context:

Marketing and retail: QR codes on product packaging, advertisements, and in-store signage link customers to product pages, promotional videos, discount codes, and loyalty programmes. A QR code on a restaurant table opens the digital menu instantly.

Payments: QR code payments are a primary payment method across Asia and growing rapidly worldwide. In India, UPI QR codes power Google Pay, PhonePe, and Paytm payments. In China, WeChat Pay and Alipay use QR codes for nearly all in-person transactions.

Contact sharing: vCard QR codes encode your full contact details — name, phone, email, company, and website — so the recipient's phone can save them to the address book with a single scan. This replaces manual typing of details from a printed business card.

WiFi access: WiFi QR codes encode your network name (SSID), password, and security type. Guests scan the QR code and their phone connects automatically — no password sharing or manual typing required.

Events and logistics: QR codes on event tickets, boarding passes, and delivery labels allow fast scanning for verification, check-in, and tracking. A QR code on a shipping label links to real-time tracking information for the package.

Education and information: QR codes in classrooms, museums, and printed materials link to videos, audio guides, interactive content, or reference documents that can't be printed in full.

Types of QR Codes

The most important classification is static vs dynamic:

Learn more: Static vs Dynamic QR Codes — full comparison

Are QR Codes Safe?

QR codes themselves are neutral — a code is just a pattern that encodes data. The safety question is always about what the QR code points to. A QR code in a trusted context (a restaurant's printed menu, your bank's official app) is safe to scan. A QR code in an unsolicited email, on a sticker placed over another code, or in an unexpected text message is higher risk — it may point to a phishing site or trigger a file download.

The safest habit: always preview the URL that appears in the camera app's notification banner before tapping to open it. Learn more in our QR Code Security guide.

How to Scan a QR Code

On an iPhone (iOS 11 or later), open the Camera app, point it at the QR code, and tap the notification that appears at the top of the screen. No extra app needed.

On Android (Android 9 or later on most devices), open the Camera app and point it at the QR code — a scan notification appears automatically. On older Android devices, open Google Lens or use the Google Assistant camera to scan.

If you have a QR code saved as an image (a screenshot, photo, or downloaded file), use our QR code image scanner to upload and decode it — no camera required.

How to Create a QR Code

Our free QR code generator creates QR codes for all data types with no account and no watermark:

Check all Learning Topics Create QR Code Now

Frequently Asked Questions

What does QR stand for?

QR stands for Quick Response. The name reflects the code's design goal of being decoded faster than traditional barcodes. QR codes store data in two dimensions (both horizontally and vertically), which lets them hold far more information than a standard 1D barcode.

Who invented QR codes?

QR codes were invented in 1994 by Masahiro Hara and his team at Denso Wave, a subsidiary of the Toyota Group, to track automotive parts in manufacturing. Denso Wave released the specification publicly and royalty-free, which led to global adoption across industries.

How much data can a QR code store?

A QR code can store up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data (which covers full URLs, vCard records, and UTF-8 text). In practice, most QR codes store shorter data (a URL, a phone number, or contact details) which results in a simpler, faster-scanning code.

Do I need an app to scan a QR code?

No. iPhones running iOS 11 or later and most Android phones running Android 9 or later can scan QR codes using the native camera app — just point the camera at the code and a notification appears. Older devices may require Google Lens or a dedicated QR scanner app.

What is the difference between a QR code and a barcode?

A traditional barcode (like EAN-13) stores data only in one dimension — as a series of vertical bars of varying widths — and holds up to about 13 digits. A QR code is two-dimensional, storing data in both horizontal and vertical patterns, and can hold up to 7,089 digits or 2,953 bytes of binary data. QR codes can also be scanned from any angle, while barcodes must be aligned with the scanner.

Why are QR codes so popular now?

Three factors drove mass adoption: (1) Apple added native QR scanning to the iPhone camera in 2017, followed by Android, eliminating the need for a separate app; (2) the COVID-19 pandemic accelerated contactless adoption across menus, check-ins, and payments; (3) global smartphone penetration means that virtually everyone now carries a QR scanner in their pocket at all times.

Related Learning