A menu at a café. A ticket at a gate. A password passed between friends. Every day, a phone reads them in an instant, and almost nobody wonders why it is so fast. That speed began in 1992, when an engineer named Masahiro Hara got a request from the factory floor. Hara worked at Denso, the Japanese auto parts giant, on barcode scanners and optical character readers. The people who used his scanners on production lines wanted them to be faster. Hara looked at the problem and decided the scanner was not really the issue. The barcode was.
A traditional barcode, Denso explains, could hold only about 20 alphanumeric characters. Factories tracking thousands of parts needed far more, and they wanted codes that could also carry Japanese kanji and kana. So Hara set out to invent a new kind of code. His development team, Denso says, started with exactly two people.
Chapter OneSearching for the rarest pattern
A square code that could hold far more information than a barcode was only half the problem. The other half was speed. A scanner on a busy line has to find the code instantly, against a background cluttered with print, labels and logos.
Hara's answer is the part of the QR code you have looked at thousands of times without noticing: the three nested squares in its corners. Denso calls them position detection patterns. Their job is to shout "here I am" to a camera. To make sure nothing else in the world could be mistaken for them, the team surveyed printed matter, looking for the ratio of black to white that appeared least often.
1:1:3:1:1the black-and-white width ratio of the corner squares, chosen because it was the rarest pattern the team found in printed matter
About six months into the project, they found it: 1:1:3:1:1. Slice straight through the center of any corner square and you get that rhythm. After roughly a year and a half of work, Denso says, the code could hold about 7,000 numerals, along with kanji, and could be read more than ten times faster than other codes.
To be found instantly, the code had to look like nothing else in the world.

Chapter TwoQuick Response
Denso Wave, then a division of Denso, announced the code in 1994. It was named QR, for Quick Response. According to a 2024 Denso profile, it was named on August 8, Hara's birthday.
The first users were exactly who it was built for. The auto industry adopted it to manage parts with electronic kanban, the cards and labels that pace a Japanese assembly line. Food, pharmaceutical and contact lens makers used it to trace products from factory to shelf.
- 1992Masahiro Hara is asked to make faster scanners and decides a new code is needed.
- 1994Denso Wave announces the QR Code.
- 1997Approved as an AIM standard.
- 2000Approved by ISO as an international standard.
- 2002Phones with QR readers bring the code to the general public in Japan.
- 2014The development team receives the European Inventor Award Popular Prize.
Chapter ThreeWhat he took from Go
Popular retellings of the QR story often point to the board game Go, with its black and white stones on a grid, as a visual spark. In Denso's own 2024 interview, Hara talks about Go in a different way. For him, the game he loves taught a lesson about what to do with something valuable.
It is the same in GO (Japanese board game), which I like, but if you are too greedy, you will lose.
That philosophy shaped the most important decision in the code's history. Denso Wave published the QR Code's specifications. It kept its patent rights, but from the start, the company says, it declared that it would not exercise them. Anyone could make a QR code. Anyone could build a reader. No license fee, no permission needed.
No matter what you do, give a little to your opponent and take a little more than they take.
It is hard to overstate how much that choice mattered. Plenty of clever technical standards have died because they were locked behind licenses. The QR code went the other way. It became an ISO international standard in 2000, and when Japanese mobile phones began shipping with QR readers around 2002, it walked off the factory floor and into ordinary life.
Three squares in the corners. A whole world inside.

Chapter FourWhy it still matters
Think about the last week of your life. The restaurant menu you opened on your phone. The boarding pass at the gate. The Wi-Fi password a friend shared. The concert ticket, the parcel locker, the payment at a market stall. Each time, a camera found three little squares in a ratio picked because it almost never appears by accident, and then read everything in between.
Hara has said that the spread still surprises him. In Denso's 2024 profile, he talks about learning that QR codes were being used for payments as far away as Kenya.
I never imagined that they would become as widespread as they have.
In 2023, Hara received the Imperial Prize and the Japan Academy Prize, among the highest honors a Japanese scientist can receive. But the real monument to his work is something you carry everywhere: the moment your phone's camera recognizes a code before you have even finished pointing at it.

