I Need Barcode Try It Now

What Is a QR Code and How Does It Work?

What Is a QR Code and How Does It Work?
A QR Code can be scanned directly with a phone camera.Photo: Markus Winkler

A QR Code (Quick Response Code) is a square 2D barcode made up of small black and white squares. Unlike line barcodes, which store only a dozen or so digits, a QR Code can store website links, long text, phone numbers, contacts, and even WiFi network details.

The QR Code was developed in 1994 by Denso Wave, a Japanese company, to track vehicle parts in factories. Today QR Codes are used everywhere, from digital payments to restaurant menus, because they can be scanned directly with a phone camera.

Parts of a QR Code

  • Three large squares in the corners (finder patterns): help the camera locate the QR Code and determine its orientation, so the QR Code can still be read when scanned at an angle or upside down.
  • Alignment pattern: a small square that helps read QR Codes that are bent or viewed from an angle.
  • Data area: the small squares that contain the information you store.
  • Quiet zone: the empty space around the QR Code that makes it easy to separate from the background.

How much data can it store?

QR Codes come in 40 size versions. The largest version can store up to 7,089 digits or about 2,953 bytes of data. In practice, the less data you store, the larger the squares and the easier the QR Code is to scan. That is why a short link is better than a very long one.

Every QR Code is made up of small black and white squares.
Every QR Code is made up of small black and white squares.Photo: Mitya Ivanov

Still readable when damaged

QR Codes use error correction. There are four levels:

  • L: data can still be recovered if about 7% of the QR Code is damaged.
  • M: about 15%. This is the common, balanced choice.
  • Q: about 25%.
  • H: about 30%, suitable for QR Codes that will have a logo added or be printed in places that get dirty easily.

The higher the correction level, the more squares are needed, so the QR Code pattern looks denser.

What can you store in a QR Code?

  • Links to websites, online stores, or forms.
  • WiFi details, so guests can connect without typing a password. See the WiFi QR Code guide.
  • Digital business cards (vCard), email, SMS, and WhatsApp chats.
  • Map locations and event schedules.

Static and dynamic QR Codes

A QR Code created directly from data is called a static QR Code: its content is embedded in the image and cannot be changed, but it also never expires. A dynamic QR Code contains a short link owned by a service, which then redirects to your destination; the destination can be changed, but the QR Code will stop working if that service shuts down. For most needs, a static QR Code is enough and safer in the long run.

Want to try it? Create a free QR Code now, or read how to create a QR Code in 3 steps.

Frequently Asked Questions

Can a QR Code expire?

A static QR Code never expires because its data is embedded directly in the image. A dynamic QR Code can stop working if the service providing its link shuts down or the subscription ends.

How much data can a QR Code store?

The largest QR Code version can store up to 7,089 digits or about 2,953 bytes. However, the less data it holds, the easier the QR Code is to scan.

Can a QR Code still be read if it is partly damaged?

Yes. Thanks to error correction, a QR Code stays readable even when about 7% to 30% of it is damaged, depending on the correction level used: L, M, Q, or H.

0views