QR Codes.In 1994, Masahiro Hara was working at Japanese car component company Denso Wave. Barcodes were already in use, he wanted a quicker system which could store more data. (Image credit: Denso Wave)
This is an archive article published on April 27, 2025
Premium

QR codes: How a Japanese engineer’s invention changed the world

UPI transactions hit Rs 24.77 trillion in value and 19.78 billion in volume in March 2025, showcasing how cashless payments using QR codes have caught on in India.

Updated: May 4, 2025 09:26 PM IST

When you enter a restaurant and ask for the menu, chances are you are told to scan a QR code with your phone to view and order food and drinks – no paper menu needed. Similarly, many people now scan a QR code daily to buy fish and vegetables from a local shop. Since the pandemic, QR codes have popped up everywhere: on payment apps, coconut water carts, and even billboards. They have become a signature of our digital lives, especially in India. But have you ever wondered where this pixelated black-and-white square comes from?

QR Codes. Masahiro was inspired by the board game Go and invented the black-and-white data square now used by millions of people every day. (Image credit: Desno Wave)

The story starts in Japan. It was 1994 and Masahiro Hara, who was working at Denso Wave, a Toyota car-parts subsidiary, got the idea to create the QR code. Hara, a lead in automobile manufacturing, was playing the ancient strategy game Go at work when he noticed the arrangement of the black and white stones on the board. The concept of placing black and white dots on a grid sparked the idea behind the QR Code, which stands for “Quick Response Code”.

Before QR codes

In the early 1990s, barcode scanning wasn’t new – it was already being used in Japan and other parts of the world. Barcode technology was first patented in 1949 by Joseph Woodland and Bernard Silver. Their patent described the basic structure of using pairs of lines to represent numbers – a method still used today. Interestingly, the first barcode didn’t include vertical lines at all; instead, it used a series of concentric circles.

QR Codes. Barcodes had been used to track parts, but the system was inefficient. (Image credit: Denso Wave)

Woodland and Silver initially struggled to get companies interested in their invention. But that changed in the 1960s, when engineer and physicist Theodore H Maiman built the first working laser, making it possible to quickly decode a barcode’s line patterns. The first official barcodes soon began to be adopted in some industries. However, a major issue emerged: different stores in the US launched barcode pilot projects using vastly different types of barcode symbols.

By the late 1960s, grocery stores across the US were facing challenges such as rising labour costs and difficulties in tracking inventory. Barcodes were seen as the ideal solution to automate the process – but only if everyone in the industry agreed to use the same symbol. To address this, the industry formed an ad hoc committee in the early 1970s to develop a workable barcode system. This committee created the Universal Product Code (UPC), which was designed to be compatible with different types of barcode symbols.