← All posts
Digital Innovation

The Factory Code Nobody Wanted to Own: Inside the Real History of the QR Code

The Factory Code Nobody Wanted to Own: Inside the Real History of the QR Code

You have scanned a thousand of them. On a restaurant table, a parking meter, a poster, the back of a cereal box. The square little grid of black and white squares has become so unremarkable that it is easy to forget it was actually invented, by a specific person, to solve a specific and fairly unglamorous problem: a Japanese car-parts warehouse was running out of room on its boxes.

A barcode problem, not a smartphone problem

In 1994, Masahiro Hara was an engineer at Denso Wave, a manufacturing subsidiary of the Toyota Group. Denso's factories ran on kanban, Toyota's "just-in-time" production system, where parts are tracked obsessively so nothing sits idle and nothing runs out. The tracking tool of the era was the standard one-dimensional barcode, the kind still printed on a can of soda. The problem was that a single car part could need up to 20 of those barcodes stacked on a box to hold all the information a kanban system required, and workers were spending a meaningful chunk of their day just scanning them in sequence.

Hara's team set out to build something that could hold far more data in far less space, and that could be read quickly from any angle, since factory floor scanners don't always line up neatly with a label. The result, officially unveiled in 1994, was a two-dimensional code: a square grid with distinctive squares in three of its four corners that let a scanner instantly work out the code's orientation, size and rotation, even if it was printed on a curved surface or scanned sideways. Denso Wave named it the QR Code, for "Quick Response," and built in Reed-Solomon error correction, the same family of math used in CDs and satellite transmissions, so the code could still be read correctly even if up to roughly 30% of it was smudged, torn or obscured.

One detail that shows up in several retrospectives on Hara, though it's one he has described rather than something independently documented, is that part of the inspiration came from the board game Go, which he played during his lunch breaks. Looking at the black and white stones arranged on Go's grid is reportedly part of what got him thinking about using a two-dimensional pattern to encode information, rather than a line.

The patent nobody enforced

The decision that mattered most for the rest of the QR code's life wasn't technical at all. Denso Wave held the patent on the QR code, but the company made a now-famous choice: it would not exercise those patent rights against anyone using the standard format. That single decision is arguably why a code invented to track Toyota auto parts ended up on every menu on Earth. Had Denso Wave charged a licensing fee the way many barcode and data-matrix patent holders did, QR codes would likely have stayed a niche industrial tool, competing with half a dozen proprietary alternatives. Instead, the format became an open, free, international standard (ISO/IEC 18004), and any company could build a reader or a generator without paying anyone.

For roughly fifteen years after that, the QR code was still mostly a logistics curiosity, popular in Japanese advertising in the mid-2000s but never catching on globally, mainly because reading one required a separate app and a reasonably good camera, which most phones didn't have. The bottleneck wasn't the code. It was the hardware.

Why 2020 is really the QR code's second birth

Two things changed that. Smartphone cameras got genuinely good, and native QR scanning got quietly built into the default camera app on both iOS and Android around 2017. Then the COVID-19 pandemic made physical menus, shared pens and touched surfaces something businesses urgently wanted to eliminate. Restaurants, airports, clinics and transit systems around the world switched to QR-based menus, check-ins, vaccine certificates and contactless payments almost overnight, because the infrastructure, a camera everyone already carried, suddenly made it frictionless. A code designed in a Toyota factory to speed up parts tracking became, 26 years later, the default way humans exchange a link in person.

The UAE is still finding new uses for it

That second life is still expanding here. Khaleej Times reported in October 2026 that Dubai's RTA has rolled out QR-based ticketing across the Metro, buses and trams for commuters who don't have a physical Nol card: a rider can generate a one-time QR code through the Nol Pay or S'hail apps and scan it directly at the blue entry gates to start their journey, no card top-up required. It's a small operational change, but it fits a bigger pattern. RTA has separately been phasing its Nol card itself toward working more like a standard bank card, and Gulf News reported that DubaiNow, Dubai's unified government services app, processed roughly 5.7 million payments in 2025 while adding more than 70 new digital services, as part of the emirate's push to get cash transactions below 10% of all payments by the end of 2026. QR codes keep turning up as the cheapest, most device-agnostic way to bridge a physical touchpoint, a gate, a till, a poster, with a digital system, which is exactly the job Hara built them for in the first place, just on a very different kind of factory floor.

What's easy to miss in all of this is how unusual the QR code's path really is. Most ubiquitous technologies get that way because a company fights to own the standard and profits from the licensing. The QR code went the opposite direction: a Japanese auto-parts subsidiary built a clever piece of engineering, gave up its right to charge for it, and thirty years later it's the thing standing between you and a menu, a boarding gate, or a metro ride in Dubai.

Read next