What is a QR Code and How Does it Work?

In today's fast-paced digital world, QR codes are everywhere — from restaurant menus to product packaging, event tickets to payment apps. But what exactly is a QR code, and how does it manage to store and deliver information so quickly? This guide breaks it all down.

What Does QR Stand For?

QR stands for Quick Response. The format was invented in 1994 by a Japanese company called Denso Wave, originally to track automotive parts during manufacturing. The "quick response" name refers to the fact that the code can be decoded very rapidly by a scanner or camera.

Unlike traditional barcodes that only store data horizontally in a single line of varying-width bars, QR codes store data in two dimensions — both horizontally and vertically. This makes them capable of holding significantly more information in a smaller space.

What Can a QR Code Store?

A single QR code can store a surprising variety of data types, including:

  • Website URLs — the most common use case
  • Plain text — messages, instructions, or descriptions
  • Contact information — vCards with name, phone, email
  • Wi-Fi credentials — connect to a network by scanning
  • Payment links — used by apps like PayPal, Venmo, and local payment systems
  • App download links — direct users to the App Store or Play Store
  • Email and SMS — pre-filled messages ready to send

Numerically, a QR code can store up to 7,089 numeric characters or 4,296 alphanumeric characters — far exceeding what a traditional barcode can hold.

The Anatomy of a QR Code

At first glance, a QR code looks like a random grid of black and white squares. But each section has a specific purpose:

  • Finder Patterns — The three large square markers in three corners tell the scanner where the code begins and how it is oriented.
  • Timing Patterns — Alternating black and white squares that help the scanner determine the size of individual data modules.
  • Alignment Pattern — Helps scanners read larger or distorted QR codes accurately.
  • Data Modules — The actual encoded information stored in the black and white pixel grid.
  • Quiet Zone — A white border around the entire code that helps scanners identify where the code ends.

How Does Scanning Work?

When you point your smartphone camera at a QR code, the device captures an image of the code. The QR reading software then identifies the three finder patterns in the corners to understand the orientation and scale of the code.

Once orientation is confirmed, the software reads the data modules — interpreting the black and white pattern as binary data (1s and 0s). This binary data is then decoded into the original format, whether that's a URL, text, or any other data type.

Modern smartphones can complete this entire process in a fraction of a second, which is why QR codes feel so instant when you scan them.

Error Correction: Why QR Codes Still Work When Damaged

One of the most impressive features of QR codes is their built-in error correction. QR codes use a system called Reed-Solomon error correction, which adds redundant data to the code so it can still be read even if part of it is damaged, obscured, or dirty.

There are four error correction levels:

  • Level L — Recovers up to 7% data loss
  • Level M — Recovers up to 15% data loss
  • Level Q — Recovers up to 25% data loss
  • Level H — Recovers up to 30% data loss

This is why you often see QR codes with logos or artistic designs placed in the center — the logo takes up space, but the error correction ensures the code still works perfectly.

Static vs Dynamic QR Codes

Static QR codes have their data encoded directly in the pattern. Once generated, the destination cannot be changed. Our free QR code generator at Toolmetri creates static QR codes — perfect for personal use, sharing links, or printing.

Dynamic QR codes point to a short URL that can be redirected to different destinations. These are used by businesses and require a paid service to manage. They also allow you to track scan analytics.

How to Generate a QR Code for Free

You don't need any software or account to create a QR code. Toolmetri's free QR code generator works entirely in your browser — just type or paste your URL or text, hit generate, and download the PNG. No signup, no limits, no watermark.

Generate your free QR code now

No signup needed. Works in your browser instantly.

Open QR Generator