To create a QR code, paste your link or text into a QR code generator, generate the code, scan it with your phone, and download it. For a code that never expires, use a generator that makes static codes, which store your link in the pattern itself, and check that the scanned code shows your own address. For printing, keep dark squares on a light background, leave the blank margin untouched, and print it large enough for the scanning distance.
That takes under a minute. The rest of this guide covers what decides whether a code works for years: why some free codes stop working, how to make Wi-Fi codes, and the results of our own tests on contrast, damage and content length, so you know where the limits really are.
How QR codes store information
A QR (“Quick Response”) code is a square barcode invented in 1994 by Denso Wave to track car parts. QR Code is a registered trademark of DENSO WAVE INCORPORATED. It is made of small squares called modules. Three large squares in the corners, the finder patterns, let a scanner locate the code and work out its angle. The other modules hold your content plus extra error-correction data, which lets a scanner rebuild the content when part of the code is dirty, scratched or covered.
There are four error-correction levels, rated to recover roughly 7% (L), 15% (M), 25% (Q) or 30% (H) of the data. More content or a higher level means more modules, so the code gets denser and needs to be printed larger. Our QR Code Generator uses M by default and lets you choose any level.
How to create a QR code from a link
- Copy the full address of the page from your browser’s address bar, including
https://. - Open the QR Code Generator, keep Link or text selected and paste the address.
- Leave error correction on Medium for screens and normal prints. Choose Quartile or High for codes on packaging, outdoor signs or anything that may get scuffed.
- Optionally choose colors. Keep the foreground dark and the background light; the tool warns you if the contrast is too low.
- Select Generate QR code. The tool reads the finished code back with a QR decoder and shows “Scan check passed” when it decodes to exactly what you entered.
- Scan the preview with your own phone too, and check it opens the right page.
- Download a PNG for screens and documents, or an SVG for print.
Including https:// matters: without it, some scanners show the address as plain text rather than a tappable link. The generator encodes exactly what you type and never shortens or redirects your link, so the code works for as long as the page exists.
QR codes for text, email, phone numbers and documents
A QR code can hold any text, such as a serial number, short instructions or an event code. When scanned, the phone shows the text. A few formats trigger actions on most phones: mailto:hello@example.com starts an email, and tel:+15551234567 offers to call the number. Support varies, so test on the phones your audience uses.
A QR code can’t hold a file. To share a PDF, upload it somewhere with a public link, such as your website or a cloud storage share link, and encode the link. To share a location, copy the Share link from Google Maps or Apple Maps.
Capacity depends on the error-correction level: up to 2,953 bytes at L, 2,331 at M, 1,663 at Q and 1,273 at H. Most English letters take one byte; accented letters, other alphabets and emoji take two to four. The tool shows a live byte count against the limit for the level you chose.
How to create a QR code for Wi-Fi
Phones recognise a special text format for Wi-Fi details, and scanning it offers to join the network without typing the password. In our generator, choose Wi-Fi network, then enter:
- Network name (SSID), exactly as it appears on your devices, including capital letters.
- Security: “WPA, WPA2 or WPA3” for almost every home and office network, WEP for very old routers, or “No password” for an open network.
- Wi-Fi password, and whether the network is hidden.
The tool builds the text for you. For a network called “Cafe Guest”, the code contains:
WIFI:T:WPA;S:Cafe Guest;P:violin-crater-ember-41;;If the name or password contains ;, ,, :, \ or ", the format needs a backslash before that character (for example Cafe\;Guest). The tool adds these automatically, which is easy to get wrong when typing the format by hand. Anyone who can see the code can join the network, so print codes only for a guest network you are happy to share.
Free codes that never expire: static vs dynamic
“Free QR code generator no expiration” is a common search, and the cause is almost always a dynamic code. A dynamic code doesn’t contain your link. It contains a short link to the provider’s server, which forwards people to your page. If a code made during a free trial is printed on flyers and the trial ends, scanning it may show a sign-up page or an error. The code didn’t expire; the redirect service behind it stopped, because a trial or subscription ended, a free plan hit a scan limit, or the service closed.
| Comparison | Static code | Dynamic code |
|---|---|---|
| What the pattern holds | Your link or text itself | A short link to the provider’s server |
| Expires? | No. It works as long as your link works | Depends on the provider and your plan |
| Change the destination later? | No, you make a new code | Yes |
| Scan statistics | No (your website analytics still work) | Usually |
| Account needed? | Usually not | Usually |
| Who sees each scan? | Only the website you link to | The provider as well as your website |
Dynamic codes have real uses, such as large print runs where the destination will change. A free alternative that you can still edit: point a static code at a page on your own website, then update or redirect that page whenever you like. Our generator makes static codes only.
How to check whether any code is static
- Point your phone’s camera at the code without tapping the link yet.
- Read the address shown in the preview.
- If it is your own address, such as
https://www.example.com/menu, the code is static. A short link on someone else’s domain means it is dynamic and depends on that service.
This works on codes you have already printed, and on any generator’s preview before you download.
What we found when we stress-tested QR codes
Advice about QR codes is often vague (“use enough contrast”, “logos are fine”). We wanted numbers, so we generated codes with the same library our tool uses (qrcode for JavaScript) and tried to read each one back with jsQR, the open-source decoder our scan check uses. Tests 1 and 2 ran in Node.js on November 28, 2026; test 3 used the generator itself in Chrome on November 29. All are software tests on clean digital images. Phone cameras deal with blur, glare and angles, so treat the results as best-case limits and always test printed codes with real phones.
Test 1: how content changes the size of the code
| Content | Bytes | Modules at L | Modules at M | Modules at H |
|---|---|---|---|---|
| A short page link | 44 | 29 × 29 | 33 × 33 | 37 × 37 |
| Wi-Fi details (example above) | 50 | 29 × 29 | 33 × 33 | 41 × 41 |
| The same link with three campaign tags | 112 | 41 × 41 | 45 × 45 | 57 × 57 |
| 300 characters of opening-hours text | 300 | 61 × 61 | 69 × 69 | 89 × 89 |
Adding campaign tags to a link made its code 36% wider in modules at level M (33 to 45). At the same printed size, each module is then about 27% smaller and harder for a camera to resolve. Keep links short, and if you need tracking tags, print the code a little larger.
Test 2: how much of a code can be covered
We covered a square in the middle of a 60-byte link’s code, first in white and then in black, roughly what a logo or a sticker does, and checked whether it still decoded both ways:
| Error correction | 3% covered | 6% | 9% | 12% | 15% |
|---|---|---|---|---|---|
| L (7%) | Yes | No | No | No | No |
| M (15%) | Yes | Yes | No | No | No |
| Q (25%) | Yes | Yes | Yes | Yes | No |
| H (30%) | Yes | Yes | Yes | Yes | Yes |
At H the code still decoded with 20% covered, and failed at 25%. In every case the code survived well under its rated percentage, because a covered area also damages modules around its edges and the rating assumes the damage is spread evenly. In practice: if you add a logo, choose level H and keep the logo well inside that limit, around a tenth of the code’s area, because a phone camera has less margin than a clean digital image. At M, keep anything covering the code very small.
Test 3: which colors decode
For this test we used the generator itself in Chrome: we generated a code for a short link in each color pair, at 512 and 1024 pixels, and recorded what the built-in scan check reported.
| Colors | Contrast ratio | Scan check |
|---|---|---|
| Black on white | 21:1 | Passed |
| Dark navy on white (our default) | 17.4:1 | Passed |
| Dark grey (#777) on white | 4.5:1 | Passed |
| Mid grey (#808080) on white | 3.95:1 | Passed at 512 px, failed at 1024 px |
| Grey (#888) on white | 3.5:1 | Failed |
| Light grey (#999) on white | 2.8:1 | Failed |
| Yellow on white | 1.4:1 | Failed |
| Red on green | 1.0:1 | Failed |
| White on black (inverted) | 21:1 | Only when inverted |
The decoder stopped reading codes at a contrast of about 4:1: mid grey (3.95:1) passed at one size and failed at the other, which is exactly the kind of borderline result you don’t want on a printed flyer. Red on green is a useful warning: two strong colors can look very different to people and yet have almost identical brightness, which is all a scanner sees. The inverted code had perfect contrast but only decoded when the decoder was told to try inverting the image, and many camera apps don’t. That is why our tool warns below 4:1 and for light-on-dark codes, and why it checks every code before you download it.
Choosing the print size
To estimate printed size from a PNG, divide its pixel width by the printer resolution. At 300 dots per inch, a 512-pixel image prints sharply at about 4.3 cm (1.7 in) and a 1024-pixel image at about 8.7 cm (3.4 in). An SVG has no such limit.
A widely used rule of thumb is that a code scans from up to about ten times its width, so a 3 cm code works at arm’s length while a poster across a room needs a much larger one. Dense codes (test 1) need extra size. Treat this as a starting point and test in the real location.
PNG or SVG?
- PNG (128 to 1024 pixels square) suits web pages, slides, Word documents and small prints. PNG is lossless, so module edges stay sharp. Don’t convert it to JPEG, which blurs edges; our guide to JPEG, PNG and WebP explains why.
- SVG is a vector file that scales to any size without blurring, so it is the best choice for posters, packaging and anything sent to a printer or designer. Canva, Illustrator, Inkscape, Figma and recent versions of Word and PowerPoint can insert SVG files.
If you change any setting after generating, the downloads are disabled until you generate again, so the file always matches what you see.
How to test a QR code before printing
The built-in scan check confirms the image itself decodes correctly. It can’t test your print, lighting or distance, so before printing many copies:
- Scan it with at least two phones, ideally an iPhone and an Android phone.
- Check that the link opens the right page and that the page works well on a phone.
- Print one copy at the final size and scan it from the distance people will use, in the real lighting.
- Glossy laminates and dim rooms cause glare and blur; test those conditions if they apply.
- Rescan after any design change, such as new colors, a logo or a different size.
What our QR code generator can and can’t do
| Feature | Our generator |
|---|---|
| Static codes that don’t expire, no account | Yes |
| Links and any text | Yes, up to the capacity of the chosen level |
| Wi-Fi codes with automatic escaping | Yes |
| Error-correction level | L, M, Q or H |
| Colors | Custom, with low-contrast and inverted-color warnings |
| Scan check before download | Yes, decoded in your browser with jsQR |
| Downloads | PNG (128–1024 px) and SVG, no watermark, 4-module quiet zone |
| Where the code is made | In your browser; your text and Wi-Fi password aren’t uploaded |
| Logo in the code, custom shapes | No |
| Editable destination, scan tracking | No (these need a dynamic code) |
Where QR codes work well
- Menus and table cards: link to a mobile-friendly menu page, not a large PDF.
- Business cards: keep the code at least about 2 cm wide and test it on the printed card.
- Posters and flyers: add a line saying what people get, such as “Scan to book a place”.
- Packaging and labels: link to instructions or a warranty page; use Q or H for surfaces that get handled.
- Presentations: let people open a link on their phone instead of typing it from a slide.
- Guest Wi-Fi: a framed Wi-Fi code saves reading out a long password. Our password guide covers choosing one that is strong but easy to read aloud.
Privacy and safety
Anyone who scans a QR code can read its content, so never put private passwords or notes in one (a guest Wi-Fi password is the exception). A static code has no expiry, so anything you print stays readable for as long as the paper survives.
QR codes are also used in phishing, sometimes called “quishing”: fake codes stuck over real ones on parking meters or posters, or sent by email. Check the address your phone shows before opening a link, and be wary of any page asking for passwords or payment. See CISA’s guide to phishing.
Common mistakes
- Printing a trial code from a service you haven’t paid for, without checking the scanned address.
- Not testing before printing. One typo in a URL makes every copy useless.
- Printing too small, especially long links or text, which make dense codes.
- Low contrast or inverted colors, the most common cause of codes that won’t scan.
- Cropping the margin. The quiet zone lets scanners find the code’s edges.
- Linking to a page that may move. If it is renamed or deleted, a static code breaks.
- Saving as JPEG or stretching the image. Keep PNG or SVG and scale evenly.
Frequently asked questions
Can I generate a QR code for free, without it expiring?
Yes. A static code stores your link or text in the pattern itself, so it has no expiry date and needs no account. The QuickToolsWorld QR Code Generator makes static codes only. Codes that stop working are usually dynamic codes whose trial or subscription ended.
How do I make a QR code for Wi-Fi?
In the QR Code Generator, choose Wi-Fi network, enter the network name, security type and password, then generate and download the code. Most current phone cameras offer to join the network when they scan it. Only share codes for a network you are happy for anyone who sees the code to use.
Which error-correction level should I choose?
Medium (M) suits screens and most prints. Choose Quartile (Q) or High (H) for packaging, outdoor signs, or if you plan to put a logo over part of the code. Higher levels make the code denser, so print it a little larger.
How do I create a dynamic QR code?
You need a dynamic QR code service, which encodes a short link it controls so you can change the destination and count scans, usually with an account or subscription. QuickToolsWorld makes static codes only. For a free alternative you can still edit, encode a link on your own website and redirect it wherever you need.
How do I add a QR code to Word, Canva or PowerPoint?
Download the PNG or SVG and insert it like any other picture: Insert → Pictures in Word or PowerPoint, or Uploads in Canva. Resize by dragging a corner so it stays square, keep the white margin, and scan the final document or printout before sharing it.
Can I track how many people scan my QR code?
Not with a static code, because no server is involved when it is scanned. You can measure visits to the linked page with your website analytics, for example by adding campaign parameters to the URL. Our tests show these make the code denser, so print it slightly larger.
How do I scan a QR code?
Open your phone’s camera app, point it at the code and tap the link or text that appears. To scan a code in a saved photo or screenshot, use Google Lens on Android or the Photos app on iPhone.