https:// is added automatically if you leave it out.
https://www.toolsfiesta.comCreated in your browser. This is a static code: it never expires and does not track scans.
Key takeaways
- A QR code holds at most 2,953 bytes of data (version 40, a 177 × 177 grid, at level L); a typical web address needs well under 100.
- Error correction levels restore about 7% (L), 15% (M), 25% (Q) or 30% (H) of a damaged code; M is the most common choice.
- Leave a quiet zone of at least four modules on every side; the margin here defaults to 4.
- Static codes made here contain your data directly, so they never expire and do not depend on any server.
How to use the QR Code Generator
- 1Pick the type of QR code: URL, Text, Wi-Fi, Email, Phone or SMS.
- 2Fill in the fields for that type. The preview and the encoded content update as you type.
- 3Set the size in pixels, the error correction level, the foreground and background colors and the margin.
- 4Check any contrast or margin warning, then test the preview with your phone camera.
- 5Click Download PNG for screens and documents, or Download SVG for print and design work.
How QR codes work
A QR (Quick Response) code stores data as a grid of dark and light squares called modules. Three large corner squares tell the scanner where the code is and how it is rotated; the remaining modules hold your data plus error correction bytes. The more data you encode, the more modules are needed: the default link on this page fits in a 29 × 29 grid (version 3), while long text can push a code toward the maximum of 177 × 177.
Special types are just text in an agreed format that phones recognize. A Wi-Fi code looks like WIFI:T:WPA;S:network;P:password;H:false;; with characters such as semicolons escaped by a backslash. Email codes use a mailto: link, phone codes use tel:, and SMS codes use SMSTO:number:message. The tool builds these strings for you and shows the exact result. Long website addresses with spaces or special characters should be percent-encoded first, which you can do with the URL encoder.
Static vs dynamic QR codes
The codes made here are static: your URL, text or Wi-Fi details are stored directly in the pattern. With no redirect server in between, the code works forever, has no scan limits and tracks nobody.
Dynamic QR codes, sold by many subscription services, encode a short link to the provider's server, which then redirects to your real address. You can change the destination and count scans, but the code dies if the subscription ends. If you might need to change the destination, point a static code at a page on your own website and update that page instead. A short, readable path also produces a smaller, easier-to-scan code.
Choosing an error correction level
Error correction lets a scanner rebuild data from a damaged or partly hidden code. Level L can recover about 7% of the code, M about 15%, Q about 25% and H about 30%. Higher levels need more modules for the same content, so the code becomes denser. M is a good default for screens and clean prints. Use Q or H for codes printed on packaging or outdoor signs that may get scratched, or if you plan to place a small logo over the center. For the example link, level L needs a 25 × 25 grid while H needs 33 × 33.
Tips for printing and scanning
Keep strong contrast: a dark foreground on a white or very light background scans best, and many scanners cannot read light-on-dark codes. Brand colors work if the foreground is clearly darker than the background; use the color converter to get the exact HEX value of a brand color and check its contrast ratio against white before you print.
Leave a margin (quiet zone) of at least four modules around the code. As a rule of thumb, the printed code should be at least 2 cm (about 0.8 in) wide, and about one tenth of the expected scanning distance. Use the SVG for print and test the final piece with more than one phone before a large run. To check a code from a screenshot or proof, drop it into the QR code scanner. For a Wi-Fi code, pair it with a strong password from our password generator.
Worked example
A Wi-Fi QR code for a guest network
Choose Wi-Fi, enter the network name HomeNetwork, choose WPA and type the password correct-horse-42. The tool builds this exact text: WIFI:T:WPA;S:HomeNetwork;P:correct-horse-42;H:false;; which is 53 characters long. At error correction level M it fits in version 4, a 33 × 33 grid.
With the default margin of 4 modules, the full image is 41 modules across. Printed 3 cm wide, each module is about 0.73 mm, comfortable for a phone held 20 to 30 cm away. If you switch to level H to survive scratches on a laminated card, the same text needs version 6, a 41 × 41 grid, so print it slightly larger.
A plain link such as https://www.toolsfiesta.com (27 characters) is smaller still: version 2 at level L (25 × 25) or version 3 at level M (29 × 29). Shorter content always gives a coarser, easier-to-scan pattern at the same printed size.
QR code capacity by version and error correction level
How many characters of plain text or a URL fit in each size of code. Higher error correction leaves less room for data, so the same text needs a larger version.
| Version | Grid (modules) | Level L | Level M | Level Q | Level H |
|---|---|---|---|---|---|
| 1 | 21 × 21 | 17 | 14 | 11 | 7 |
| 2 | 25 × 25 | 32 | 26 | 20 | 14 |
| 3 | 29 × 29 | 53 | 42 | 32 | 24 |
| 4 | 33 × 33 | 78 | 62 | 46 | 34 |
| 5 | 37 × 37 | 106 | 84 | 60 | 44 |
| 10 | 57 × 57 | 271 | 213 | 151 | 119 |
| 20 | 97 × 97 | 858 | 666 | 482 | 382 |
| 40 | 177 × 177 | 2,953 | 2,331 | 1,663 | 1,273 |
Byte-mode capacity, which applies to URLs and mixed text. Accented letters, non-Latin scripts and emoji take 2 to 4 bytes each in UTF-8, so fewer of them fit. Numbers-only content fits about 2.4 times as many digits.
Frequently asked questions
Do these QR codes expire?
No. They are static codes that contain your data directly, so they keep working as long as the destination exists. There is no account, subscription or scan limit.
Can I use the QR codes commercially?
Yes. The codes are generated in your browser and you can use them on products, menus, flyers and business cards without attribution.
Should I download PNG or SVG?
PNG suits documents and websites. SVG is a vector file that scales without blurring, best for print and design software. If you need another format such as JPG or WebP, convert the PNG with the image converter.
How much text can a QR code hold?
Up to 2,953 bytes at level L in the largest version, which is 2,953 characters of plain English text or a URL, or 7,089 digits if the content is numbers only. At the common level M the limit is 2,331 bytes. In practice, keep content short: a code with a few dozen characters is far easier to scan than one near the limit.
Why won't my QR code scan?
The most common causes are low contrast, inverted colors, a missing margin, a code printed too small or too much content making the pattern dense.
Is my Wi-Fi password sent anywhere?
No. The QR code is created entirely in your browser and nothing you type is uploaded. Anyone who scans the printed code can join your network, so only display it where you are comfortable sharing access. More tools are in the image tools section.
Sources
- DENSO WAVE (QR Code inventor): Information capacity and versions of QR Code
- DENSO WAVE: Error correction feature
- DENSO WAVE: Point for determining the code area (quiet zone)
Last reviewed by the ToolsFiesta team.