The QR Code Was Invented to Track Car Parts

In 1994, an engineer named Masahiro Hara was working at Denso Wave, a manufacturing subsidiary of the Toyota Group, on a problem that had nothing to do with phones or menus: barcodes on the factory floor. A standard barcode held about 20 characters, so workers logging auto parts often had to scan the same box ten times over just to record everything inside it. Denso needed something that held more data and read faster, and nothing on the market did.

The breakthrough, as Denso Wave tells it, arrived during a lunch break. Hara played Go regularly, the board game in which black and white stones are set down on a grid, and looking at the pattern of stones one day, he saw that a two-dimensional arrangement of black and white squares could hold far more information than a line of bars — and unlike a barcode, it could be read from any direction. That single observation became the core structure of the QR code: a grid instead of a strip, anchored by three corner markers that gave a scanner a fixed sense of orientation.

The corner markers themselves were not arbitrary. Hara's team tested ratios of black-to-white stripes against thousands of printed materials — magazines, packaging, product labels — hunting for a pattern that essentially never occurred by accident. They settled on 1:1:3:1:1, distinctive enough that a scanner could isolate it inside a cluttered image in a fraction of a second. It's the reason a phone camera locks onto a QR code almost the instant it enters frame.

Denso Wave spent about eighteen months refining the format before releasing it in 1994 under the name QR code — quick response, a nod to how fast it needed to scan on the assembly line. It spread through Japanese manufacturing quickly. Then, in 1999, Denso Wave made the decision that shaped everything that followed: although the company held a patent on the format, it chose not to enforce royalties and let the specification become public. The QR code became a Japanese Industrial Standard that year, then an international one, ISO/IEC 18004, in 2000. From that point on, anyone could use it, for free, permanently.

For more than a decade afterward, QR codes stayed largely where they'd started: factories, shipping, warehouse inventory. Smartphones changed that. Once cameras improved and phones began recognizing QR codes natively, without a separate scanner app, the format found an obvious second life in marketing, packaging, and business cards — anywhere a business wanted a shortcut between print and the web. Mobile payments across East Asia pushed adoption further through the 2010s, well ahead of similar habits taking hold in the West.

Then came 2020. With indoor dining suddenly requiring contactless everything, restaurants replaced printed menus with a code taped to the table almost overnight. Vaccine passports, event check-ins, and contactless payments followed the same script within months. A format built to save Toyota's parts department a little scanning time in 1994 had become something nearly every phone owner on earth had scanned at least once — largely because, in 1999, one company decided not to charge for it.

Curious how the format actually stores that data? See how QR codes work under the hood, or skip ahead and make your own with a free QR code generator.

Put three decades of engineering to use.

Create a QR Code