The history of the QR Code: invented in a car factory and given away free
Date Published
The QR Code is over thirty years old and spent most of its life as an obscure industrial code used to track car parts. The story of how it reached restaurant tables involves a board game, an unusual business decision and a pandemic.
The problem: barcodes could not keep up
In 1994, at Denso Wave, a subsidiary of the Toyota group, the factory floor had a practical problem. A traditional barcode holds around 20 characters and is one-dimensional — the information lives only in the width of the bars. To track parts with serial number, batch and destination, operators had to stick several barcodes on the same label and scan them one by one.
Besides being slow, the process depended on aiming each code at the right angle. Multiplied by thousands of parts a day, the time cost was considerable.
The solution came from a Go board
The team led by engineer Masahiro Hara wanted a code that would hold far more information and be readable from any angle. The idea of using two dimensions — width and height — already existed, but there was a hard obstacle: how would the reader find the code quickly inside an image full of other things?
The answer came, according to Hara himself, while looking at a Go board during lunch: a grid pattern of black and white stones. What was missing was an unmistakable marker.
The team then analysed a large amount of printed material — advertisements, magazines, packaging — looking for which combination of black and white was rarest in real-world images. They arrived at the 1:1:3:1:1 ratio, the one forming the three big corner squares. Because that signature almost never appears by accident, a reader can locate the code instantly and also work out its rotation.
The result, released in 1994, held more than 7,000 digits and scanned ten times faster than a barcode. The name: Quick Response Code.
The decision that changed everything: not charging
Denso Wave patented the technology but made an unusual decision: it declared it would not exercise its patent rights. Anyone could create and read QR Codes without paying royalties, and the specification was published as an open standard, later standardised by ISO.
The bet was that broad adoption would be worth more than licensing revenue — the company would profit selling readers and equipment. It worked. Competing formats that charged licence fees never left their niches, while the QR Code became the worldwide standard. It is one of the most cited cases of an open standard winning by deliberate choice.
Two decades of almost-success
In the 2000s the QR Code exploded in Japan, where phones shipped with built-in readers. In the rest of the world the story was different and frustrating: you had to download a dedicated app to scan.
That friction killed countless campaigns. The advertiser put the code on the poster, the consumer had no reader, was not going to download an app while standing at a bus stop, and conversion sat near zero. By around 2013 plenty of people were declaring the technology dead.
What unlocked it: the native camera
The turning point was quiet and came from the operating system. In 2017, iOS 11 began recognising QR Codes directly in the iPhone default camera. Android followed shortly after.
Overnight, hundreds of millions of people had a reader permanently in their pocket without knowing it. The friction blocking adoption simply vanished.
2020: the acceleration
The pandemic did the rest. Paper menus became a health risk and restaurants worldwide moved to the code on the table. Tickets, receipts, entry forms, contactless payment: everything migrated at once.
In Brazil a second factor weighed just as heavily: PIX, launched in November 2020, adopted the QR Code as the main way to charge in person. An entire country learned to scan in order to pay.
The legacy
The original patent has expired, and the format remains open and free forever. Masahiro Hara has said in interviews that his greatest surprise was not the reach of the invention but the fact that it is used for things he never imagined — he designed a code to track car parts.
That is why generators like this one can exist without licensing anything from anyone. The whole specification is public, and the internal workings of the code can be studied and implemented by anybody.