What Is a QR Code? A Complete Beginner's Guide
QR codes are everywhere — on restaurant tables, product packaging, business cards, event tickets, and even cryptocurrency wallets. But what exactly are they, how do they work, and why have they become so ubiquitous? This guide covers everything you need to know.
QR Code Basics
A QR code (Quick Response code) is a two-dimensional barcode that stores information in a matrix of black and white squares. Unlike traditional barcodes that can only be read horizontally and store limited data, QR codes can be scanned from any direction and hold significantly more information — up to thousands of characters in a single code.
QR codes were invented in 1994 by Masahiro Hara at Denso Wave, a subsidiary of Toyota, to track automotive parts during manufacturing. The "Quick Response" name reflects their design goal: to be decoded rapidly by scanners on factory assembly lines. Denso Wave made the technology freely available, which is why QR codes are now used worldwide across virtually every industry.
How QR Codes Work
A QR code encodes data using a specific pattern of dark and light modules (squares) arranged on a grid. When you scan a QR code, the reader software performs several steps: it identifies the code's position using three large square markers in the corners (called finder patterns), determines the grid size and orientation, reads the encoded data module by module, and applies error correction to handle any damaged or obscured areas. The entire process happens in milliseconds, which is why scanning feels instant.
Data Capacity
QR codes can store different amounts of data depending on the encoding mode used. Numeric-only content allows up to 7,089 digits, which is useful for things like phone numbers and tracking IDs. Alphanumeric encoding supports up to 4,296 characters and covers letters, numbers, and common symbols. Binary mode handles up to 2,953 bytes and can encode any data including URLs with special characters. There's also a Kanji/Kana mode that supports up to 1,817 Japanese characters. In practice, most QR codes encode a URL or short text string that uses only a fraction of this capacity.
Error Correction
One of the most impressive features of QR codes is built-in error correction using Reed-Solomon algorithms. There are four levels available. Level L (Low) recovers up to 7% of lost data and produces the smallest codes. Level M (Medium) recovers up to 15% and is the most commonly used default. Level Q (Quartile) recovers up to 25% and is good for codes that might be partially obscured. Level H (High) recovers up to 30% and is used when you want to place a logo in the center of the code.
This error correction is why QR codes still scan even when partially covered, scratched, or printed on a curved surface. It's also what makes logo overlays possible — the error correction compensates for the modules hidden behind the logo.
Types of QR Codes
Static QR Codes
Static QR codes encode data directly into the code pattern. Once generated, the encoded data is permanently fixed in the image and cannot be changed. They work forever without an internet connection — the data is completely self-contained. All QR codes generated by our free generator are static, meaning you own them outright and they'll work indefinitely.
Dynamic QR Codes
Dynamic QR codes encode a short redirect URL rather than the actual destination. This allows the destination to be changed after the code is printed — useful for marketing campaigns where you might want to update the landing page without reprinting materials. The trade-off is that dynamic codes require an active subscription service and a working internet connection to resolve, since they depend on the redirect service being online.
Common QR Code Uses
QR codes are incredibly versatile. The most common applications include encoding URLs to link to websites or landing pages, Wi-Fi credentials for instant network access, vCard contact information for digital business cards, pre-composed emails with recipient and subject, pre-filled SMS messages, cryptocurrency wallet addresses for payment, two-factor authentication setup codes (TOTP), and event tickets and boarding passes. For a deeper look at business applications, see our guide to 15 creative business uses for QR codes.
How to Scan QR Codes
Most modern smartphones can scan QR codes directly with their built-in camera app — both iPhone (iOS 11+) and Android (Android 9+) support this natively. Just open the camera, point it at the code, and tap the notification that appears. For desktop computers or when you have a QR code as a saved image, screenshot, or PDF, you can use browser-based tools like our QR Code Scanner (camera) or QR Code Decoder (image upload). Both work in any modern browser without installing anything.
How to Create QR Codes
Creating QR codes is straightforward with our free QR Code Generator. Choose your content type (URL, text, Wi-Fi, contact card, email, SMS, or crypto), enter the data, and optionally customize the size, colors, error correction level, and logo overlay. Download the finished code as PNG for digital use or SVG for high-quality printing at any size. No account, no watermarks, no limits.
QR Code Security
While QR codes themselves are just data containers and are inherently safe, the content they link to might not be. Malicious QR codes can redirect to phishing sites, trigger malware downloads, or be placed over legitimate codes in public places (a tactic known as "quishing"). The best protection is to preview the decoded URL before visiting it — use a tool like our decoder to see what's inside without opening the link. Read our full guide on QR code security for detailed tips on staying safe.
The Future of QR Codes
QR codes saw massive adoption growth starting in 2020 when contactless interactions became essential, and usage has continued to climb. Newer developments include colored and branded QR codes that incorporate logos and design elements, integration with augmented reality experiences triggered by scanning, embedded NFC capabilities that combine tap-to-connect with scan-to-connect, and standardized QR-based payment systems adopted across countries. The underlying ISO/IEC 18004 standard continues to be supported and updated, ensuring QR codes remain a reliable, universal technology.
Whether you're a consumer scanning codes daily or a business creating them for marketing, understanding how QR codes work helps you use them more effectively and safely.
Try QR Code Gadget — Free in Your Browser
Scan QR codes with your camera or decode them from images. No app needed.