The pattern of black and white squares explained — what's actually encoded, and why they're so reliable to scan.
QR codes went from a niche manufacturing tool to something scanned by millions of people daily — restaurant menus, payment links, event tickets, Wi-Fi passwords. The pattern looks random, but it's actually a carefully structured way of encoding data that's built to be scanned reliably even when partly damaged.
A QR code stores data as a grid of black and white squares, each representing binary information. Depending on the version and error correction level, a single QR code can hold anywhere from a short URL to several kilobytes of text — enough for a full Wi-Fi password and network name, or a complete contact card.
QR codes include built-in error correction — extra redundant data woven into the pattern that lets a scanner reconstruct the original content even if part of the code is smudged, torn, or covered by a logo. This is also why you'll often see a logo placed in the middle of a QR code without breaking it — the error correction absorbs that loss.
Those distinctive squares in three of the four corners aren't decorative — they're position markers that let a scanner instantly figure out the code's orientation and boundaries, regardless of the angle you're holding your phone at. That's part of why QR codes scan so much faster and more reliably than older barcode formats.
The QR Code Generator creates a QR code from a URL, plain text, or other data types, ready to download and use. A couple of more specific generators cover common use cases directly:
If you're printing a QR code, test-scan the printed version before distributing it widely — printer quality and paper texture can occasionally affect scannability in ways a screen preview won't show.
Most modern phone cameras can scan QR codes directly without a separate app, but if you need to scan one from your computer or an image file rather than pointing a camera at it live, the QR Code Scanner reads codes from an uploaded image.
Create custom QR codes for URLs, text, email, phone, SMS, WiFi, vCards, and locations.
Scan a QR code with your camera or by uploading an image.
Generate a QR code that connects devices to your WiFi network instantly.
Turn your contact details into a scannable digital business card.
A QR code itself is just data — usually a URL. The risk is the same as clicking any unfamiliar link: only scan codes from sources you trust, since you can't visually verify where a QR code leads before scanning it.
It depends on the version and error correction level, but a standard QR code can typically hold up to a few thousand characters of text.
A standard QR code encoding text or a fixed URL doesn't expire on its own — it will keep working as long as the underlying content (like a webpage) still exists.
Email and text messages sit in plaintext in your history forever. Here's a better way to hand off a password or API key just once.
AES protects everything from your WiFi traffic to your password manager. Here's what it actually does, without the cryptography degree.
Hashes show up in password storage, file verification, and git commits alike. Here's the one idea that explains all of it.
"Random" is doing a lot of work in that sentence. Here's what actually makes a generated password strong, and what still makes it weak.