GameParticles
Random & generators

Do QR Codes Expire? Static vs Dynamic Codes Explained

Do QR codes expire? Static codes never do, but dynamic codes can stop when a plan ends. Learn why a code stops working and how to make one that lasts.

Updated

QR codes do not expire by themselves. A static QR code is only text drawn as a pattern, with no date, timer or scan counter inside it, so it works for as long as the image can be read and the thing it points to still exists. Dynamic QR codes are the exception: they depend on a redirect service, and they stop working if that service deactivates the link. Codes from the QR Code Generator are static.

Static and dynamic codes

The difference is where the destination lives.

A static code contains the final content itself. If you encode https://example.com/menu, those exact characters are in the pattern, and a phone opens that address directly. Nobody sits in between.

A dynamic code contains a short link owned by a QR service, for example an address on the provider's domain. When scanned, the phone visits that short link and the provider's server forwards it to your real destination. Because the forward is stored on a server, the provider can change it, count scans, and also switch it off.

StaticDynamic
What is in the patternYour actual URL or textA short link on the provider's domain
Can it expireNoYes, if the provider deactivates it
Change the destination laterNot in the patternYes, in the provider's dashboard
Scan statisticsNot from the code itselfYes
Depends on a third partyNoYes
Typical costFreeOften a subscription
Works for WiFi, plain text, contact detailsYesUsually links only

Neither kind is better in every case. Dynamic codes are useful for campaigns where you need statistics or expect the destination to change. The cost is a permanent dependency on the provider.

Why a QR code stops working

When a code "expires", one of these has usually happened:

  • The dynamic plan ended. A free trial ran out, a subscription was cancelled, or a free tier's scan limit was reached. The short link now shows an error or an upgrade page.
  • The provider shut down or changed its terms. Every code using its short links goes with it.
  • The destination moved. The page was renamed, the file was deleted, or a shared document's link settings changed. The code still works. The address it holds does not.
  • The domain lapsed. If the registration was not renewed, the address no longer resolves, or someone else now owns it.
  • The content was time-limited by design. Tickets, payment requests, login codes and one-time links expire on the server, even though the pattern is static.
  • The WiFi password changed. A WiFi code stores the password that was current when it was made.
  • The print is damaged. Fading, scratches, creases or a sticker over part of the code can exceed what error correction can repair.
  • The code is hard to read. Too small, low contrast, printed on a reflective or curved surface, or with no clear margin around it.

Only the first two are a real expiry of the code. The others are a dead destination or a reading problem, and they affect static and dynamic codes alike.

How to tell which kind you have

Scan the code and look at the address your phone shows before you open it. Most camera apps display a preview of the link.

  • If it shows your own address, the code is static.
  • If it shows a short link on a domain you do not recognize, and you then land on your page after a redirect, the code is dynamic.

For plain text, WiFi and contact codes, the content is always in the pattern, so they are static.

If you find that printed material depends on a dynamic code, note which account it belongs to and when the plan renews. That is the date the code can actually stop.

How to make a QR code that lasts

  1. Decide on a destination you control. A page on your own domain is best, such as https://yourdomain.com/menu. Avoid encoding long links to files on services you might leave.
  2. Open the QR Code Generator and paste the address into the URL or Text box.
  3. Choose an error correction level. The generator starts on H, the highest, which gives a print the most tolerance for wear. Level M makes a simpler pattern for clean, indoor use.
  4. Pick colors with strong contrast. The Classic preset is black on white, the safest choice for print.
  5. Download SVG for printing or PNG for screens.
  6. Scan the result with at least two different phones, then scan the printed proof again.

The pattern you download contains the address you typed and nothing else, so no account or plan stands behind it.

Keep the destination alive

The code will outlast most websites. The work is keeping the address valid.

  • Use a short, permanent path on your own domain and keep it stable.
  • If the content moves, add a redirect on your own server from the old path to the new one. This gives you the main benefit of a dynamic code, a destination you can change, without relying on a QR provider.
  • Renew the domain, and set it to renew automatically.
  • Use https. Browsers show warnings on plain http pages.
  • Do not encode links with expiring tokens, session IDs or tracking parameters you do not need. Shorter addresses also make simpler codes that scan faster.
  • Keep the source SVG and a note of what the code contains, so it can be reprinted.

Print so it stays readable

A code that cannot be read is as dead as an expired one.

  • Size: for print read at arm's length, about 2 cm (0.8 in) across is a common minimum. A rule of thumb for signs is one tenth of the scanning distance.
  • Margin: keep clear space around the code, free of text and borders.
  • Contrast: dark modules on a light background. Avoid light colors on dark, and avoid glossy lamination where reflections hide modules.
  • Surface: flat is best. On bottles and cups, keep the code small enough that it does not wrap far around the curve.
  • Outdoors: use UV-resistant print and the H error correction level, since sun fading and dirt are the usual killers.

For the details of how error correction repairs a damaged code, see how QR codes work.

Try it

Paste a link you control into the QR Code Generator, keep error correction on H for print, choose a high-contrast color preset, and download the SVG. The code holds your address directly, so it keeps working for as long as that address does.

Tools in this guide

Frequently asked questions

Do free QR codes expire?

A free static QR code does not expire, because the destination is stored in the pattern itself. Free dynamic codes are different: they point at the provider's short link, which may be switched off after a trial period or a scan limit.

How long does a QR code last?

A static QR code lasts as long as the printed image is readable and the content it points to still exists. The code has no built-in date or timer. A dynamic code lasts as long as the service behind its redirect keeps it active.

Why did my QR code stop working?

The usual causes are a destination page that was moved or deleted, a dynamic code whose subscription or trial ended, a domain that lapsed, or a print that is too small, damaged or low in contrast for cameras to read.

Can a QR code be changed after printing?

The pattern cannot be changed, so a static code always carries the same text. You can still change where it leads if it points to a URL you control, by redirecting that URL on your own website to a new page.

More random & generators guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵