File & Image5 min read

QR Codes Explained: How They Work and Best Practices

Everything about QR codes — how they store data, error correction levels, size recommendations, and best practices for generating QR codes that scan reliably.

What is a QR Code?

A QR code (Quick Response code) is a two-dimensional barcode that can store various types of data — URLs, text, contact information, WiFi credentials, and more. QR codes can be read by smartphones, tablets, and dedicated scanners in any orientation.

How QR Codes Store Data

QR codes store data in a matrix of black and white squares. The data is encoded using Reed-Solomon error correction, which allows the code to be read even if part of it is damaged or obscured.

Error Correction Levels

LevelNameRecovery CapacityUse Case
LLow7%Clean environments, digital displays
MMedium15%General use (default)
QQuartile25%Industrial environments
HHigh30%Printed materials, damaged surfaces

Data Types You Can Encode

TypeFormatExample
URLPlain URLhttps://freeutil.app
Plain textPlain textHello World
Emailmailto:mailto:[email protected]
Phonetel:tel:+6612345678
SMSsmsto:smsto:+6612345678:Hello
WiFiWIFI:WIFI:T:WPA;S:MyNetwork;P:password;;
ContactvCardBEGIN:VCARD...

Best Practices

✓ Adding a logo to the center of a QR code is fine — use error correction Level H which allows up to 30% of the code to be obscured. Keep the logo area under 25% of the total QR code area.

TRY THE FREE TOOL

QR Code Generator

Generate QR codes for URLs, text, and more

Open Tool →
← Back to all articles