QR Code Generator
Guide: How QR Codes Work and How to Make a Good One
Higher levels still scan when part of the code is damaged, but hold less text.
Generating…
Dark code on a light background scans best.
Nothing you enter or choose here leaves your device. This tool runs in your browser.
Pick the right type first
A QR code is only text with a pattern around it, so the type you choose decides what a phone does after scanning. Here is what each one holds and when to use it:
| Type | A phone offers to | Good for |
|---|---|---|
| Link | Open the page | Menus, flyers, product packaging |
| Wi-Fi | Join the network | Guest Wi-Fi at home or a cafe |
| Contact | Save a contact card | Business cards, conference badges |
| Start a message with a subject and body filled in | Feedback forms, support requests | |
| Phone | Call the number | Posters, vehicle signs |
| Text message | Open a text to a number with the message ready | Sign-up by SMS, voting |
| Plain text | Show the words | Serial numbers, short notes, codes |
The settings, explained
- Size and margin. The margin is the blank border that scanners need, the quiet zone. Leave it on. Cutting it off is the most common reason a printed code won't scan.
- Error correction. Medium suits most uses. Choose Q or H for print that may get scuffed or when you want a logo in the middle. Higher levels make the pattern denser, which means smaller squares.
- Colors. Dark on light scans best. Keep strong contrast, and avoid a light code on a dark background unless you've tested it. Some phone cameras can't read inverted codes.
- PNG or SVG. SVG is for print, because it stays sharp at any size. PNG is for slides, web pages and chat apps.
How big to print it
A good rule is that the code should be about one tenth of the distance a person will scan from. A card held in the hand needs about 2 cm. A poster scanned from 2 meters needs about 20 cm.
| Where | Scan distance | Minimum size |
|---|---|---|
| Business card | 30 cm | 2 cm |
| Flyer or menu | 40 cm | 3 cm |
| Poster | 2 m | 20 cm |
| Shop window | 3 m | 30 cm |
If it won't scan
- Test with two or three phones, not only your own.
- Raise the contrast and check that the margin is still there after you've placed it in your design.
- Shorten the text. A long link makes a dense code. A short link makes bigger squares that are easier to read.
- Raise the size. Small prints blur the squares together.
- If you added a logo, make it smaller or use level H.
Codes made here are static: the text is inside the squares, so they never expire, and nobody can switch the destination later. That also means you can't fix a typo after printing, so scan the preview before you download. If you want to tell your printed codes apart in your analytics, tag the link first with the UTM link builder. The guide to how QR codes work goes deeper.
Written by Akinrinmade Michael · Updated October 24, 2026
How to use
- 1Choose what the code holds (link, Wi-Fi, contact, email, phone or text message) and fill in the details.
- 2Adjust the size, margin, error correction and colors if you like.
- 3Check the preview. Scan it with your phone to make sure it works.
- 4Click Download PNG or Download SVG.
Frequently asked questions
Do these QR codes expire?
No. The code contains your text directly. It isn't a redirect through our site, so it keeps working forever.
Which error correction level should I choose?
Medium (M) suits most uses. Choose Q or H if the code will be printed on something that may get scuffed or if you will add a logo. Higher levels make the pattern denser.
What kinds of QR code can I make?
A link or any text, a Wi-Fi code that joins a network, a contact card (vCard), an email with a subject and message, a phone number to call, and a text message. Choose the type at the top.
PNG or SVG?
Use SVG for print and anything that must scale without blurring. Use PNG for web pages, slides and messaging apps.
Is the text I enter uploaded?
No. The code is generated in your browser and nothing is sent to a server.
Read the guides
Learn how this works and how to get the most from it.
Web & SEO
How QR Codes Work and How to Make a Good One
What a QR code stores, what the error correction levels mean, and the rules that make a code scan every time.
4 min read
Web & SEO
Barcodes Explained: EAN, UPC, Code 128 and Code 39
How the main barcode types differ, what the digits and check digit mean, tips for printing barcodes that scan, and how they compare to QR codes.
3 min read
Web & SEO
How to Build UTM Links and Track Your Campaigns
What the five UTM parameters mean, which ones are required, naming rules that keep reports clean, and mistakes that split your data.
3 min read
Security
Two-Factor Codes Explained: How TOTP Authenticator Apps Work
How the six-digit codes in authenticator apps are made, why they change every 30 seconds, what the secret key is, and how to set one up safely.
3 min read
Related tools
Wi-Fi QR Code Generator
Let guests join your Wi-Fi by scanning a code.
vCard QR Code Generator
A QR code that saves your contact details to a phone.
Barcode Generator
Make Code 128, EAN-13, UPC-A, EAN-8 and Code 39 barcodes.
UTM Link Builder
Add campaign tracking to any link.