PDFGami Logo
v2.32.0
Static vs Dynamic · Fixes · Printing

Do QR Codes Expire? Static vs Dynamic, and Why Yours Stopped Working

By Hannaniah, AIC Innovation LLC·Published ·8 min read
Short answer

A static QR code never expires. Its content — a web address, a Wi-Fi password, a contact card — is stored in the pattern of squares itself, so it works for as long as the code can be read and, for a link, the website still exists. A dynamiccode holds only a short link to the generator company's server, which forwards each scan to the real address. When that service, plan or free trial ends, the redirect can be switched off — and the printed code stops working.

It usually comes to light on a menu, a flyer or a shop window: a code that worked for months now opens an error page or a sign-up screen. Nothing happened to the ink. What changed is a server somewhere that the code was quietly depending on. This guide explains the two kinds of code, how to tell which one you have, what can be done about a dead one, and how to make and print a code that will keep working. PDFGami's QR Code Generator makes static codes, and its QR Code Reader shows exactly what a code holds before anything is opened — both in your browser, with nothing uploaded.

Static vs dynamic: where the content lives

A QR code stores text — nothing more. A phone reads the text and decides what to do with it: open a web address, offer to join a Wi-Fi network, save a contact. The difference between the two kinds of code is which text is stored.

  • A static code holds the content itself.For a menu, that is the menu's own address; for Wi-Fi, the network name and password. The phone decodes it and goes straight there. No server is involved, so there is nothing to expire, nobody can switch it off, and nobody counts the scans. It also cannot be edited: change one character and it is a different pattern.
  • A dynamic code holds a short link to a redirect. Something like https://qr-service.example/x7Kp2, on the generator company's own domain. Each scan goes to their server first, which looks up where you currently want it to go and forwards the phone there. That is what makes it editable after printing, and what lets the service count scans. It is also the weak point: the code works only while that server keeps forwarding.
Static codeDynamic code
What the pattern holdsThe content itselfA short link to the service's server
ExpiresNeverWhen the service stops redirecting it
Edit after printingNo — make a new codeYes, while the redirect lasts
Scan countsNoneLogged by the service
Depends on a companyNoYes — its servers, its plans, its terms

Many generator services say in their own help pages that dynamic codes are deactivated when a free trial ends or a paid plan lapses or is cancelled, and some send scans to a page of their own instead. Not every service works that way — some keep dynamic codes running on every plan — so the only reliable answer for a particular code is that service's own terms. Which is the point: a dynamic code's lifetime is decided by someone else.

Which kind is yours? Read the address

You cannot tell by looking at the squares, but you can by reading them. Scan the code with a reader that shows the content before opening anything — PDFGami's QR Code Reader does that from a photo, a screenshot or your camera — and look at what it holds:

  • The final address — your own website, the menu page itself: nothing stands between the code and the destination.
  • A short address on someone else's domain— a QR-code company's domain or a link shortener: the code depends on that service. The reader flags well-known short-link and QR-service domains; an unfamiliar short domain you did not choose yourself deserves the same suspicion.
  • A Wi-Fi network, contact card or text shown directly: the content is in the code, so it is static.

If the address is not what you expected at all, look at the code itself: the US Federal Trade Commission has warned that scammers cover real QR codes on parking meters with codes of their own. A sticker over a printed code is worth peeling back.

Why a printed code stops working

  • Its redirect was switched off.The commonest reason for a dynamic code: the free trial it was made on ended, the plan lapsed or was cancelled, or the account was closed. Scans then reach an error, or the service's own page, instead of yours.
  • The link service itself retired the links.Short-link services are businesses and products, and they end. Google's own goo.gl shortener stopped taking new links in 2019; in 2024 Google announced that goo.gl links would stop working after 25 August 2025, and in 2025 it narrowed that to links that had shown no activity in late 2024. Codes printed with such links depend on decisions like these.
  • The destination moved or vanished. This one affects static codes too: the website was rebuilt and the page moved, the domain was not renewed, or a shared-document link was revoked. The code still scans; there is just nothing at the address.
  • It cannot be scanned. Too small for the distance, too little contrast, colours inverted, no blank margin, or damaged beyond what its error correction can repair. See printing it so it scans.

What to do when it has stopped

  1. Find out what the code holds. Scan it with the QR Code Reader. The domain in the address tells you which service, if any, it depends on.
  2. A dynamic code on an account you own:log in to that service and check the code's status. It can usually be reactivated by renewing the plan. Before paying, weigh it against replacing the code — renewing keeps every printed copy alive, but leaves you depending on the same service.
  3. A dynamic code that cannot be revived — the service is gone, or the account is not yours — is dead for good. Make a new static code and stick it over the old one on the copies already printed.
  4. A static code whose link is dead: fix the website, not the code. If the address is on a domain you control, put a page back at that address or redirect it to the new one — your web host or website builder can set up the redirect — and every printed copy works again.
  5. A code that will not scan at all: try it with two or three phones in good light. If they all struggle, reprint it larger, darker on a lighter background, with a proper margin.

How to make a code that lasts

  1. Make it static. PDFGami's QR Code Generator only makes static codes, in your browser: links, text, Wi-Fi, email, phone, SMS and contact cards, saved as PNG or SVG.
  2. Point links at an address you own — yourname.com/menu rather than a third-party short link or a file-sharing link that can be revoked. Then you can change what the page shows, or redirect it, without reprinting anything: the main benefit of a dynamic code, without depending on someone else's service. Keep the domain renewed.
  3. Keep the content short. Every character adds squares. A shorter address makes a less dense code, whose squares are bigger at the same printed size and easier to read from a distance.
  4. Test the real print. Scan the printed code with a couple of different phones before printing hundreds of copies.

Printing it so it scans

  • Size for the distance. QR code makers commonly suggest a code about a tenth as wide as the distance it will be scanned from — about 2 cm across for a phone held 20 cm away, 30 cm for a poster read from 3 metres — and nothing smaller than about 2 × 2 cm. That is a rule of thumb, not part of the standard; a code holding more data has smaller squares and needs more room. For print, use the SVG, or a PNG with plenty of pixels.
  • Dark squares on a light background. Colours are fine as long as the squares stay clearly darker. Low contrast is the first thing to fail in dim light. Inverted codes — light squares on a dark ground — have been part of the standard since its 2006 edition, but not every scanner reads them: the widely used open-source ZXing library, for one, only tries when an app asks it to. The generator warns about both.
  • Leave the quiet zone. The standard asks for a blank margin four squares wide on every side. Phones use it to find the code; text or pictures crowding the edges can stop them.
  • Choose error correction for the conditions. Spare data lets a code be read with part of it damaged: about 7% of it at level L, 15% at M, 25% at Q and 30% at H, according to DENSO WAVE, which created the format. M suits most uses; Q or H suit codes that may get dirty or scuffed. Higher levels make denser codes.
  • Logos borrow from error correction.A logo over the middle hides squares the code then has to rebuild, so use level H, keep the logo small, and test before printing. PDFGami's generator does not add logos; if you add one in a design app, check the result with a phone.

Where QR codes came from

DENSO WAVE, then part of DENSO CORPORATION, announced the QR code in 1994; its development was led by Masahiro Hara. DENSO WAVE holds the patent but declared from the start that it would not exercise it for codes that follow the standard, which is part of why anyone can make QR codes freely. The format became an international standard, ISO/IEC 18004, in 2000; the current edition was published in 2024.

The largest QR code, version 40, is 177 squares across and holds up to 7,089 digits or 2,953 bytes of text. Most codes in the wild are far smaller — a web address fits in a code a few dozen squares across, which is exactly why short content prints and scans best.

Made and read in your browser.

The generator draws the code on your device and checks it scans before you download it; the reader decodes photos, screenshots and camera frames on your device too. Neither sends what you type or the pictures you open anywhere — open the Networktab of your browser's developer tools and watch.

Frequently asked questions

Do QR codes expire?

A static QR code does not: its content is stored in the pattern itself, so it works for as long as it can be scanned and, for a link, the website still exists. A dynamic QR code can stop working: it holds a short link to a generator company’s server, and many such services switch that link off when a free trial or paid plan ends.

How do I know if my QR code is static or dynamic?

Scan it with a reader that shows the address before opening it, such as PDFGami’s QR Code Reader. If the address is the final destination — your own website, say — nothing stands in between. If it is a short address on a QR-code company’s domain or a link shortener, the code depends on that service. A code that shows a Wi-Fi network, a contact card or text directly is static.

Why did my QR code stop working?

Most often because it is a dynamic code and the generator’s trial or subscription ended, so its redirect was switched off. Other causes: the website it points to moved or its domain lapsed, a short-link service retired its links, or the printed code is too small, too low in contrast or too damaged to scan.

Can I fix a QR code that stopped working without reprinting it?

Sometimes. A dynamic code can usually be reactivated by logging in to the service that made it and renewing the plan. A static code cannot change, but if its link is dead and the address is on a domain you control, putting a page back at that address — or redirecting it — revives every printed copy.

How long does a static QR code last?

Indefinitely. Nothing in it depends on a server, an account or a subscription. The limits are physical — fading, scratches, dirt beyond what its error correction can repair — and, for a link, the website it points to.

Can I change where a static QR code points?

Not the code itself. But if it points to a page on a website you control, you can change that page, or redirect its address, without touching the code. That gives you the main benefit of a dynamic code without depending on another company’s service.

Is a free QR code generator really free?

A static code costs nothing to make or to keep, whoever makes it. The catch is with services that make dynamic codes on a free trial: when the trial ends, many deactivate the codes until you pay, which is a common reason a “free” code stops working. Check what a code contains before printing it.

What size should a printed QR code be?

A common rule of thumb from QR code makers is a code about a tenth as wide as the distance it is scanned from — 2 cm across for a phone 20 cm away, 30 cm for a poster read from 3 metres — and no smaller than about 2 × 2 cm. A code holding more data has smaller squares and needs more room. Scan a test print before printing many.

QR Code is a registered trademark of DENSO WAVE INCORPORATED.