Made on Earth Donate

Why some printed QR codes stop working, and how to make one that never expires

10 November 2026 · 9 min read · by Varun Agrawal

The tool this post is aboutQR Code Maker for Links & Wi-FiMake a QR code for a link, text, Wi-Fi, SMS, email, a call, a map location, or a UPI, Bitcoin or PayPal payment.

A café prints new table cards with a QR code for its menu. A year later customers start mentioning that the code opens a page asking someone to log in and renew a plan. Nothing is wrong with the cards: the code still scans perfectly. It just never pointed at the menu. It pointed at a short link on the generator's own domain, and the generator stopped forwarding it when the free trial ended.

That is the most expensive QR code mistake, because you only find out after printing. This post explains how a QR code actually holds information, the difference between static and dynamic codes, what error correction does and costs, and how the QR Code Maker for Links & Wi-Fi makes codes with no subscription or expiry date behind them.

What is inside a QR code

The QR code was designed in 1994 by Denso Wave, a Toyota group company, to track car parts on production lines, and it is now standardised as ISO/IEC 18004. Denso Wave holds patents on it but chose not to enforce them, which is a large part of why it is everywhere.

A QR code is a square grid of modules, the small dark and light squares. The grid comes in 40 sizes called versions: version 1 is 21 by 21 modules, and each version adds 4 modules a side, up to version 40 at 177 by 177. Some of the grid is reserved for the scanner's benefit:

  • Finder patterns: the three big nested squares in the corners. Their 1:1:3:1:1 ratio of dark and light bands is what lets a camera spot a code at any angle and tell which way up it is.
  • Timing patterns: alternating rows of modules between the finders, which tell the scanner the module size.
  • Alignment patterns: smaller squares, from version 2 up, which help correct for a code photographed at an angle or on a curved surface.
  • Format information: 15 bits, stored twice, saying which error correction level and which mask pattern the code uses.

Everything else is data. The text is turned into bits in one of a few modes (numeric, alphanumeric, byte or kanji), split into 8-bit codewords, extended with error correction codewords, and laid into the grid in a zigzag. Finally one of eight mask patterns is applied, flipping modules in a regular pattern so the result doesn't contain large blank areas or shapes that look like finder patterns. The encoder tries all eight and keeps the one that scores best against the standard's penalty rules.

The important point for everything below: the content is the pattern. A code that holds https://example.com/menu is that address, drawn in squares. Any phone that can read QR codes can recover it, with no network, no server and no account involved.

Static and dynamic codes

A static code holds the final content: your web address, your Wi-Fi details, your text. It works as long as that content is valid. It can't be changed after printing, and nobody counts the scans.

A dynamic code holds a short link on someone else's server, which then redirects to your address. The redirect can be changed later and every scan can be counted, which is genuinely useful for campaigns. But the code now depends on that server. If the service closes, changes its terms, or puts the redirect behind a subscription you stop paying, every printed copy stops working at once, and there is nothing you can change in the printed code to fix it.

Many online generators make dynamic codes by default, because the redirect is the product they sell. The code you download looks exactly like a static one; the only way to tell is to scan it and look at where it goes before it redirects. The QR code reader shows exactly that, as text, without following anything.

Want both? If you need to change the destination later, put a short address on your own domain in a static code, say https://example.com/menu, and change what that page shows or redirects to. The printed code then depends only on a domain you control.

The QR Code Maker draws every code from what you type, with the open-source qrcode-generator library. Wi-Fi, text, SMS, email, call, payment and 2FA codes are fully static. Web links take a middle path: the code holds a short redirect on this site with your full address inside it, such as https://supertoolshq.com/qr-go/?u=https://example.com/menu. Scanning it opens that page, which forwards straight on to your address. Nothing is stored on the server, so there is no account, no plan and no expiry date, and a QR reader still shows your real address in the code. The price is 34 extra characters, which makes the code a little denser.

Error correction: the code's spare capacity

QR codes use Reed–Solomon error correction, the same family of codes that let scratched CDs play. Extra codewords are calculated from the data, so a scanner can rebuild missing or misread ones. The standard offers four levels:

LevelRoughly how much can be lostMost bytes a code can hold (version 40)
L7%2,953
M15%2,331
Q25%1,663
H30%1,273

More correction means more of the grid is spent on redundancy, so the same text needs a bigger, denser code. Run a short address through the library at each level and the trade-off is easy to see:

ContentBytesLevel LLevel H
https://example.com19version 2, 25 × 25version 3, 29 × 29
a menu address with three tracking parameters97version 5, 37 × 37version 9, 53 × 53

The second row is https://www.example.com/menu?table=12&utm_source=poster&utm_medium=print&utm_campaign=spring-2026. The tracking parameters almost double the code's width in modules, and at a given print size every module gets smaller and harder to read. Short addresses make easy codes.

Why this maker always uses level H

Codes made here always use level H, and spend a little of that headroom on a credit: the site's bolt icon in the middle and "SuperToolsHq.com" in small letters in the bottom-right corner. The modules under them are simply left out, and error correction restores them when the code is read. Both stay clear of the finder and alignment patterns, which a scanner can't do without, and both scale with the code, in whole modules: the icon square is 15% of the width, the name 4% of it tall. That works out at about 3–6% of the code's area. Bigger credits were tested and stopped the smallest codes scanning: a name a fixed 1.75 modules tall left no version 1, 2 or 4 code readable, so it shrinks with the code instead. There is no option to remove it.

The other cost of level H is capacity: a code here holds up to 1,273 bytes, which is about 1,200 characters of plain text and fewer with accented letters or emoji, since those take two to four bytes each in UTF-8. Everything is encoded in byte mode as UTF-8, so any language works; the line under the code shows the exact byte count.

Wi-Fi codes: a format nobody standardised

Typing a 20-character router password on a guest's phone is the problem Wi-Fi QR codes solve. Phones recognise a plain text format that came from ZXing, the open-source barcode library behind many Android scanner apps, and became a de-facto standard when phone cameras adopted it:

WIFI:T:WPA;S:network name;P:password;;

T is the security type, S the network name (SSID), P the password, and an optional H:true marks a hidden network. Fields end with semicolons, and the whole thing ends with a second one. Because semicolons, colons and commas are structure, a password containing them has to be escaped with a backslash, as do backslashes and double quotes. A hand-made code that forgets this gives a phone the wrong password, and the phone says "unable to join" with no hint why.

A worked example: a café's guest Wi-Fi

Network Cafe Rosa, password coffee;shop:2026, WPA2. On the Wi-Fi page you type the name and password as they are, and the maker builds this text for the code:

WIFI:T:WPA;S:Cafe Rosa;P:coffee\;shop\:2026;;

The semicolon and colon inside the password are escaped; the space in the name needs nothing. Under the code the page reports Version 6 · 41×41 modules · 45 bytes. At level L the same text would fit in version 3, 29 by 29, so level H costs three versions here. The credit is a 7 by 7 icon in the middle and a 16 by 3 strip for the name, 5.8% of the code.

Choose the 1,024-pixel PNG and the file is 980 pixels square, not 1,024. The code is drawn with the standard's quiet zone of 4 blank modules on each side, so the image is 49 modules across, and each module gets a whole number of pixels (20) so its edges stay perfectly sharp. The download is named wifi-Cafe-Rosa.png.

Decoded back from that image with jsQR, the decoder the site's reader uses, the text comes out exactly as above, escapes included, credit and all. A phone scanning it offers to join Cafe Rosa.

For the menu, the same café would use the Text or link page with https://example.com/menu. On its own that is 24 bytes and would fit version 3; with the redirect in front it becomes 58 bytes, version 6, 41 by 41 modules, still easy to scan on a table card. The line under the code shows where it forwards to, so the café can check the address before printing.

For every kind but 2FA, Copy link builds an address for the maker page with the contents in it, for example /image/qr-code/wifi/?ssid=Cafe+Rosa&pass=…, plus the colours, pattern and frame if you changed them. Opening the link shows the same code, ready to download again. That is handy for a team that needs to reprint a sign, but the contents are in the address, so the site's server receives them when the link is opened, and a Wi-Fi link contains the password in readable form. Share it only where you would share the password itself.

Each kind of code has its own page, and while you type the address bar never changes. The 2FA page, which makes authenticator setup codes, has no Copy link at all, and the page never reads a secret key from its address, so an authenticator secret never ends up in a link, a server log or your browser history.

Printing codes that scan first time

  1. Keep the content short. Drop tracking parameters you don't need, use your shortest domain, and leave out www. if your site works without it. Fewer bytes mean a lower version and bigger modules at the same print size.
  2. Use the SVG for print. It is a vector, so it stays sharp at any size, from a business card to a window poster. Use PNG for documents, slides and chat.
  3. Size for the distance. A common rule of thumb is a code about a tenth as wide as the distance it is scanned from: 3 cm across for a table card read at arm's length, much larger for a poster across a room.
  4. Keep the quiet zone. The blank border is part of the code. Don't crop it or butt text and graphics against it.
  5. Keep the contrast. A dark code on a light background is the safe choice. The maker warns you when the code colour is lighter than the background, or when the two are too close in brightness, because not every scanner reads those.
  6. Test before printing a batch. Scan the downloaded file with two different phones, or paste a screenshot into the QR code reader and check the text is exactly what you meant, password escapes and all.
  7. Remember a static code is permanent. If the address inside it might change, use one on your own domain that you can redirect.
Try it now, freeQR Code Maker for Links & Wi-FiMake a QR code for a link, text, Wi-Fi, SMS, email, a call, a map location, or a UPI, Bitcoin or PayPal payment.

More from the blog

All posts →