What Is a QR Code and How Does It Work?
How those square barcodes store information, why they exploded in use, and how to scan them safely.
What a QR code is
A QR code (short for 'quick response' code) is a type of two-dimensional barcode, a square pattern of black and white cells that stores information a device can read quickly. Unlike a traditional barcode, which holds data in one dimension (the widths of vertical lines), a QR code stores data in two dimensions, both horizontally and vertically, letting it hold much more information in a compact space. Point a phone camera at one, and it decodes the pattern into text, a web link, or other data almost instantly.
How it stores data
The grid of small squares (called modules) encodes data as a pattern of dark and light cells, which a scanner interprets as the ones and zeros of digital information. QR codes include distinctive large squares in three corners that help a camera locate and orient the code, so it can be read even at an angle or rotated. They also build in error correction, meaning a QR code can still be read correctly even if part of it is dirty, damaged, or obscured, a clever feature that makes them robust in the real world.
What they can contain
QR codes most often store a web link (URL), which is why scanning one typically opens a website, but they can hold many kinds of data: plain text, contact details, Wi-Fi network credentials, payment information, and more. This versatility is why you see them used for restaurant menus, event tickets, product packaging, payments, app downloads, and countless other purposes. The code itself is just a container; what happens when you scan it depends on what data it holds and how your device is set to handle it.
Why they exploded in use
Although QR codes have existed for decades, their use surged when smartphones gained the ability to scan them directly with the built-in camera app, no special app required. That removed the main friction. They offer a fast, contactless way to bridge the physical and digital worlds: instead of typing a long web address, you point and scan. This convenience made them especially popular for touchless menus, payments, and information sharing, and they are now a routine part of daily life in many places.
The security risks
Because a QR code hides its destination behind a pattern you cannot read with your eyes, it carries a real security risk: you do not know where it leads until you scan it. Scammers exploit this by placing malicious QR codes, linking to phishing sites or triggering unwanted actions, sometimes even pasting fake codes over legitimate ones in public. This tactic is sometimes called 'quishing' (QR phishing). The core danger is that scanning is an act of trust in an unreadable link.
Scanning safely
A few habits keep QR scanning safe. Most phones show a preview of the link before opening it, always glance at that URL and make sure it looks legitimate before proceeding, just as you would with any link. Be cautious with codes in public places, which could be tampered with, and skeptical of unsolicited codes urging urgent action. Avoid entering sensitive information on a site you reached via an unexpected QR code. Treated with the same caution as any link from an unknown source, QR codes are a convenient and useful tool.
Related on Skillo
See also: What is NFC and how tap-to-pay works, How to spot online scams: red flags.
Sources
Published date reflects the original event date (2025-08-12). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.
Written by
Skillo Staff
0 Comments
Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.