Why do QR codes work?
The short answer
A QR code stores data in small light and dark modules. Finder patterns help determine its orientation and size.
How it works
Error-correction data lets a code work even when some modules are dirty or covered, but too much damage prevents recovery.
A familiar example
The URL or content behind a QR code is not automatically safe, so check the destination before opening it.