Free QR Code Generator
Create QR codes instantly for any URL, text, phone number, or message. Choose your preferred size and error correction level, then download the PNG. No sign-up required.
Related Tools
Frequently Asked Questions
What can a QR code encode?
QR codes can encode URLs, plain text, contact information (vCard), Wi-Fi credentials, phone numbers, SMS messages, email addresses, and more. The most common use case is encoding a URL for quick mobile scanning.
What is QR code error correction?
QR codes have built-in error correction (L, M, Q, H levels — 7% to 30% data recovery). Higher error correction allows the code to be read even if partially obscured or damaged, but also makes the code denser.
How large should a printed QR code be?
The minimum printable size for reliable scanning is about 2 × 2 cm (0.8 × 0.8 inches) at typical scanning distances. For posters or outdoor use, scale to at least 5 × 5 cm. A 10:1 ratio of distance to size is a good rule.
QR Codes: How They Work, When to Use Them, and Best Practices
QR codes have become one of the most recognizable information sharing technologies of the 21st century — found on restaurant menus, product packaging, business cards, event tickets, payment terminals, and public signage worldwide. Their ability to encode information in a scannable 2D pattern that any smartphone camera can read instantly makes them a practical bridge between physical and digital worlds. Understanding how QR codes work, what types of data they can encode, and how to implement them effectively helps you use them purposefully rather than by imitation.
How QR Codes Work
QR (Quick Response) codes were invented in 1994 by Denso Wave, a subsidiary of Toyota, to track vehicles during manufacturing. They are a type of matrix barcode — a two-dimensional arrangement of dark and light squares on a grid — that encodes data in both the horizontal and vertical dimensions, enabling much higher information density than traditional one-dimensional barcodes. A single QR code can encode up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data.
QR codes use a sophisticated encoding and error correction system. Reed-Solomon error correction allows QR codes to be correctly decoded even when up to 30% of the code is damaged, obscured, or dirty — which is why QR codes continue to work even when a logo is placed in the center or when the code is partially covered. There are four levels of error correction (L, M, Q, H corresponding to 7%, 15%, 25%, and 30% damage tolerance), and choosing a higher level makes the code denser but more robust. The distinctive finder patterns in three corners allow scanners to detect the code's orientation and boundaries regardless of the scanning angle.
What QR Codes Can Encode
URLs are by far the most common QR code content — encoding a website address allows someone to scan the code and immediately visit the page. But QR codes can encode many other types of data. vCard or meCard contact information encodes a complete business card that gets imported directly into the phone's contacts. Wi-Fi network credentials (SSID, password, and encryption type) allow guests to connect without typing a password. Email addresses with optional subject and body text launch a pre-composed email. SMS messages pre-populate the texting app with a number and optional message text. Geographic coordinates link to map apps for navigation. Plain text can be encoded for any purpose.
For payment applications, QR codes encode transaction details that payment apps read to initiate transfers. Apps like PayPal, Venmo, Apple Pay, Google Pay, and virtually every bank's mobile app use QR codes for peer-to-peer payments and merchant checkout. Cryptocurrency wallets encode wallet addresses and optional amount fields in QR codes following standard URI schemes. The versatility of QR code data encoding makes them useful across virtually every industry and application.
QR Code Design Best Practices
Standard QR codes must be black squares on a white background to be reliably scannable. However, modern QR code generators and readers support customization within limits: colors can be changed as long as sufficient contrast is maintained (dark foreground on light background, minimum contrast ratio of 4:1 for reliable scanning); rounded corners and dots are supported by many readers; a logo or image can be placed in the center using up to 30% of the code area (enabled by the H-level error correction); and the overall shape can be non-square with careful implementation.
Minimum size matters for printability and scanning reliability. For print at normal reading distance, QR codes should be at least 2cm × 2cm (about 0.8 inches square). For scanning at greater distances — like on banners or signage — scale proportionally: a code to be scanned from 3 meters away should be at least 10cm × 10cm. Always include a quiet zone — a white border of at least 4 module widths — around the entire code; patterns too close to the edge cause scanning failures. Test print your QR code and scan it in various conditions (different angles, variable lighting, with and without glasses) before deploying to physical materials.
Dynamic vs. Static QR Codes
Static QR codes encode their content directly in the pattern — the URL or data is embedded in the code itself and cannot be changed after generation. Dynamic QR codes encode a short redirect URL that points to a service that redirects to the actual destination. This indirection means the underlying destination can be changed without reprinting the QR code — useful for printed materials that need to point to updated web pages, campaigns with changing destinations, or product packaging that must remain valid across multiple promotions.
Dynamic QR codes also enable analytics — tracking how many times a code was scanned, from which location, on which device type, and at what time — because every scan passes through the redirect service. This makes them valuable for marketing campaigns where measuring engagement with physical materials is otherwise impossible. The tradeoff is cost (most dynamic QR code services charge subscription fees) and the service dependency risk — if the redirect service is discontinued or experiences downtime, all codes pointing to it stop working. For codes that must be reliable and long-lived, static codes encoding a stable URL you control are the more robust choice.
Security Considerations
QR codes present a social engineering risk because people cannot read their content directly — you must scan to see what a code contains, and by the time you see the URL, you may have already begun navigating to a malicious site. QR code phishing (quishing) uses fake QR codes on physical materials — fake parking meters, fake restaurant menus, stickers placed over legitimate codes — to redirect users to phishing pages that steal credentials or install malware. Users should check the URL displayed by their camera app before tapping to navigate, be suspicious of QR codes on unofficial-looking materials or in unexpected places, and use a QR scanner that previews the URL before opening it. For businesses generating QR codes for customer use, consider registering a recognizable domain for your QR redirect URLs so customers can verify legitimacy before proceeding.