A QR code is a square, two-dimensional barcode that a phone camera can scan to open a link, save a contact, join a Wi-Fi network, or trigger a payment, without anyone typing a single character. This guide covers what a QR code is, what it looks like, how to scan one, and how to get, use, and download your own in 2026.
What Is a QR Code, Exactly?

A QR code, short for "Quick Response" code, is a matrix barcode that stores data in a grid of black and white squares instead of the single row of lines you'd find on a supermarket barcode. That two-dimensional layout lets it hold far more information, from URLs and contact cards to plain text and payment instructions, in about the same space a traditional barcode needs.
Denso Wave, a Japanese automotive supplier, invented the QR code in 1994 to track parts on assembly lines. The original use case was purely industrial. By 2026, the same technology shows up on restaurant tables, product packaging, invoices, event tickets, and just about every piece of marketing material you'll see this week.
What Does a QR Code Look Like?
A QR code looks like a small square filled with an irregular pattern of black and white squares, with three larger squares sitting in three of its four corners. Those corner squares are what tell a scanner "this is a QR code" worth reading, and they let it recognize the code from almost any angle or distance.
Inside that square, four elements do the actual work:
- Position markers, the three big corner squares that orient the scanner and mark the code's boundaries.
- Alignment patterns, smaller internal squares that help the scanner correct for a curved surface or an awkward angle.
- Timing patterns, the black-and-white lines connecting the position markers, which define the grid size.
- Data modules, the dense cluster of dots in the center, where the encoded information actually lives.
Most codes also carry built-in error correction: redundancy that lets a code still scan correctly even if up to 30% of it is damaged, dirty, or covered by a logo.

Is a QR Code a Type of Barcode?
Yes, a QR code is technically a type of barcode. It's a two-dimensional (matrix) barcode, as opposed to the one-dimensional (linear) barcodes printed on most retail products. That's why some people search for "QR barcode": it's the same object, just described a bit more precisely.
| Feature | Traditional Barcode | QR Code |
|---|---|---|
| Data direction | One-dimensional (left to right) | Two-dimensional (rows and columns) |
| Typical capacity | Around 20-25 characters | Thousands of characters |
| Scan angle | Needs a fairly straight-on scan | Readable from almost any angle |
| Common uses | Retail inventory, shipping labels | Links, contact cards, payments, Wi-Fi |
How Does a QR Code Work?
A QR code works through a four-step exchange: your data gets encoded into a pattern of squares, a camera photographs that pattern, software decodes it back into the original data, and your phone acts on it, opening a link, displaying text, or saving a contact.
- Encode: A string of data (like a URL) is turned into a pattern of black and white squares.
- Scan: A camera takes a picture of that pattern.
- Decode: Software reads the grid and converts it back into the original string.
- Act: The phone opens the browser, displays the text, joins the network, or saves the contact.
The main benefit is removing friction. Typing a long URL on a mobile keyboard is tedious; scanning is instant.
What Can a QR Code Store?
A QR code can store any short string of data, which in practice covers URLs, contact cards, Wi-Fi credentials, payment details, app store links, and map coordinates. It doesn't store a live connection to a website, it stores the text itself, which your phone then interprets.
- URLs: the most common use, and the one most tools default to.
- Contact info: vCards that save straight into a phone's address book.
- Plain text: instructions, Wi-Fi passwords, or short messages.
- Wi-Fi credentials: lets guests join a network without typing a password.
- Payment triggers: opens a payment app with the amount and recipient pre-filled.
- App store links: directs to an app's download page.
- Geo coordinates: opens a map pinned to a specific location.
For business use where you need to track scans or change the destination later, a platform like Smler's QR Code Generator handles that on the backend. You can also pair it with branded links so the destination URL matches your own domain instead of a generic shortener.
What Is a QR Code Scanner?
A QR code scanner is the camera-plus-software combination that reads a QR code's pattern and converts it back into usable data, a link, a contact card, or a piece of text. Since the late 2010s, this scanner has been built directly into the default camera app on both iOS and Android, so no separate app is required.
How to Scan a QR Code
To scan a QR code, open your phone's camera app, point it steadily at the code from about 10-30 cm away, and wait for a notification banner or link preview to appear on screen. Tap that banner to open the link, save the contact, or join the network.
- Open your camera app, or the dedicated scanner in Control Center (iOS) or Quick Settings / Google Lens (Android).
- Point it at the code and hold your phone steady until it focuses.
- Wait for the on-screen banner or preview link to appear.
- Tap the banner to complete the action.
If nothing happens, check the lighting, glare, shadows, or a dark code on a dark background are the most common reasons a scan fails.
How to Get a QR Code

The fastest way to get a QR code, sometimes phrased as "how to do a QR code" or "how to do the QR code", is through a free online generator: enter the link or text you want to encode, choose static or dynamic, and download the image. It takes under a minute and needs no design or coding skills.
- Decide the action. What should happen when someone scans it?
- Pick the content type. URL, vCard, Wi-Fi, or plain text?
- Generate it. Use a tool like Smler's QR Code Generator, or compare options in this QR code generator with tracking comparison.
- Style it. Add colors or a logo, but don't sacrifice readability.
- Test it. Scan it with three different phones before you send it to print.
- Track it. If it's dynamic, watch the scan analytics after launch.
If you need dozens or hundreds of codes for a large campaign, look for a generator that supports bulk creation from a spreadsheet rather than making each one by hand.
How to Download a QR Code
Once you've generated a QR code, most tools let you download it instantly as a PNG or SVG file by clicking a download button next to the preview. PNG works fine for screens and most print jobs; SVG is better if you need to scale the code up for a large poster without losing sharpness.
A single static code usually downloads with no account needed. Dynamic codes, which redirect through a link you can edit later, typically require signing up so the code can be saved to a dashboard, a free QR code generator with tracking is worth using if you want scan data without paying upfront.
How to Use a QR Code
Using a QR code means deciding what happens after the scan, then placing the code somewhere people can reach it with a phone camera already in hand. Point it to a mobile-friendly destination, a menu, a Wi-Fi login, a product page, or an app download, and label the code so people know what they'll get.
Common real-world uses include restaurant menus, event check-ins, packaging that links to product details, business cards, payment prompts, and app-install prompts that route straight to the right store listing.
Static vs. Dynamic vs. Custom QR Codes
Static codes have their data baked in permanently; dynamic codes redirect through an editable short link; custom codes add branding on top of either type. Which one you need depends entirely on whether the destination might ever change.
| Type | Editable after printing? | Best for |
|---|---|---|
| Static | No, data is fixed in the code | Plain text, Wi-Fi passwords, permanent instructions |
| Dynamic | Yes, it redirects through a short link you control | Marketing campaigns, A/B testing, anything that might change |
| Custom | Depends on the underlying type | Branding with custom colors, dot patterns, or a logo in the center |
For a full breakdown of formats, see the Types of QR Codes guide, or the icon QR code design guide if you're embedding a logo.
QR Code Facts and Numbers
How Many Possible QR Codes Are There?
There are roughly 5.7 x 10^132 possible QR codes at the smallest size, and that number balloons to a figure with over 9,000 digits at the largest size. That is more than the estimated 10^80 atoms in the observable universe, so no business, platform, or person will ever run out of unique QR codes.
QR codes come in 40 versions, each a square grid of black and white squares called modules. Since each module is binary, the total combinations are 2 raised to the number of modules.
| Version | Grid size | Modules | Approx. combinations |
|---|---|---|---|
| Version 1 | 21 x 21 | 441 | ~5.7 x 10^132 |
| Version 10 | 57 x 57 | 3,249 | ~10^978 |
| Version 20 | 97 x 97 | 9,409 | ~10^2,832 |
| Version 40 | 177 x 177 | 31,329 | ~10^9,430 |
Error correction and the fixed corner patterns shrink how much text or URL length a code can hold, not how many unique codes can exist. For comparison, UPC barcodes top out around 1 trillion combinations, which is why they need central registries, and IPv6 addresses at about 3.4 x 10^38. The odds of two independently generated QR codes colliding are effectively zero, so a business can put a unique code on every product unit or event ticket.
What Is the Largest QR Code Ever Made?
The largest QR code ever created covers 309,570 square feet (about 28,000 square meters), carved into a corn maze by the Kraay Family Farm in Alberta, Canada, in 2012. It was scannable from the air and linked to the farm's website. Two other documented giants are a formation of 1,242 people arranged by students at Guangdong University in China, each person acting as a single pixel, and a building wrap of roughly 250,000 square feet on a South Korean shopping mall in 2015.
How Big Can a QR Code Be?
There's no hard cap on how physically large a QR code can be, only a scanning-distance limit. Data capacity does max out: Version 40 uses a 177x177 module grid and can hold up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data.
The rule of thumb is Scanning Distance = Code Width x 10: roughly one inch of code width for every ten inches between the scanner and the code. A long URL adds modules and makes the pattern denser, so shortening the link before generating the code keeps it scannable at any print size.
| Use case | Recommended size | Typical scan distance |
|---|---|---|
| Business card | 0.8 to 1 inch | 4 to 6 inches |
| Flyer or menu | 1.5 to 2 inches | 1 to 2 feet |
| Poster | 2 to 3 inches | 3 to 5 feet |
| Storefront window | 3 to 5 feet | 15 to 30 feet |
| Trade show backwall | 6 to 10 feet | 20 to 40 feet |
| Vehicle wrap | 3 to 4 feet | 20 to 30 feet |
| Billboard | 10 to 20 feet | 100 to 200 feet |
| Building facade | 100+ feet | 1,000+ feet |
Why Are QR Codes Everywhere in 2026?
QR codes became common for three reasons: contactless habits that took hold in the early 2020s had stuck around, phones now scan them with the default camera, and marketers can finally measure what a physical code actually drives online.
Hygiene. The push for contactless interactions cemented QR codes as the standard for menus and payments.
Native support. The era of downloading a dedicated "QR scanner" app, once a major friction point, is over.
Marketing utility. You can track them. Using QR code deep linking for offline marketing, a code can open a specific page inside an app rather than just a website, and a QR code analytics guide can show you exactly how that offline scan converted.
QR Code Best Practices
- Size matters. Minimum 2x2 cm for close-range codes; go larger for posters people view from a distance.
- Label it. "Scan for menu" gets better engagement than a naked code.
- Mobile-optimize the destination. A desktop-only landing page wastes the scan.
- Mind the lighting and contrast. Avoid dark codes on dark surfaces or codes placed behind glare-prone glass.
Common QR Code Mistakes to Avoid
- Placing codes somewhere a phone can't comfortably reach, like near the floor or ceiling.
- Printing them too small to focus on.
- Using a static code for a campaign whose destination might change later.
- Skipping the test scan before printing at scale.
