The Complete QR Code Guide
How QR codes work, how much data they hold, and how to create, scan and print them at the right size so every scan works.
What is a QR code?
A QR code (short for Quick Response code) is a square, two-dimensional barcode that stores a link, text or other data in a grid of dark and light squares called modules. Any modern smartphone camera can read it, so nobody has to type a long address or password.
QR codes were invented in 1994 by Masahiro Hara at the Japanese company Denso Wave to keep track of car parts. A classic barcode stores data in one direction only; a QR code stores it both horizontally and vertically, so it fits far more information into a small square.
The three large squares in the corners are finder patterns. They tell the scanner where the code is and which way up it is, which is why a QR code can be read from any angle. The size of the grid depends on the version: version 1 has 21 × 21 modules, and version 40, the largest, has 177 × 177.
How to create a QR code
Creating a QR code on QR Code Now takes less than a minute, and you don't need an account.
- Choose a type: URL, WiFi, vCard, email, phone or text.
- Enter your content: Paste the link or fill in the fields for that type, such as the network name and password for WiFi.
- Customize: Free codes use the classic black-on-white design. Premium and Business plans add custom colors and your logo.
- Download: The free plan includes 5 PNG downloads a month at up to 256 px. Premium adds SVG and JPEG files and sizes up to 1024 px.
Types of QR codes
Pick the type by what should happen when someone scans the code. Each type has its own generator page:
- URL QR Code Generator
Opens a website, online menu, review page or any other link.
- WiFi QR Code Generator
Connects guests to your WiFi network without typing the password.
- Contact Card QR Code Generator
Saves your name, phone number, email address and company to the phone's contacts.
- Email QR Code Generator
Opens a new email with the address, subject and message already filled in.
- Phone QR Code Generator
Starts a call to your number with one tap.
- Text QR Code Generator
Shows a short text message on screen, with no internet connection needed.
- Dynamic QR Code Generator
A QR code you can edit after printing, with scan analytics. Available on Premium and Business plans.
- QR Code with Logo
A branded QR code with your logo in the center. Available on Premium and Business plans.
Static vs dynamic QR codes
The difference is where the data lives. A static code stores your content in the pattern itself, while a dynamic code stores a short link that redirects to content you can change.
Static QR codes
The content is fixed once the code is created. Static codes never expire, have no scan limits and don't depend on our servers; WiFi, contact and text codes even work without an internet connection. Creating them on QR Code Now is free.
Dynamic QR codes
The code points to a short link, so you can change the destination after printing and see scan analytics such as device and location. Dynamic codes are included in the Premium and Business plans and work as long as the code stays active in your account.
Choose static for content that won't change, such as WiFi details or a business card. Choose dynamic for anything printed in large numbers, like menus, packaging or posters, where reprinting would be expensive.
How to scan a QR code
Most smartphones scan QR codes with the built-in camera, so you don't need a separate app.
iPhone and iPad
Open the Camera app and point it at the code. When the camera recognizes it, a link appears on screen; tap it to open the website, join the WiFi network or save the contact. QR scanning has been built into the Camera app since iOS 11.
Android phones
Open the camera app and point it at the code; on most phones a link appears automatically. If nothing happens, turn on QR scanning in the camera settings or use Google Lens. On many phones with Android 13 or later, you can also add a QR code scanner tile to Quick Settings.
Is the QR code in a screenshot or photo on your phone? Open the image in Google Lens, which is available on both Android and iPhone.
How much data can a QR code hold?
The largest QR code (version 40) holds up to 7,089 digits or 2,953 bytes. These limits apply at error-correction level L; higher levels leave less room. The exact maximum depends on the type of data:
- Numbers (0–9): Up to 7,089 characters.
- Alphanumeric: Up to 4,296 characters, limited to digits, capital letters A–Z, the space and the symbols $ % * + - . / :
- Bytes: Up to 2,953 bytes. This mode covers lowercase letters, most URLs and other alphabets; in UTF-8, accented and Cyrillic letters take 2 bytes each, and Chinese or Japanese characters take 3.
- Kanji (Japanese): Up to 1,817 characters, using the Shift JIS character set.
In practice, less is better. Every extra character adds modules, and a denser code needs a bigger print and steadier hands to scan. Keep links short, or use a dynamic QR code, which encodes only a short redirect link no matter how long the destination address is.
Error correction levels: L, M, Q and H
Error correction lets a QR code scan even when part of it is dirty, damaged or covered. The QR standard defines four levels, each able to restore a different share of the data:
- L (Low): Restores about 7% of the data and leaves the most room for content. Fine for screens and clean documents.
- M (Medium): Restores about 15%. A common default for everyday use.
- Q (Quartile): Restores about 25%. Useful for labels and surfaces that may get scratched or dirty.
- H (High): Restores about 30%. Needed when a logo covers part of the code.
Higher levels store extra recovery data, so the same content produces a denser code. A logo hides some of the modules, and error correction has to rebuild what is missing, which is why logos need level H. QR Code Now switches to level H automatically whenever you add a logo.
Print size, quiet zone and contrast
Most scanning problems come from printing: a code that is too small, too crowded or too pale.
- Minimum size: At least 2 × 2 cm (about 0.8 × 0.8 in) for codes scanned up close, such as on business cards or product labels.
- Scanning distance: As a rule of thumb, make the code about one tenth as wide as the distance it will be scanned from. A poster read from 3 m away needs a code about 30 cm wide.
- Quiet zone: Leave an empty margin at least four modules wide on every side. Text, borders or images that touch the code can stop it from scanning.
- Contrast: Use dark modules on a light background. Black on white is the safest choice; pale colors such as yellow or light gray, and inverted codes (light on dark), fail on some scanners.
- File quality: The free 256 px PNG works for screens and small prints. For posters and packaging, use a 1024 px PNG or an SVG file, which scales to any size without losing sharpness (Premium).
QR code best practices
A few habits keep your QR codes easy to scan for everyone.
- Test before printing: Scan the final file with both an iPhone and an Android phone, at the size and distance people will actually use.
- Keep content short: Shorter content gives a simpler pattern that scans faster. For long URLs, use a dynamic code.
- Add a call to action: Tell people what they get, for example “Scan to see the menu”, so they know why to scan.
- Use logos with care: Keep the logo small and centered, and never cover the three corner squares.
- Make the destination mobile-friendly: People scan with a phone, so the page should load quickly and be easy to read on a small screen.
- Choose the placement: Avoid creases and curved or shiny surfaces, and put codes where people can stop and scan safely.