Skip to content
oqur

What is a QR code and how does it work?

What is inside the square pattern, how does the phone read it and how much can it hold? The basics of the QR code, its short history and its limits, in plain words.

The oqur team 2 min read The basics

A QR code is a two-dimensional barcode that writes information into a pattern of black and white squares. Its name comes from “Quick Response”: a phone's camera reads it in less than a second.

A short history

The QR code was developed in Japan in 1994 to track car parts on the production line. The aim was a code that holds far more information than a striped barcode and reads quickly from any angle. It became an international standard (ISO/IEC 18004) and stayed open for anyone to use.

It really spread around 2017, when phones' own camera apps started reading codes without a separate app. Today it is everywhere, from menus and payments to packaging and tickets.

QR Code is a registered trademark of DENSO WAVE.

The parts of the pattern

  • Position markers: The large squares in three corners. The phone finds the code with them and works out the angle it is looking from.
  • Alignment marker: A small square in bigger codes that helps reading on a tilted or curved surface.
  • Timing lines: Dotted lines between the position markers that measure the size of the modules.
  • Data modules: The information itself and the error correction data that protects it.
  • Quiet zone: An empty margin around the code, at least four modules wide. Without it the camera cannot tell where the code ends.

How much can it hold?

The most a QR code can hold depends on the kind of characters it carries:

ContentAt most
Digits only7,089 characters
Digits and capital letters4,296 characters
Any text (bytes)2,953 bytes

These figures are for the largest code (177 × 177 modules) with the lowest error correction. The more information, the denser the pattern and the harder it is to read when printed small. That is why a short link works best in practice; it keeps dynamic codes' patterns sparse.

How does the phone read it?

The camera first finds the three position markers, corrects the angle and tilt, then reads the modules one by one. It fills in missing or dirty parts with the error correction data. Then it works out what the content is and offers something: opening an address, joining a network or saving a contact.

The phone shows the address before opening it; reading it is a good habit. We explain why in fake QR codes.

Error correction

A QR code can recover its information even if part of its pattern cannot be read. There are four levels: L (about 7%), M (15%), Q (25%) and H (30%). The higher the level, the more damage the code withstands, but the denser its pattern. That is why codes with a logo use the highest level; details in QR code with a logo.

Static and dynamic QR

In a static code the information is inside the pattern and does not change. In a dynamic code the pattern carries a short link; where the link goes can be changed later and scans can be counted. We explain which to choose when in static vs dynamic QR codes.

In oqur

You can create codes with 24 QR types, from a website or a menu to Wi-Fi or a PDF. Static codes are free on every plan.

The oqur team ·

All posts

How to create a Wi-Fi QR code

Let guests join your network without typing a password: how to create a Wi-Fi QR code for free, use it safely and put it in the right place.

QR types2 min read

How to make a WhatsApp QR code

Let customers start a WhatsApp chat with you without saving your number: a WhatsApp QR code with a ready message, and where to use it.

QR types2 min read

QR code or NFC? Which one, and when?

Both take the phone to some information or a page. We explain how they differ in cost, distance and phone support, and which one to choose when.

The basics2 min read

Do QR codes expire?

Static codes never expire; dynamic codes depend on the service behind them. When does a code stop working, and how do you prevent it?

The basics2 min read

How to make an Instagram QR code

Win followers from your window, table card or packaging: two ways to make a QR code for your Instagram account, and when each one works.

QR types2 min read

QR codes on your own domain: why it matters

Use your own domain in your dynamic codes' short links: customers see your brand, trust it and spot fake codes more easily.

Features1 min read

Digital business card QR code: vCard or vCard Plus?

A QR code on your business card saves your contact details to the phone in one scan. We explain the difference between a static vCard and a dynamic vCard Plus, and which one to choose.

QR types2 min read

How to make a QR menu: a step-by-step guide

Set up a QR menu in five steps, from building the mobile menu to printing the table card, and stop reprinting when prices change.

Restaurants2 min read

Fake QR codes: what is quishing and how do you stay safe?

Scammers use QR codes too. How do you spot a fake code, and how do you protect your customers as a business?

Security2 min read

GS1 2D barcodes: a barcode at the till, a product page on the phone

A square code built to the GS1 Digital Link standard carries the product's GTIN and opens the product page when scanned with a phone. How it differs from the striped barcode, what can be written into it and how to plan the switch.

Products and packaging2 min read

Password-protected QR codes: only those who know the password get in

A staff handbook, a dealer price list or an invitation-only page: anyone can see the printed code, but only those who know the password open the content. When does it help, and what are its limits?

Security2 min read

How to create a QR code: a step-by-step guide

Choose what to share, enter the content, design it, download it and test it before printing: how to create a QR code in a few minutes, and whether to choose static or dynamic.

The basics2 min read

QR code analytics: what your scan data tells you

Total and unique scans, location, device and time: how to read your dynamic code's data, and how to tell which poster, table or package is working.

Features2 min read

Five QR codes for hotels and guesthouses

The Wi-Fi password, breakfast times, the evening menu, a guide in the guest's own language and a short survey at checkout: how to move reception's most asked questions to codes in the room.

Hospitality2 min read

Feedback QR code: collect customer opinions at the table

A star rating, a topic choice and a short comment: how a feedback QR code tells you about a problem before the customer is out of the door, and how to keep the form short.

QR types2 min read

Creating QR codes in bulk with a CSV file

Stop making codes one by one for hundreds of products, tables or staff: create them all at once from a CSV file, see the mistakes in a preview and download them together.

Features2 min read

QR codes on LED screens and digital signs

Showing a QR code on an LED panel at a restaurant entrance or a screen in the window is different from print: practical tips on size, pixels, brightness and timing.

Signs and screens2 min read

Coupon QR codes: run discount campaigns you can measure

The offer, the coupon code, the last day and the terms on one screen: how to set up a campaign with a coupon QR code, and how to see which distribution point is working.

QR types2 min read

How do you test a QR code before printing?

Finding out that the code does not scan after a thousand brochures leave the printer is an expensive mistake. Here is how to prevent it with a ten-minute test.

Print3 min read

QR for restaurant menus: 7 practical tips

Seven ways to use a QR menu without reprinting the menu when a price changes, and without tiring your guests.

Restaurants3 min read

Static or dynamic? Choosing the right QR type

We explain in plain words the difference between the two QR types, when each one works and what happens when your plan ends.

The basics3 min read

The ideal print size for a QR code

From business cards to building fronts: the easy way to work out how many centimetres a QR code should be, by distance, content and print surface.

Print3 min read

Last stop: your own QR code.

Open a free account and create your first code. No card needed.