The History of QR Codes: From Toyota Factory Floor to Everywhere
QR codes weren't designed for marketing. They weren't designed for menus, business cards, payment apps, or any of the places they ended up. They were designed in 1994 to count car parts. The story of how they got from there to here is shorter and weirder than most people realize.
By the early 1990s, Japanese manufacturers had been using barcodes for two decades to track parts through assembly lines. Toyota's manufacturing system, with its emphasis on just-in-time inventory and traceable components, leaned on barcodes heavily. The problem was that traditional barcodes couldn't keep up with what Toyota wanted to do.
A standard one-dimensional barcode — the kind on the side of a cereal box — can hold about 20 characters of data. That's enough for a product number, but not much else. As cars became more complex and parts needed to carry more information, factory workers were scanning multiple barcodes per part to capture everything. Each scan took time. Time on a factory line is money. The system was hitting a ceiling.
The engineer who fixed it
Denso Wave, a subsidiary of Toyota, had a small team working on barcode replacement. The lead engineer was a man named Masahiro Hara. The team's brief was straightforward: design a code that could hold more data than a traditional barcode, that could be scanned faster, and that could be read reliably even in the messy conditions of a factory floor.
The conventional approach would have been to make the barcode bigger or denser. Hara's team went a different direction entirely. They went two-dimensional. Instead of encoding information as horizontal stripes, they encoded it as a grid of black and white squares. A two-dimensional code could hold dramatically more data in the same physical area — hundreds of characters instead of dozens.
The harder problem was making the new code as fast to scan as a barcode. Traditional barcodes have a clear left-to-right reading order. A two-dimensional grid doesn't — the scanner has to first figure out where the code is, how it's rotated, and which corner to start reading from. Hara's team needed a way to make orientation detection nearly instantaneous.
The corner squares
The solution came from an unlikely place. Hara was reportedly inspired by playing the Japanese board game Go, where black and white stones on a grid create patterns that the human eye can quickly parse for structure. He wanted scanners to do the same — to instantly recognize the orientation of a code from a few key visual landmarks.
The team studied the most distinctive visual patterns they could find — things that almost never appear in regular printed material like text and logos. They settled on a specific ratio of black-and-white-and-black bands (1:1:3:1:1) that was statistically rare in printed matter. Three of these patterns placed in three corners of the code give the scanner enough information to determine the code's position, rotation, and size in a single computational pass.
That's why every QR code has those three large square markers in the top-left, top-right, and bottom-left corners. They're not decoration. They're the orientation system, and they're the reason a QR code can be scanned upside down, sideways, or at an angle and still read in a fraction of a second. The fourth corner is left empty for the actual data.
Released in 1994
Denso Wave released the QR code in 1994. The name "QR" stands for Quick Response — referring to the speed of reading rather than anything about how the code is generated. The format was patented by Denso Wave, but in a decision that turned out to be enormously consequential, the company chose not to enforce the patent. They made the QR code an open standard that anyone could use without paying licensing fees.
This decision is the reason QR codes exist everywhere today. Had Denso Wave required licensing, the technology would have been confined to industrial applications and corporate adopters who could afford the fees. Instead, the format spread freely. Software libraries to generate and read QR codes proliferated. Equipment manufacturers built support into their scanners. The standard was eventually formalized as ISO/IEC 18004 in 2000.
For most of the next decade, QR codes remained primarily an industrial and Japanese phenomenon. They were used heavily in Japanese manufacturing, retail, and increasingly in marketing — appearing on Japanese product packaging, magazines, and billboards as early as the early 2000s. In the West, they were a curiosity that occasionally appeared but never quite caught on.
The smartphone bottleneck
The reason QR codes didn't take off in the West for so long wasn't the codes themselves. It was the scanners. To scan a QR code, you needed a phone with a decent camera and a dedicated scanning app. In Japan, where flip phones with QR support became standard early, this wasn't a barrier. In the West, the friction was just high enough that QR codes felt like a gimmick — by the time you'd downloaded a scanning app and pointed it at the code, you could have just typed the URL.
Marketers tried anyway. The early 2010s saw a wave of QR code campaigns in Western advertising — codes on billboards, magazine ads, product packaging — most of which failed. There was a particularly memorable era where ads would feature giant QR codes positioned so that you would have to be on a moving subway platform or scaling a building to scan them. They became a punchline.
Two changes flipped this. First, Apple added native QR code support to the iOS Camera app in 2017 with iOS 11. Suddenly, every iPhone owner could scan a QR code by pointing their camera at it — no app, no download, no friction. Google followed shortly after for Android. The bottleneck disappeared overnight.
Second, the world spent 2020 looking for ways to do things without touching shared surfaces. Restaurants needed contactless menus. Retailers needed touch-free product information. Health authorities needed contact tracing. QR codes were sitting there, ready, with universal phone support that hadn't existed even three years earlier. Adoption went vertical.
From utility to ubiquity
What's notable about QR codes' second act is how thoroughly they've embedded into daily life beyond the pandemic-era use cases. Mobile payment systems in China, India, and large parts of Asia now run on QR codes — Alipay and WeChat Pay alone process billions of QR-based transactions per month. Boarding passes are QR codes. Event tickets are QR codes. Authenticator apps generate QR codes to set up two-factor authentication. Restaurant menus stayed QR codes. Business cards are starting to.
The format that was designed to count car parts in a Japanese factory has quietly become one of the most widely-used data exchange standards in the world. It's been around for over thirty years. It works on every smartphone made in the last decade. It's free to use, with no licensing fees and no central authority to ask permission from. It encodes information in a way that survives partial damage, bad lighting, weird angles, and bad printing. And for most of its existence, almost nobody outside of industrial engineers had heard of it.
What this means for using them
Understanding the origin story is useful for using QR codes well today. The format was engineered for industrial conditions — factory floors, smudged labels, harsh lighting, fast scanning. The error correction, the corner orientation system, the high contrast requirement, the quiet zone — these aren't quirks. They're features built specifically to make the code work in adversarial conditions.
A QR code on a clean printed business card scanned in good lighting is operating well below its design tolerances. As long as you respect the basics — adequate size, good contrast, intact orientation markers, sufficient quiet zone — the code will work reliably. The technology has thirty years of industrial use behind it. The reason it usually just works is that an engineering team in 1994 spent a long time making sure it would.
Try the technology yourself
Generate a QR code in your browser using the same standard that started in a Toyota factory. Free forever, no signup required.
Open the Generator →