A QR code often opens a website, so it is easy to assume the code itself requires internet access. It doesn't necessarily. Decoding the symbol and using its contents are separate steps.
What is stored in the pattern?
A QR code encodes text, numbers, or binary data as a two-dimensional pattern. With a working camera and decoder, the information in the symbol can be read without contacting a server.
| Encoded data | Decode offline? | What happens next? |
|---|---|---|
| Plain text | Yes | Text can be displayed offline |
| Website URL | Yes | Opening the website usually needs internet |
| Wi-Fi credentials | Yes | Connecting to the network is a separate operation |
| Payment or sign-in instruction | Yes | Verification typically needs a service or network |
Static and dynamic QR codes
A static QR code contains the actual text or address. After printing, the encoded content cannot be changed without replacing the code. So-called dynamic QR services generally encode an intermediate redirect URL. The provider can change the destination on the server, but the code now depends on that service remaining available.
The data can also be unsafe: a malicious QR may contain a phishing URL. Always inspect the destination before signing in, downloading an app, or making a payment.
Try a small experiment
Generate a text QR code and a URL QR code with ONSEMO QR Generator, then inspect them with ONSEMO QR Scanner. Offline decoding is a property of the QR format, not a promise that every web scanner works entirely offline. A web tool may need to download its scripts on first use.