Guide

The history of the QR code

The QR code was invented by Denso Wave, then part of the Japanese car parts maker Denso, and announced in 1994. Engineer Masahiro Hara led the two-person team that designed it to track car parts. Denso Wave kept its patents but declared it would not exercise them, so anyone can make and read QR codes for free.

A factory problem

In the early 1990s, Denso's production lines tracked parts with barcodes, and a barcode holds only about 20 characters. The lines wanted more on each label, and they wanted Japanese kanji and kana too. Denso Wave set out to build a code that held more and could be read fast (Denso Wave).

How it was designed

Masahiro Hara led the work with one colleague. After a year and a half they had a code that held about 7,000 digits, and Denso Wave says it read "more than 10 times faster than other codes". QR stands for quick response.

The hardest part was letting a scanner find the code fast in a cluttered image. The team did, in Denso Wave's words, "an exhaustive survey of the ratio of white to black areas in pictures and symbols printed on fliers", looking for the pattern least likely to appear by accident. They settled on bands of dark and light in the ratio 1:1:3:1:1. That's the cross-section of the three big squares in the corners of every QR code, which our interactive explainer highlights.

The board game Go is the other part of the story, and the accounts differ. The popular version has the idea arriving over a lunchtime game. A profile from Hosei University, Hara's alma mater, puts it differently: what helped was his long love of Go, where you read a stone's position from the stones around it, and a missing or slightly misplaced stone doesn't matter. Denso Wave's own history doesn't mention Go at all.

The decision that made it everywhere

Denso Wave patented the QR code and then declared that it would not exercise those patents, a policy it says was in place from the start. Combined with open standards, that meant anyone could print or read a QR code without a licence. It's the main reason the QR code, and not one of the other 2D codes of the 1990s, ended up on phones, packaging and posters.

Timeline

YearWhat happened
1994Denso Wave announces the QR code
1997Approved as an AIM International standard (October)
1998Approved as a JEIDA standard, JEIDA-55 (March)
1999Becomes a Japanese Industrial Standard, JIS X 0510 (January)
2000Published as the international standard ISO/IEC 18004 (June)
2002Use spreads to the general public in Japan
2004Micro QR added to JIS X 0510 (November)
2006Second edition of ISO/IEC 18004
2011Approved by GS1 as a standard for mobile phones (December)
2014Hara's team named finalists for the European Inventor Award
2015Third edition of ISO/IEC 18004
2017iPhone's Camera app reads QR codes from iOS 11
2020The COVID-19 pandemic puts QR menus, check-ins and payments into daily life
2022Rectangular Micro QR (rMQR) approved by ISO, as ISO/IEC 23941
2024Fourth edition, ISO/IEC 18004:2024

The standards dates come from Denso Wave's standards page. At the 2014 award ceremony the QR code won the Popular Prize, decided by public vote (CORDIS).

From factories to payments

The jump from factories to people happened first in Japan, where phones could read the codes by the early 2000s. Elsewhere it waited until phone cameras read QR codes without an extra app.

Payments followed. India's UPI and Brazil's Pix both use QR codes for everyday transfers, and you can make a UPI QR code or a Pix QR code here. Shop checkouts are next: GS1, which runs product barcodes, has set an industry goal for checkout scanners to read 2D codes, QR included, by the end of 2027 (GS1). The barcode vs QR code page covers that change.

Denso Wave has added relatives since: Micro QR, iQR (2008), FrameQR (2014) and rMQR. None displaced the original, which is still the code every phone reads and the only kind made here.

Written by Last updated