Skip to main content
QR Codes

QR codes are just URLs in a trench coat (and what else is in there)

A QR code is a compact way to encode bytes, not a magic link format. Learn what it can hold, why error correction changes capacity, and how to generate links that people can trust.

Thien Nguyen
By Thien Nguyen
Updated May 30, 2026 · 1 min read

Most QR codes contain a URL because phones know what to do with one. But the squares encode bytes, not links: text, Wi-Fi credentials, calendar events, and payment payloads all fit the same container.

Short answer: a QR code stores data in a two-dimensional barcode with error correction. A URL is only a common payload. More error correction makes a code more tolerant of damage and less able to carry data.

PayloadExampleCaution
URLhttps://example.com/menuUse a domain people recognize
Plain textTable 14No action is implied
Wi-FiNetwork name and passwordTreat as sensitive data
CalendarEvent detailsTest across target apps

The practical rule: make it boring to scan

Keep the URL short, use a high-contrast dark-on-light code, leave the quiet white border intact, and test with the physical print size and expected camera distance. Decorative logos and tiny modules are where “works on my 4K monitor” becomes a failed poster.

A QR code hides the destination until scan time. Do not use it to make a suspicious redirect look legitimate; show a readable destination nearby when trust matters.

Use the QR code generator to test a payload before printing it. The code is not the product—the action after scanning is.

Cover photo by Pixabay on Pexels.

References

Primary documentation and specifications checked when this article was last updated.

QR CodesWebFundamentals

Related articles

All articles