Why China can't get enough of QR codes

China's love of QR codes
China's love of QR codes

The world's second largest economy is on the fast track to ditching cash.

Hundreds of millions of shoppers in China increasingly use their smartphones to buy everything from designer handbags to street snacks. At the heart of the country's digital payments boom are QR codes, two-dimensional images made up of a series of black and white squares.

In the U.S. and Europe, QR codes (short for "quick response") never really took off. They are slowly becoming more common in social media apps: Snapchat (SNAP), Facebook (FB) and Spotify have been pushing their users to scan the barcodes to unlock new filters, add friends or access playlists.

But in China, QR codes are everywhere -- used by major retailers, street markets and even beggars and buskers.

Related: Pay with your face at this KFC in China

"The market is colossal and it is still growing," said Shen Wei, deputy director of the a research institute that specializes in QR codes. He estimates that more than $1.65 trillion of transactions used the codes last year, accounting for about a third of all mobile payments in China.

Tencent's (TCTZF) WeChat Pay and Alibaba (BABA) spinoff Alipay are the dominant mobile payment apps in China. People can use them to pay in a store by scanning a product's QR code or showing their personal code to the cashier. The money is deducted from mobile wallets that are usually linked to regular bank accounts.

'If you don't do it, you will lose out'

The codes are easy to create and use, making them popular with small retailers and street vendors who don't take credit cards, said Pan Helin, an economist at the Chinese Academy of Fiscal Sciences.

china qr code market

They've started cropping up in all kinds of situations.

In April, Chinese media carried photos of a bridesmaid in Beijing who wore a QR code around her neck to collect gifts of money for the bride and groom, reportedly upsetting the groom's mother with the unorthodox behavior. Chinese wedding guests traditionally hand over money in red envelopes, but the bridesmaid said wearing the QR code would help people who forgot to bring enough cash with them.

Related: How to land a job in China's booming tech sector

But because the codes are so simple and accessible, they are also vulnerable to scammers who can try to trick users into scanning ones that install viruses designed to steal money or personal information.

Business owners say they can't afford not to use QR codes.

"If you don't do it, you will lose out on revenue," said Alan Wong, an American businessman who owns 15 Japanese restaurants in Shanghai and Beijing.

Wong added QR code payments at his restaurants less than two years ago and says he expects them to account for 70% of transactions in the near future.

China qr code job fair

Business cards, bikes and bills

Beyond payments, the codes are now used for all sorts of services in China, like exchanging business cards and renting bikes.

Chinese authorities are also getting on board.

In Hangzhou, where Alibaba is headquartered, the local government has connected several public services to Alipay. Residents can now scan QR codes to pay for things like public transportation, utility bills and hospital visits. Other big cities have followed suit.

Related: China's 'dockless' bike sharing could be coming to a street near you

At the national level, China's Ministry of Industry and Information Technology is investing heavily in research into QR codes.

Analysts predict they will eventually be used for official documents such as birth certificates, visas and ID cards.

CNNMoney Sponsors