Masahiro Hara, a barcode engineer at DENSO, created the QR code in 1994 after watching workers at car parts shipping sites in Japan read about 10 barcodes in a row for every single product. His code held about 7,000 numerals, could store Japanese kanji and read more than 10 times faster than other codes, according to DENSO WAVE. Since December 2025, the same squares have been used to log sales of glass eels in Japan, and DENSO expects about 10,000 users a year.
Reading all those barcodes, Hara recalled, was “more like a job” than making the product.
A boy who painted model tanks
Hara was born in Tokyo in 1957 and moved to Osaka at age 2. Teased for his Osaka accent back in Tokyo, he threw himself into plastic models, painting his tanks in his own camouflage, he said in a 2024 company interview. The Apollo 11 moon landing convinced him that the right technology makes anything possible. His father, also an engineer, held a patent on making electronic components.
At Nippon Denso, now DENSO, he landed in barcode research. A strict boss told the hardware designer that within 10 years nobody who could not do software would be needed, so Hara taught himself in secret.
Oil, bubbles and 20 characters
The QR project started in 1992, as the bubble economy burst. Carmakers had switched to many models in small runs, so shipping sites handled far more data per part. A barcode holds about 20 characters and becomes unreadable when smeared with oil. Customers also wanted kanji and kana, according to the development history on DENSO WAVE’s QRcode.com.
Hara had one teammate. Rival two-dimensional codes were in the works in the U.S., but Hara said they focused on holding more information and read accurately only about 1 time in 10. He gave his own team even odds: “I only had 50% confidence that we would succeed.”
Beer, a train window and a rare ratio
Speed was the wall, since a 2D code carries more and reads more slowly. Hara’s answer involved beer. Using a borrowed gadget that measures alpha waves, brain signals tied to relaxation, he found that two glasses of beer relaxed him more than a bath or a look at greenery.
On a day off, after some beer, he stared out of a train window at a building whose upper floors had a different pattern of windows from the lower ones. That gave him the idea of a unique mark that would tell scanners where the code was, so they could read it quickly. He also credits Go, the board game of black and white stones, and on Aug. 18, 2025, the Go association Nihon Ki-in named him a Go ambassador in Nagoya.
That mark became the three squares in the corners of every QR code. Their stripes needed a width ratio that almost never turns up in print, so Hara photographed newspapers, magazines and boxes page by page and left software measuring them overnight. One summer, the computer crashed and erased all his data.
About six months in, the ratio showed up: 1:1:3:1:1. “Without this ratio, there would have been no QR Code,” he said. It lets a reader lock on from any angle, and error correction lets a scanner rebuild what a smear of oil hides. DENSO WAVE, then a division of DENSO, announced the code in 1994, 18 months after the project began.
Giving the patent away, almost
Unsure buyers would drop barcodes, Hara went door to door at companies and industry groups, and automakers took the code up for electronic kanban, a tool for managing production. DENSO WAVE kept the patent but said it would not exercise it, and published the specifications. Hara said he is 100% sure that was the right choice, since no code spreads safely without devices and other infrastructure in place.
ISO made it an international standard in June 2000, and by 2002 Japanese phones could open a website or get a coupon with one scan. What surprised Hara most, he said, was seeing the code used for payment in Kenya and on bus stops in Africa.
He is now chief engineer at DENSO WAVE and won the Imperial Prize and the Japan Academy Prize in 2023. “Recently, I often say that there is nothing more powerful than low-tech,” he said. His advice for young engineers is that it is “rather lucky to fail.”
From mad cow worries to glass eels
Food was an early user. After the mad cow disease scare, DENSO WAVE writes, consumers demanded full transparency about how their food was produced and shipped. China now wants to digitally track retired EV batteries.
Glass eels are the latest. These young, nearly see-through eels are caught and sold on to eel farmers, and on Dec. 1, 2025, a Japanese law on sustainable trade in certain fishery products started to apply to them. A catcher or dealer has to log the date, a 16-digit catch or lot number, the amount and the other party for each deal, then keep it three years. Some dealers do more than 100 deals a day, DENSO noted in its Dec. 10, 2025 announcement.
In DENSO’s system, each catcher logs in with a QR code that produces a catch number, then keys in the amount sold. When the eels change hands, the dealer issues the buyer a new code that opens only what the next sale needs. Trials with mostly elderly traders in Kagoshima, Miyazaki and Aichi pushed DENSO toward simpler screens.
Eels are under strain well beyond Japan. In Spain, fishers in Galicia and Asturias fought a plan to list eels as endangered, and near Valencia, 2,000 eels that had swum 4,350 miles from the Sargasso Sea died in a dried-up river.
What the eel records will not prove
DENSO built a bookkeeping app, and its announcement says nothing about eel numbers in the wild. The 10,000 figure is DENSO’s own estimate, published only in a Japanese release.
The beer story is Hara’s own, told to DENSO’s media site, DRIVEN BASE, in an interview that reflects things as of May 2024. The full development history is on DENSO WAVE’s QRcode.com.
Photo: The Japan Academy / Wikimedia Commons, CC BY 4.0












