Guide

What is a QR code?

A QR code is a square barcode of dark and light squares that a phone camera can read in a moment. QR stands for Quick Response. It stores a short piece of text, most often a web address, though it can also hold Wi-Fi details, a contact card, a payment request or a plain message.

01Details

02Theme

03Logo

Optional

A QR code is text you can photograph

Everything a QR code does starts from a line of text written in squares. Here's what our generator writes into four everyday codes, and the size of code each one needs:

What it's forThe exact text insideGrid
A linkhttps://yourcafe.com/menu25 × 25
Wi-FiWIFI:T:WPA;S:Cafe Guest;P:espresso2026;;29 × 29
A UPI paymentupi://pay?pa=yourshop@okaxis&pn=Your%20Shop&am=500.00&cu=INR33 × 33
A contact cardBEGIN:VCARD … END:VCARD, 130 characters for a name, phone and email49 × 49

The phone reads the squares, rebuilds that text, and looks at how it starts. https:// means open a page. WIFI: means offer to join a network. upi://pay means hand it to a payment app. BEGIN:VCARD means offer to save a contact. Anything else is shown as plain text.

So a QR code doesn't connect to the internet, run anything, or know who scanned it. It's closer to a sticky note in a handwriting only cameras read quickly. The longer the text, the more squares it needs, which is why the contact card is twice as wide as the link.

To watch this happen square by square, our interactive explainer builds a code live as you type.

The parts you can see

  • Three big squares in the corners, the finder patterns. They tell the camera there's a code here and which way up it is.
  • A smaller square near the fourth corner, an alignment pattern, on every code bigger than the smallest (21 × 21) size. It helps when the code is curved or seen at an angle. The 25 × 25 link code above has one; the contact card has six.
  • The blank border, the quiet zone. It separates the code from whatever is printed around it, and cutting it off is a common reason codes fail. See quiet zone.
  • Everything else: the text, plus extra error correction data that lets the code survive scratches, smudges or a logo in the middle. See error correction.

Where it came from

Denso Wave, then part of the Toyota group's DENSO, released the QR code in 1994. A team led by Masahiro Hara designed it to hold far more than the barcodes of the time, including Japanese characters, and to be read fast, which is where "quick response" comes from. It became the international standard ISO/IEC 18004 in 2000, according to Denso Wave's own history. The longer story is in QR code history, and the differences from a supermarket barcode are in barcode vs QR code.

Why some QR codes stop working

The link row in the table above is a static code: your address is the text inside. Many paid generators make dynamic codes instead, where the text inside is the generator's own short link, which forwards to yours. That lets you change the destination later, but the code stops working if the company switches the link off, usually when payment stops.

Every code made on this site is static, so it works for as long as the address in it does. Static vs dynamic QR codes covers when the dynamic kind is worth paying for, and the glossary defines any other term you run into.

Questions people ask

Are QR codes free to use?

Yes. Denso Wave, which created the format, says in its QR code FAQ that no application, licence or fee is needed to use QR codes, including commercially, as long as you follow the ISO or JIS standard. "QR Code" itself is Denso Wave's registered trademark, which covers the word, not the pattern.

How much can a QR code hold?

The largest version, at the lowest error correction level, holds up to 7,089 digits, 4,296 letters and numbers, or 2,953 bytes of other text. Shorter is better in practice, because fewer characters mean bigger squares at the same print size. Versions and capacity has the full table.

Written by Last updated