QR Code Generator — Create QR Codes from Text or URLs
Generate QR codes from any text or URL. Customize size and download as PNG images. Perfect for sharing links, WiFi credentials, or contact info.
QR Code Generator
Results update instantly as you type
Enter Values
Embed Code
Copy and paste this HTML snippet into any web page to embed this calculator directly.
<iframe src="http://127.0.0.1:54963/embed/devtools/qr-code-generator?ref=embed" title="QR Code Generator — Create QR Codes from Text or URLs" width="100%" style="max-width:600px; border:none; height:500px;" loading="lazy"></iframe>
Direct Link
Share this link to let others open the calculator in their browser.
The Formula
A QR (Quick Response) code is a two-dimensional matrix barcode invented by Denso Wave in 1994. Data is encoded in black and white square modules arranged in a grid pattern. The structure includes finder patterns (the three large squares in corners for position detection), timing patterns for module alignment, format information, and the data area with error correction codewords using Reed-Solomon codes.
Variable Definitions
QR Code Modules
The individual black and white squares that make up a QR code. Version 40 QR codes have 177 x 177 = 31,329 modules.
Position Detection Pattern
The three large square patterns in the corners of a QR code that allow scanners to detect the code orientation and position regardless of rotation.
Reed-Solomon Error Correction
QR codes use Reed-Solomon error correction with four levels (L, M, Q, H) allowing recovery of 7%, 15%, 25%, or 30% of the data respectively.
QR Code Version
The size of the QR code matrix, from Version 1 (21 x 21 modules) to Version 40 (177 x 177 modules). Higher versions store more data.
How to Use This Calculator
- 1
Enter the text, URL, or any content you want to encode in the QR code.
- 2
Adjust the pixel size (100px to 500px) to control the image resolution.
- 3
The QR code image is generated via the QR Server API and displayed in the panel below.
- 4
Use the download button to save the QR code as a PNG image file.
Quick Reference
| From | To |
|---|---|
| Version 1 capacity | 25 alphanumeric / 17 bytes / 10 kanji |
| Version 40 capacity | 4,296 alphanumeric / 2,953 bytes / 1,817 kanji |
| Error Correction L | Recovers 7% of codewords |
| Error Correction H | Recovers 30% of codewords |
Common Applications
- Sharing website URLs and landing pages in print media, posters, and business cards.
- Encoding WiFi credentials for quick network access without typing passwords.
- Storing contact information (vCard format) for easy mobile phone import.
- Providing product information, serial numbers, and authentication codes in manufacturing.
- Contactless payment and ticketing systems in retail and transportation.
QR code anatomy: finder patterns (position detection), timing patterns, data modules, and error correction codewords
Understanding the Concept
QR (Quick Response) codes are two-dimensional barcodes that can store significantly more data than traditional one-dimensional barcodes. A QR code encodes data using black modules arranged in a square grid on a white background, which can be read by cameras and image processing algorithms. The structure includes finder patterns (three identical squares in corners) that allow omnidirectional scanning, timing patterns that define module positions, alignment patterns for larger versions, format information, version information, and the actual data regions with error correction codewords. Reed-Solomon error correction is key to QR code reliability: even if a QR code is partially damaged, dirty, or obscured, the data can still be recovered. The four error correction levels (L, M, Q, H) allow users to trade data capacity for resilience. QR codes support four data modes: numeric (0-9), alphanumeric (0-9, A-Z, and some symbols), byte/binary (ISO-8859-1), and Kanji (Shift JIS). The maximum capacity depends on both version and error correction level: a Version 40 QR code with L-level correction can store up to 4,296 alphanumeric characters or 2,953 bytes.
Frequently Asked Questions
Sources & References
Related Calculators
Reviews
No reviews yet. Be the first to share your experience with QR Code Generator — Create QR Codes from Text or URLs.
Write a Review
