QR Code Generator
Create free QR codes instantly from any text or URL. Our QR code generator works right in your browser with nothing to install and no sign-up needed.
About this tool
QR codes are the fastest bridge between the physical and digital world. Restaurants put them on tables for menus, shops use them for payments and Wi-Fi sharing, and event organizers print them on tickets. Anyone with a phone camera can scan one in seconds.
Our free QR code generator creates them instantly in your browser. Type any text or web address, press the button, and your code appears, ready to screenshot or share. Nothing to install and no account needed.
By Azhar Hussain · Last updated: 7 November 2026
How to use
Pick what the code should hold — a web link, a Wi-Fi network, a contact card, an email, an SMS, a phone number, a WhatsApp message, a calendar event, a map location or a UPI payment — and fill in the fields. The code updates live as you type, and the line under it shows exactly what is encoded, so you can check the payload before you share it.
Use the colour, size, error-correction and quiet-zone controls to fit the code to its job, and download it as a PNG, SVG or PDF. SVG stays sharp at any size and is the best choice for print; PNG at 1024 or 2048 px works for slides and social posts. Before you print a batch, scan the printed copy with your own phone — never trust the screen alone.
The math behind it
A QR code stores your text as a grid of dark and light squares using Reed–Solomon error correction, which is why codes still scan when partly damaged or dirty. Longer text creates a denser grid, so short URLs scan more reliably at small print sizes. The largest standard code (Version 40, 177 × 177 modules) holds at most 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes at the lowest error-correction level — but in practice a short payload scans far better than a packed one.
This tool builds the code in your browser with qrcodejs 1.0.0, a standard open-source library, and you choose the error-correction level: L recovers about 7% of damaged data, M about 15%, Q about 25% and H about 30%. Higher levels make a denser code, so M is the right default for screens and Q or H is the right choice for anything printed, handled outdoors, or covered by a logo.
Static vs dynamic QR codes
The single most important choice is whether the code is static or dynamic. This tool makes static codes only.
| Static (this tool) | Dynamic (paid services) | |
|---|---|---|
| Cost | Free, forever | Usually a monthly subscription |
| Content | Baked into the pattern itself | A short redirect link; the real content sits on a server |
| Editable after print | No — a printed code can never change | Yes — change the destination any time |
| Expiry | Never — no server involved | Stops working if the subscription lapses |
| Scan tracking | No — add UTM parameters to your link and check your analytics instead | Yes — the service counts scans for you |
| Best for | Menus, Wi-Fi, contact cards, payments, anything that will not change | Ad campaigns where the link must change or scans must be counted |
If the destination might change after printing, point a static code at a web address you control and redirect it later — you get the editability without paying for a dynamic service.
Where QR codes go wrong
Most unreadable codes fail for one of a few avoidable reasons. Check yours against this list before you print.
- Too much data. Shorter URLs scan better. Strip tracking parameters from the link before you encode it, and keep the payload as short as the job allows.
- Wi-Fi strings need escaping. In a Wi-Fi payload the characters
;:\,and"must be escaped with a backslash, or the phone reads the password wrong. A network called MyNetwork with the password my-password becomesWIFI:T:WPA;S:MyNetwork;P:my-password;;— and this tool does the escaping for you. An open network usesT:nopasswith no password field, and a hidden network addsH:true. - Always test the print, not the screen. Ink spread and paper tint change how the modules look. Print one copy, scan it with your own phone from a normal distance, and only then print the batch.
- Modules too small. Modules below about 0.4 mm are hard work for a phone camera — that is why a dense code printed tiny fails even when it looks fine.
- Inverted or washed-out colours. Scanners expect dark modules on a light background. This tool never produces white-on-black codes, and it blocks downloads when your colours are too low-contrast to scan reliably.
- A printed code cannot be edited. If the menu, price or link might change, point the code at a redirect you control instead of the final page.
Design and print tips
- Minimum size: at least 2–3 cm (about 1 inch) per side for anything held at arm's length. Scale up for posters and shop windows — a code scanned from 2 metres away needs to be much larger.
- Use SVG for print and PNG at 1024–2048 px for screens, slides and social posts. A 256 px PNG stretched across a poster goes blurry; a vector file never does.
- Keep the logo small. A centre logo covering 15–20% of the code is a safe upper bound, and it needs error correction Q or H — this tool raises the level to Q automatically when you add a logo.
- Keep the three corner markers clear. The big squares in the corners are how a phone finds the code. Never cover them with a logo, text or decoration.
- Leave the quiet zone alone. The blank margin around the code (4 modules is the standard) is part of the symbol. A code printed hard against a busy background often fails to scan.
- Add a prompt. A short line under the code — “Scan for the menu”, “Scan to pay” — tells people why they should bother.
How much can a QR code hold?
The limits come from the ISO/IEC 18004 standard. The largest standard code is Version 40, a 177 × 177 module grid, and at the lowest error-correction level (L) it holds at most:
| Encoding mode | Maximum at level L |
|---|---|
| Digits only (numeric mode) | 7,089 digits |
| Letters and digits (alphanumeric mode) | 4,296 characters |
| Any text or data (byte mode) | 2,953 bytes |
Higher error correction trades space for toughness. In byte mode — the mode this tool uses, because it accepts any text — the ceiling falls to 2,331 bytes at level M, 1,663 bytes at level Q and 1,273 bytes at level H. Those ceilings are not targets: a code near its limit is a dense grid that needs to be printed large to scan. For a link or a contact card, a few dozen characters is the comfortable range.
Sources and method
Capacity and error-correction figures follow the QR Code standard, ISO/IEC 18004 (Version 40, 177 × 177 modules; level L recovers about 7% of damaged codewords, M about 15%, Q about 25% and H about 30%). The byte-mode ceilings above (2,953 / 2,331 / 1,663 / 1,273 bytes for L / M / Q / H) are also the limits table inside the encoding library itself. The tool renders codes in your browser with qrcodejs 1.0.0, a standard open-source QR library; Wi-Fi payloads follow the WIFI:T:…;S:…;P:…;; format, contact cards follow vCard 3.0, calendar events follow iCalendar (VEVENT), and UPI payment links follow the NPCI UPI deep-linking parameters (pa payee address, pn payee name, am amount, cu currency). Nothing you type leaves your device — encoding, error correction and image export all run on this page.
Frequently asked questions
What is the difference between static and dynamic QR codes?
Do QR codes expire?
What can I put in a QR code?
Can I track how many people scan my QR code?
Is this QR code generator really free?
How do I make a QR code for a link?
Do I need a scanner app to read a QR code?
How do I save a QR code to my phone?
What if I need to change the link after printing the code?
What size should a printed QR code be?
What are the most common QR code mistakes?
Related tools
Barcode Generator
Password Generator
UUID Generator
Random Number Generator
Privacy Policy Generator
Random Name Generator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.