QR Code History: Who Invented It, Why, and How It Took Over
You've probably scanned a QR code this week. A menu, a Wi-Fi password, a payment at a small shop. It takes two seconds and nobody stops to think about it.
But that little square has a stranger backstory than you'd guess. It wasn't made for restaurants, phones, or marketing. It was made so a car parts factory could stop wasting time on barcodes.
Here's the whole story in plain language, from a factory floor in Japan to the phone in your pocket.
The problem that led to the QR code
Before QR codes, factories used normal barcodes, the striped kind you still see on groceries. They're good at one thing: holding a short number.
Barcodes couldn't hold enough
A regular barcode carries only a short string of characters, and it can't store Japanese Kanji at all. For a car supplier that needed to track lots of details about each part, that was a real limit. Workers sometimes had to scan several barcodes on a single item, one after another.
Factories needed speed and toughness
Barcodes also have to be scanned in a straight line, facing the right way. On a busy production line, parts get dirty, scratched and turned around. The company wanted one code that held more, read faster, and still worked when it wasn't perfectly clean or lined up.
Who invented the QR code?
The QR code was developed in 1994 at Denso, a Toyota group company. The unit that built it later became its own company, Denso Wave, in 2001. The engineer who led the work was Masahiro Hara.
Masahiro Hara and a small team
Hara led a small development team. Accounts differ a little on the exact timeline, but the project took roughly a year and a half to two years from idea to finished code.
The Go board idea
By Hara's own account, the idea came to him during lunch breaks playing Go, the board game with black and white stones on a grid. A grid made him wonder why data had to sit in a single line. A square could hold information across rows and columns, and that is how a code can carry so much more.
Those three squares in the corners
The harder part was helping a scanner find the code instantly. The team looked for a pattern that almost never appears in normal printing and settled on a dark, light, dark, light, dark sequence in a 1:1:3:1:1 ratio. They placed it in three corners.
Those are the big squares you see on every QR code. When a scanner spots them, it knows where the code is and how it's turned, so it can read from any angle. The name says it all: QR stands for Quick Response.
The finished code could hold thousands of characters, up to 7,089 digits in the largest version. It also has built-in error correction. At the highest level, a code can still be read with roughly 30 percent of it damaged, which is why you can put a logo in the middle of one.
Why the inventors gave it away
Here is the part that explains why QR codes are everywhere. Denso owns the patent. But it decided not to enforce it.
An open design on purpose
Denso Wave published the specification and let anyone make and read QR codes without paying a licence fee. The company has said it wanted the code to be used as widely as possible. Anyone could build a scanner or a generator, and soon many did. (Note: the name "QR Code" remains a registered trademark of Denso Wave).
Becoming an official standard
The code was approved as an industry standard by the AIM in 1997. In June 2000 it was published as the international standard ISO/IEC 18004. A published standard meant software makers and printer makers around the world could support it with confidence.
How QR codes got onto phones
For about eight years, QR codes stayed mostly in factories and logistics. Then cameras arrived on phones.
Japan goes first
In August 2002, Sharp released the J-SH09, widely recognised as the first mobile phone that could read QR codes. Other Japanese brands followed. People started pointing their phones at squares in magazines and on products to open websites.
The app problem
Outside Japan, things moved slowly. To scan a code, you had to find and download a separate scanner app, open it, and aim it correctly. For most people that was too much work for a link they could type in. QR codes stayed a curiosity in many countries.
The camera finally learned to read them
That changed in 2017, when Apple added QR code scanning to the iPhone camera with iOS 11. Android phones followed with built-in scanning through the camera and Google Lens. Once you could just open the camera and point it, the biggest obstacle was gone.
QR codes and money
While much of the world was ignoring QR codes, some countries were building payments around them.
In China, Alipay and WeChat Pay made scanning a code the normal way to pay, from big stores to street stalls. Other countries built their own systems, such as UPI in India, QRIS in Indonesia, and SGQR in Singapore.
It's a use the original team never planned for. A tool built to track car parts became a way to buy lunch.
How 2020 changed everything
Then came the pandemic. Suddenly nobody wanted to touch shared menus, paper forms or tickets.
Restaurants moved menus onto QR codes. Governments and venues used them for check-ins and contact tracing. Vaccination and health certificates were checked with a scan. Event tickets moved onto phone screens.
A lot of people learned to scan a code simply because they had to. And when restrictions ended, many businesses kept using them, because they were cheap, quick and easy to change. That's the year QR codes went from "occasionally seen" to "normal".
QR code timeline at a glance
- 1987: Code 49, one of the earlier 2D barcodes, appears. The QR code was not the first 2D code.
- 1994: The QR code is developed at Denso in Japan, led by Masahiro Hara.
- 1997: Approved as an AIM industry standard.
- June 2000: Published as the ISO/IEC 18004 international standard.
- 2001: Denso Wave becomes its own company.
- 2002: Sharp's J-SH09 becomes the first phone with QR code reading.
- 2017: iOS 11 adds QR scanning to the iPhone camera.
- 2020: The pandemic pushes QR codes into everyday life worldwide.
- End of 2027: GS1's industry goal for shop checkouts to read 2D codes.
Where QR codes are headed
What GS1 Sunrise 2027 really means
You may read that barcodes will disappear by 2027. That's not quite right. GS1, the group that runs barcode standards for products, has an industry goal called Sunrise 2027. The aim is for shop checkouts to be able to read certain 2D codes, including QR codes that carry a product's GS1 information, alongside the old barcodes by the end of 2027.
It is an industry goal, not a law, and the old barcodes won't vanish overnight. For a while, packages are likely to carry both. The attraction is that a QR code can hold the product number plus extras like ingredients or expiry details through a web link.
The downside: fake codes
Because QR codes are easy to make and print, scammers use them too. A sticker placed over a real code, or a code sent in a message, can lead to a fake site. The simple habit is to read the address your phone shows before you tap it. We've written a short guide on this: QR code security guide. You can also read our guide on scanning QR codes from screenshots.
Common questions about QR code history
When was the QR code invented?
In 1994, at Denso in Japan. Development took roughly a year and a half to two years before that.
Who invented the QR code?
Masahiro Hara, an engineer at Denso (now Denso Wave), led the team that developed it.
What does QR stand for?
Quick Response. The code was designed so scanners could read it fast, from any angle.
Is the QR code free to use?
Yes, anyone can create and scan QR codes for free. Denso Wave holds the patent but chose not to enforce it, though "QR Code" remains its registered trademark.
Was the QR code the first 2D barcode?
No. Earlier 2D codes existed, such as Code 49 in 1987. The QR code became the best known because it was fast, held a lot of data, and was free to use.
Final thoughts
The QR code's story is a good reminder that useful ideas often start small. It began as a fix for a slow factory line. It spread because its makers let everyone use it, and it took off once phone cameras caught up.
If you want to try one yourself, you can scan any code on our free scanner or make your own with the QR code generator. It takes less time than reading this post did.