Tracking and analytics

What is a QR code, and how do static and dynamic codes differ?

Definition

A QR code is a square barcode a phone camera turns into a web address. A static code holds the final address and can never change; a dynamic code holds a short link that can be pointed at new content and counts scans.

Also called: Quick response code, Static QR code, Dynamic QR code

How does a QR code work?

A QR code stores text, usually a web address, as a grid of dark and light squares. A phone camera reads the pattern, decodes the text and offers to open the address. The three large squares in the corners tell the scanner where the code is and which way up it is, and built-in error correction lets it read a code that is slightly scratched or partly covered, which is why a small logo in the middle can still work.

What is the difference between a static and a dynamic QR code?

A static code holds the final address itself, so it can never change; a dynamic code holds a short link that a service forwards to the real destination.

Because a dynamic code passes through the service first, the service can count scans and you can point the code somewhere new without reprinting. It works much like a URL shortener. The trade-off is dependence: if the service stops forwarding, for example when a plan ends, every printed copy stops working at once. A static code keeps working as long as the address inside it does, but nothing counts the scans for you and you cannot change where it goes.

Do QR codes expire?

The code itself never expires, because the address is stored in its pattern. What stops working is the address behind it: a page that moves, a file that is deleted, a link that is renamed or a dynamic code whose forwarding is switched off. That is link rot on paper, and it costs more than a dead link in an email, because you cannot edit a flyer that is already printed.

How do you print a QR code that scans well?

Print it dark on a light background, keep the white border around it and make it big enough for the distance people will scan from.

  • Scan a test print with your own phone before you print a batch.
  • Do not stretch the image out of square.
  • Add a few words next to it, such as "Scan for the menu", so people know what they will get.
Static vs dynamic QR codes
StaticDynamic
What it holdsThe final addressA short link that forwards
Change where it goesNoYes
Counts scansNoYes
Stops working whenThe address inside diesThe address dies or forwarding stops

QR code: common questions

Can you change a QR code after printing it?

Not a static one, because the address is part of the pattern. A dynamic code, or a code that points at a link whose file you can replace, lets you change what people see without reprinting.

Can you count how many people scanned a QR code?

Only if the scan passes through something that counts it, such as a dynamic code service or a link with a scan marker. A static code to a plain web address shows up only in that website's own visits, mixed in with everyone else.

Why is my QR code not scanning?

The usual causes are low contrast, a missing white border, a code too small for the distance, or a stretched image. Print dark on light, keep the border and test with your own phone first.

Does scanning a QR code need the internet?

Reading the code does not, because the phone decodes it with the camera. Opening the web address inside it does.

Is it safe to scan any QR code?

Treat it like a link from a stranger. Check the address your phone shows before you open it, and be wary of a sticker placed over the original code on a poster or a sign.

Go deeper

Updated

Share a file as a link in seconds

Upload any file and get one clean link, with every setting on this page.

Try Link in Seconds

Optional cookies for analytics, ads and session replay.