Scanned Every Day Around the World — the QR Code, a Small Invention Made in Japan
You scanned one of these squares somewhere today, too. On a restaurant menu, at a store checkout, on a plane ticket or a concert ticket, this small square of black dots has become part of everyday life all over the world. The name QR comes from the English words Quick Response. Yet few people know that this square was born in 1994, in a Japanese auto parts factory. The company that made it was Denso, and the engineers at its center were Masahiro Hara and Motoaki Watabe. It did not begin in a grand research institute, but on a factory floor wrestling with oil-stained barcodes.
The Factory Floor’s Cry for Help — Ten Barcodes on a Single Product
In the early 1990s, the auto industry was shifting from mass production to high-mix, low-volume production. As models and parts multiplied, the amount of information to be managed exploded, but the barcodes used on the floor could hold only about twenty alphanumeric characters. So workers lined up some ten barcodes on a single product and read them one by one. In Masahiro Hara’s words, “Reading them felt like more work than making the products themselves.” Reading several thousand labels a day wore the workers down, and when a barcode got dirty with oil, it could not be read at all. From the floor came a plea: “Do something — anything.”

Masahiro Hara was an engineer in charge of barcode research and development. He had graduated from the Department of Electrical and Electronic Engineering in the Faculty of Engineering at Hosei University, and in 1980 he joined Nippondenso (now Denso). Told by his boss, “In ten years, the computer age will be here. If you can’t do software, you’ll be no use,” he had taught himself software. The first barcode reader Masahiro Hara built after joining was turned away by supermarkets, whose people said their regular cashiers were faster. But 7-Eleven, then busy opening new stores, adopted it, saying it was easy for clerks who were not used to the register. Watching that sales management spread across the whole retail industry, Masahiro Hara became convinced that an age of technology handling far more information was bound to come. At first he tried to answer with a faster scanner, but he ran into the limits of the barcode itself. He also examined the two-dimensional codes that already existed overseas, but they took several seconds to read and were useless on the floor. The company’s finances had worsened, and the budget was not generous. Masahiro Hara set hardware development aside and decided to create the code itself, something that could be built with ingenuity alone. He gave himself two years.
Masahiro Hara and Motoaki Watabe
Masahiro Hara says, in an interview with the Asahi Shimbun, that in 1992 he asked his boss, “Let me build the world’s best code,” and began development. The work started in Denso’s application equipment technology division. At its center within Denso were Masahiro Hara and his junior colleague Motoaki Watabe. The project leader was Tadao Nojiri, and Takayuki Nagaya and Yuji Uchiyama of Toyota Central R&D Labs also took part. Masahiro Hara led the invention and Motoaki Watabe was mainly in charge of the software, and the two of them together also found the 1:1:3:1:1 ratio. The names of Masahiro Hara and Motoaki Watabe stand side by side as inventors on the basic QR code patent, and on the patent for the reading device, only these two names are listed as inventors. Masahiro Hara and Motoaki Watabe kept going, they say, talking of a dream: “Wouldn’t it be fun if this new code spread all over the world?” Part of what drove them was a streak of defiance, the wish to answer back to those who said that Japan — an auto parts company, of all things — could never create a code the world would use. The goal was clear: to read five times the information of a barcode, at the same speed as a barcode, 30 milliseconds. That goal of a “quick response” later became the basis of the name.
What Go Gave Them Was Not the Ratio, but a Way of Reading
The heart of the QR code is its three large squares, the finder patterns. A reader finds these squares first and grasps at once where the code is and which way it faces. At the starting point of this idea lies the game of Go. Playing Go at lunchtime, Masahiro Hara came to realize that even when a stone sits slightly off the center of a grid point, a person knows its position from its relation to the surrounding stones. What if the reading side corrected for the offset and read “approximately”? That thought became the origin of the structure that corrects distortion as it reads.
There are only three of the large squares, not four. If all four corners had one, there would be no way to tell which side is up. The empty corner becomes the signal that shows the direction.

It is often said that the finder pattern’s 1:1:3:1:1 ratio came from Go, but the story confirmed in Masahiro Hara’s own interviews is different. That ratio is something Masahiro Hara and Motoaki Watabe found by surveying printed matter wherever they could get hold of it. To find a ratio that barely exists in the world, they photographed more than 5,000 pages of printed material — forms and product boxes, newspapers and magazines — and measured the proportions of black and white. They examined the characters of the major writing systems as well, from kanji and the alphabet to the Korean and Arabic scripts, avoiding common ratios until they reached the rarest one, 1:1:3:1:1. It took about half a year from the start, and along the way a computer left running overnight once stopped, and all the data they had built up was lost.
The idea for the marker itself came from somewhere else. On a day off, drinking a beer and gazing out of a train window, Masahiro Hara noticed a building in which the arrangement of windows on the upper floor alone was different. “If there were a marker that said this is a QR code, it could be read quickly” — that was the moment. Because this ratio does not change no matter which direction it is read from, a machine instantly recognizes this square as a QR code, from the side or at an angle.
When a phone camera points at this square, it looks first for the three large squares. Because of these squares, it knows at once where the code is and which way it faces, even if the code is upside down or tilted. Then it reads the black-and-white pattern of the small cells in turn and turns it into letters and numbers; if part of the code is stained or torn, it calculates the missing portion from the remaining pattern and restores it. Here lies the secret of how the code is revived and read, within its set limit.
The finished code was read at the same speed as a barcode, while holding about 200 times the information. In its largest size, it can hold up to 7,089 numeric characters, 4,296 alphanumeric characters, and 1,817 kanji characters. For the same amount of information as a barcode, its size shrinks to one-tenth. Above all, true to a code made for factory use, it can be read even when dirty, within a set limit. Through a function called error correction, the person making the code can choose one of four levels, from 7% to 30%, and even if that proportion of the code is damaged, the original information is restored and read. The factory floor’s cry over oil stains is inscribed, just as it was, in the very middle of the specifications.

Its first job was production management for auto parts. In the same year, 1994, it also began to be used for product management on contact lens packaging.

Opening the Patents
Here this story reaches its turning point. Denso published the specifications of the QR code and declared that it would not exercise its patent rights on the technology covered by the standard. Masahiro Hara says: “I thought that if we wanted it to spread early, opening the patents was the right answer,” and “We decided from the beginning to offer it free of charge.” The company pictured its profit in the readers and systems that read the code. Once it became a code that anyone could use with confidence, standardization followed. In 1997 came the AIM international standard, in 1999 the Japanese Industrial Standard (JIS), and in June 2000 the international standard ISO/IEC 18004. The trademark on the name “QR Code” is still held by Denso Wave, but after the declaration that the rights would not be exercised, the patents expired as their terms ran out.
Out into the World
Betting tickets of the Japan Racing Association have been printed with QR codes since 2001. The first time Masahiro Hara met his own invention out on the street, it was a losing betting ticket discarded at a station. Seeing the QR code on it, he says, he was “deeply moved.”
In August 2002, the first mobile phone with a function for reading QR codes came out in Japan. Once reading alone was enough to reach a website or receive a coupon, the code left the factory and spread into the streets. Masahiro Hara also says he was moved, around that time, by the sight of high school girls in Harajuku reading QR codes printed in magazines with their mobile phones to get online. In the 2010s, smartphones lit the fire. In China, mobile payments in the last three months of 2017 reached about 37.7 trillion yuan (about 650 trillion yen). Even small shops and street stalls taking money through printed QR codes became an everyday scene. In 2020, during the COVID-19 pandemic, restaurants around the world brought in this square for contactless menus, and the National Restaurant Association reported that half of the full-service restaurants in the United States newly adopted QR menus.


The QR Code, Upgraded
The code did not end with its completion. Once anyone could read it, a problem arose: even a company’s internal information could be read by anyone. In 2007, Denso Wave created the SQRC, which holds public information and encrypted private information divided within a single code, and in 2011 it brought out an anti-copy QR code that cannot be copied with a copier. On the Toei Subway’s Asakusa Line, since 2019, cameras at the stations have been reading QR codes affixed to train doors to open and close the platform doors.
Awards and Honors
- 2000 — Chunichi Industrial Technology Award. Recipients: Tadao Nojiri, Masahiro Hara, and Motoaki Watabe (Denso Technical Review)
- 2002 — Masahiro Hara receives the R&D 100 Award in the United States
- 2014 — European Inventor Award, Popular Prize: Masahiro Hara, Takayuki Nagaya, and team (European Patent Office)
- 2016 — Selected for the 100 Innovations of Postwar Japan (Japan Institute of Invention and Innovation)
- 2020 — Ichimura Prize in Industry, main award. The developers were Masahiro Hara and Motoaki Watabe (Ichimura Foundation for New Technology)
- 2020 — The QR code is recognized as an IEEE Milestone, a first for the Denso Group
- 2022 — Denso receives the IEEE Corporate Innovation Award, for the development of the QR code and its spread around the world
- 2023 — Masahiro Hara receives the Imperial Prize and the Japan Academy Prize. The selection noted that, for a corporate researcher without a doctorate and with only seven published papers, even becoming a candidate was exceptional
- 2024 — Masahiro Hara receives the Chunichi Culture Award (Chunichi Shimbun)
- 2026 — Masahiro Hara receives the Asahi Prize for 2025 (Asahi Shimbun). At the presentation ceremony, Masahiro Hara named, as the reasons for its spread, an easy-to-read code and its evolution, the opening of the patents and standardization, and uses expanded together with users
How the Development Record Was Checked
The contents of this article were checked one by one against the Japan Patent Office’s official introduction page, the official development stories of Denso and Denso Wave, the official specifications of the Good Design Award, and press releases of the European Patent Office. Interview and lecture coverage in the Asahi Shimbun and the Yomiuri Shimbun was checked as well. Where a widely told explanation differs from the inventor’s own words — as with the common story that the ratio came from Go — this article distinguishes them on the basis of the inventor’s own interviews.
Videos
- TBS NEWS DIG (CBC Television official) — a 30th anniversary special on the development of the QR code, with an interview with Masahiro Hara himself: https://www.youtube.com/watch?v=Hv3YubgaW1g
- NHK Science ZERO — program page, “The Story Behind the Development of the QR Code”: https://www.nhk.jp/p/zero/ts/XK5VKV7V98/episode/te/XQ2RW6GJ16/
Words in This Article
- QR code: The initials of Quick Response. A two-dimensional code developed by Denso in 1994.
- Finder pattern: The three large squares in a QR code. They are the markers by which a machine finds the code’s position and orientation.
- Error correction: A function that restores the original information even if part of the code is dirty or torn. The level of damage it can tolerate can be chosen from four levels.
- Reed–Solomon code: The mathematical method used in error correction. It is also used on music CDs and the like.
- International standard (ISO): An agreement that brings standards that differ from country to country into one shared worldwide standard. The QR code was adopted as ISO/IEC 18004 in 2000.
- SQRC: A later form of the QR code that holds public information and encrypted private information, divided within a single code. It was developed by Denso Wave in 2007.
Sources
- Japan Patent Office, official introduction, “QR Code (Denso Wave)”: https://www.jpo.go.jp/news/koho/innovation/01_qrcode.html
- Denso official interview, “The Walls the QR Code’s Developer Overcame, and the Sources of His Ideas”: https://www.denso.com/jp/ja/driven-base/career-life/qr-hara_2408/
- Denso Wave official development story: https://www.denso-wave.com/en/technology/vol1.html
- Denso Wave official 30th anniversary page (timeline of standardization and spread): https://www.denso-wave.com/ja/system/qr/qr30th/
- Good Design Award official page (specifications): https://www.g-mark.org/gallery/winners/9e61831d-803d-11ed-af7e-0242ac130002
- European Patent Office press release (2014 European Inventor Award): https://www.epo.org/en/news-events/press-centre/press-release/2014/451738
- Denso official press releases (IEEE Milestone 2020 / Corporate Innovation Award 2022): https://www.denso.com/global/en/newsroom/news/2020/201007-g01/ · https://www.denso.com/global/en/newsroom/news/2022/20221202-g01/
- Asahi Shimbun 30th anniversary interview (March 26, 2024): https://www.asahi.com/articles/ASS3L5DZCS34ULZU00G.html
- Asahi Shimbun article on the Asahi Prize presentation ceremony (January 29, 2026): https://www.asahi.com/articles/DA3S16392789.html
- Yomiuri Shimbun lecture report (July 26, 2025; on the use on betting tickets and more): https://www.yomiuri.co.jp/local/chubu/feature/CO047031/20250725-OYTAT50070/
- Yomiuri Shimbun 30th anniversary explainer (July 14, 2024; on the Toei Subway platform doors and more): https://www.yomiuri.co.jp/economy/20240713-OYT1T50159/
- Akita Broadcasting System lecture feature (August 20, 2026; the Harajuku episode): https://news.ntv.co.jp/category/life/ab2c35c702f6b943eb94cef52587ae2e0b
- Engineering Academy of Japan, Chubu Branch lecture report (PDF; the gist of the Japan Academy’s selection): https://www-ie.meijo-u.ac.jp/~kawasumi/EAJC/chubu/PDF/EAJC-18_report.pdf
- Denso Wave press release on the anti-copy QR code (states the SQRC was developed in 2007): https://www.atpress.ne.jp/news/25426/print
MDJ Craft Select is made slowly, one story at a time — research, writing, and fact-checking done by hand. You can also leave a small tip here — the price of a coffee.