QR Code Generator
Create free QR codes for URLs, text, email addresses, and Wi-Fi networks instantly. No sign-up required.
What is a QR Code?
A QR code (Quick Response code) is a two-dimensional matrix barcode that encodes information — typically a URL, text, contact details, Wi-Fi credentials, or payment data — in a grid of black and white squares readable by smartphone cameras and dedicated scanners. Invented in 1994 by Masahiro Hara at Denso Wave (a Toyota subsidiary) to track automotive components during manufacturing, QR codes have since become one of the most ubiquitous data-linking technologies in the world, bridging the physical and digital environments in marketing, payments, ticketing, and information sharing.
Unlike traditional 1D barcodes that encode data only horizontally, QR codes encode data in both horizontal and vertical dimensions — enabling them to store up to 3,000 bytes (versus 20–25 characters for a standard barcode) while remaining scannable even when partially damaged, thanks to Reed-Solomon error correction. QR codes can encode four types of data: numeric (up to 7,089 digits), alphanumeric (up to 4,296 characters), binary/byte data (up to 2,953 bytes), and kanji (up to 1,817 characters).
QR codes became a mainstream consumer technology during the COVID-19 pandemic, when contactless menus, check-in systems, vaccine certificates, and payment methods accelerated adoption worldwide. Today they appear on product packaging, event tickets, business cards, restaurant menus, public transport, advertising billboards, and payment terminals in virtually every country. Understanding QR codes — including how to generate them with correct error correction levels, appropriate content types, and adequate quiet zones — is a practical skill for any digital marketing, product, or operations professional.
How QR Codes Work
QR (Quick Response) codes encode data as a 2D matrix of black and white squares. A scanner reads the pattern and decodes it into text, a URL, contact information, or other data. They can encode up to ~3,000 bytes of data.
Error correction allows QR codes to be partially damaged and still scannable. Higher error correction levels increase redundancy at the cost of a denser code.
How the QR Code Generator Works
Formula, assumptions, and calculation steps for this dev tools tool.
Formula Used
Encodes input text or a URL into a QR matrix using Reed-Solomon error correction per the QR Code standard ISO/IEC 18004
Methodology
Encodes the input data into a QR matrix following the ISO/IEC 18004 standard, adding error-correction blocks for scan reliability.
Calculation Steps
- Provide the input text or select generation options.
- Apply the selected encoding, parsing, hashing, or formatting rule.
- Validate the output where possible.
- Return copy-ready developer output.
Assumptions and Limits
- Generated or transformed output depends exactly on the supplied input.
- Security-sensitive values should be handled carefully.
- Browser tools do not replace production validation.
Frequently Asked Questions
On iPhone: open the Camera app and point it at the QR code — a notification will appear. On Android: open the Camera app or Google Lens. Most modern smartphones scan QR codes natively without a separate app.
Static QR codes (like those generated here) never expire — they permanently encode the data. Dynamic QR codes (provided by paid services) can be edited after creation and may expire if a subscription lapses.
A QR code can hold up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data. In practice, shorter content produces simpler, more easily scannable codes.
QR codes have four error correction levels: L (7% data recovery), M (15%), Q (25%), and H (30%). Higher levels add more redundant data so the code remains scannable even if partially obscured or damaged.
Real-World Applications
Common Mistakes
QR Code Error Correction Levels Quick Reference
| Level | Recovery Capacity | Best Use Case |
|---|---|---|
| L (Low) | ~7% damage recovery | Clean digital displays; indoors |
| M (Medium) | ~15% damage recovery | General use; printed materials |
| Q (Quartile) | ~25% damage recovery | Industrial / light outdoor |
| H (High) | ~30% damage recovery | Outdoor, damaged, or with logo overlay |
References
- ISO/IEC 18004:2015. Information Technology — Automatic Identification and Data Capture Techniques — QR Code Bar Code Symbology Specification. ISO, 2015.
- Hara, M. QR Code — Origin and History. Denso Wave, denso-wave.com, 2024.
- GS1. GS1 General Specifications — QR Code. GS1, 2024.
- Statista. QR Code Scanner Usage Statistics 2024. statista.com, 2024.
- Reed, I.S. and Solomon, G. "Polynomial Codes Over Certain Finite Fields." Journal of the Society for Industrial and Applied Mathematics, 1960.
Related Calculators
Browse all Dev Tools calculators →URL Encoder/Decoder
Encode and decode URLs, query strings, and special characters.
UUID Generator
Generate v1, v4, and v5 UUIDs instantly in the browser.
Base64 Encoder/Decoder
Encode and decode text or files to and from Base64 instantly.