How to scan the barcode on the Xiaomi phone: all ways with a photo

Scanning of barcodes and QR-Xiaomi has become so simple that many users are unaware of the built-in capabilities of their devices. In 2026, you do not need to install third-party applications for this - you just need to know the hidden features. MIUI But how exactly does it work on different models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra?

In this article, we'll look at all the current ways to scan code, including the little-known tricks of the camera, Google Lens, and even the voice assistant, how to scan code from another phone's screen, from a photo gallery, or in low light conditions, and why sometimes a standard scanner doesn't recognize the code and how to fix it in 10 seconds.

1. Built-in scanner in the Camera app (fastest way)

All Xiaomi smartphones on the base MIUI 12 and later have a built-in code scanner right in the standard camera app, which works without the Internet and does not require the installation of additional programs. QR-codes in camera settings.

To activate the scan:

  • ๐Ÿ“ท Open the Camera app and switch to the main photography mode (not Portrait or Video).
  • ๐Ÿ” Point the lens over the barcode or QR-The distance must be 10-30 cm (for small codes - closer).
  • ๐ŸŒ Through 1-2 A notification will appear with a suggestion to click on the link or view the information.
  • ๐Ÿ‘† Tap the pop-up banner to open the code contents.

Open the "Camera" โ†’ Push it. โš™๏ธ "Settings" โ†’ Insert "Scanning" QR-code"|

Make sure the regime "AI-The camera is disabled (interfering with recognition)|

Check the camera's permission to access the Internet (for the purpose of QR-reference)-->

If the scanner is not working, check:

  • ๐Ÿ”ฆ Is there enough lighting (in low light use a flashlight).
  • ๐Ÿ“ฑ Clean camera lens (pollution interferes with focusing).
  • ๐Ÿ”„ Update the Camera app to the latest version via Google Play.
What if the camera doesnโ€™t recognize the code?
If the code is corrupted or too small, try: 1. zoom in on the camera (by pinching the gesture) 2. Enable Macro mode (if any on your model). 3. Take a photo of the code and scan it through the gallery (the method). โ„–3 in this article).

2. scanning through Google Lens (for the purpose of QR and barcodes with text)

Google Lens is a powerful tool from Google that not only recognizes codes, but also translates text, identifies plants and even solves mathematical examples. On Xiaomi smartphones, it is built into:

  • ๐Ÿ” Google app (magnifying glass icon on the home screen).
  • ๐Ÿ“ท Google Photos app (when viewing photos).
  • ๐Ÿค– Google Assistant (activated by long pressing the Home button).

Instructions for scanning through Google Lens:

  1. Open the Google app and tap the Lens (stylized camera) icon in the search bar.
  2. Point the camera at the code. Google Lens will automatically determine the type of code (QR, EAN-13, Code 128 et al.) and will offer action.
  3. For barcodes of goods, the service will show prices in online stores, reviews and analogues.
Type of codeWhat will Google Lens show you?Example of use
QR-referenceOffer to open the site in the browserScanning the menu at the restaurant
Barcode EAN-13Information about the product (name, brand, prices)Drug authentication
Data MatrixEncrypted data (serial number, date)Scanning of markings on spare parts
Wi-Fi QROffer to connect to the network without entering a passwordQuick connection to public Wi-Fi

๐Ÿ’ก

If Google Lens does not recognize the barcode of the product, try to scan it through the Yandex.Cheki application - it works better with Russian stores and shows checks from the Federal Tax Service.

Situation: you've photographed a barcode, but the original product is out of your sight, or the code is printed on paper that you can't bring to your phone, and the built-in scanner in the Mi Gallery app will help.

How it works:

  1. Open the photo with the code in the Gallery app.
  2. Tap the Lens icon (or Image Search) in the lower menu.
  3. If there is no icon, click on it. โ‹ฎ โ†’ Image search.
  4. The system will analyze the photo and suggest actions (clicking on the link, searching for goods, etc.).

Limitations of the method:

  • โŒ Does not work with highly blurred or over-lit photos.
  • โŒ Not all barcode formats are supported (for example, Code 39 may not be recognized).
  • โœ… Best scanned. QR-codes EAN-13/UPC-A (standard-code).

Xiaomi's built-in camera|Google Lens|Gallery annex|Party to the annex (Kaspersky, QR Reader)|I don't scan codes.-->

4. Specialized applications for complex codes

In 90% of cases, Xiaomiโ€™s built-in tools are enough to scan, but if you need to work with:

  • ๐Ÿท๏ธ Industrial codes (Data Matrix, PDF417).
  • ๐Ÿ” Encrypted. QR (password- or dynamically contented).
  • ๐Ÿ“ฆ Code packets (multiple barcodes in one image).

โ€” You'll have to install third-party software.-3 Proven applications for Xiaomi:

AnnexAdvantagesDeficiencies
QR & Barcode Scanner (by Gamma Play)I recognize 50.+ Formats, works offline, no advertisingPlugins for industrial codes paid
Kaspersky QR ScannerChecks links to viruses, blocks phishingRegistration is required for some functions
Barcode Scanner ProExporting Scan History to Excel, Support for Bluetooth ScannersA complex interface for beginners

How do you choose an app?

  • ๐Ÿ›ก๏ธ For security (payment under the QR, Account login) - Kaspersky QR Scanner.
  • ๐Ÿ“ฆ Products and logistics โ€“ Barcode Scanner Pro.
  • ๐ŸŒ For normal links and Wi-Fi โ€“ enough built-in scanner Xiaomi.

๐Ÿ’ก

The side of the app consumes more battery and requires additional permissions, only use them if the built-in tools fail.

5. Scanning through voice assistant (no hands)

Few people know, but the Google Assistant on Xiaomi can scan codes on a voice command, which is convenient when your hands are busy or your phone's screen is dirty.

Activate the assistant of one of the teams:

  • ๐ŸŽค ยซOkay, Google, scan it. QR-codeยป.
  • ๐ŸŽค ยซHey, Google, read the barcodeยป.

After activation:

  1. The camera will automatically turn on in scan mode.
  2. Hover the lens over the code - the assistant will voice the result (for example: "The code contains a link to the site example.ru.Open?").
  3. Confirm the action with a voice ("Yes"/"No").

Limitations:

  • โš ๏ธ It only works when connected to the Internet (voice commands are processed on Google servers).
  • โš ๏ธ Not all Xiaomi models support this feature (tested on Redmi Note 11 Pro)+, Xiaomi 13T, POCO F5).
  • โš ๏ธ For barcodes of goods, the assistant may not voice complete information (only basic data).
How to enable voice scanning if it doesnโ€™t work? 1. Check if Google Assistant is installed (download from Play Market if not). 2. Go to the Assistant settings
Settings โ†’ Voice assistant โ†’ Voice Match and enable option 3. Make sure the voice language is set in Russian (in the system language settings).

6.Scanning problems and errors (and how to fix them)

Even new Xiaomi smartphones sometimes have problems with code recognition, and here are the most common errors and solutions:

โš ๏ธ Note: If the crawler constantly redirects you to suspicious sites (for example, with a suggestion to enter card details), this may be phishing. QR-Close the page immediately and check the code through Kaspersky. QR Scanner.

Problem.Possible causeDecision
The camera doesn't focus on the codeDirty lens or poor lightingWipe the camera, turn on the flashlight, or use an external light source.
The scanner is not responding to QRDisabled function in camera settingsGo to the camera settings โ†’ Scanning. QR-codes and enable the option
The application gives an error "Inadmissible format"The code is corrupted or not maintainedTry scanning through Google Lens or specialized software
After scanning, advertising opens.Viral software or malwareRemove the last app installed and check your phone with antivirus

If none of these methods work:

  1. Restart your phone (sometimes helps with camera crashes).
  2. Update the firmware MIUI Up to the latest version (old versions have scanner bugs).
  3. Reset the settings of the Camera application (Settings) โ†’ Annexes โ†’ Camera. โ†’ Warehouse โ†’ Drop it).

7.Security: How not to run into scammers through QR-code

QR-Codes and barcodes have become a popular tool for fraudsters. According to Kaspersky Lab, in 2023, the number of attacks through the Internet is estimated to be high. QR It's 400%. Here's how to protect yourself:

Signs of danger QR-code:

  • ๐Ÿšจ The code is pasted over the official (for example, on payment terminals).
  • ๐Ÿšจ The link leads to the site with errors in the domain (for example, paypa1.com instead of paypal.com).
  • ๐Ÿšจ After scanning, ask to enter card data or logins from social networks.

How to check the code before scanning:

  1. Use links verification apps (Kaspersky) QR Scanner, Avast Mobile Security).
  2. Do not scan codes from suspicious sources (unknown leaflets, messages in messengers).
  3. Before the payment QR Check the recipientโ€™s details (some banking applications have a verification function).

โš ๏ธ In Russia from 2026 there is a law on the labeling of goods, according to which fake barcodes on drugs and tobacco can lead to a fine of up to 500 000 โ‚ฝ. Always check the codes through the official application "Honest Sign.

FAQ: Frequent questions about code scanning on Xiaomi

Can I scan the barcode from another phone?
Yeah, but there's nuance: ๐Ÿ“ฑ Nana AMOLED-screens (e.g. Xiaomi 13 Ultra) code can flicker โ€“ reduce the brightness of the source screen. ๐Ÿ”„ If the code is not scanned, take a screenshot and scan it through Google Lens in the gallery.
Why does Xiaomiโ€™s camera scanner not recognize codes in the dark?
In budget models (Redmi) 10A, POCO M5) There's no infrared filter for night photography: ๐Ÿ’ก Turn on the flashlight (Notification Panel) โ†’ Lantern). ๐Ÿ“ธ Use an external light source or scan the code during the day.
How to scan the code if the camera is broken?
If the main camera doesn't work, try: Use the front camera (in some models it also supports scanning), take a photo of the code on another phone and send it to yourself (scan through the gallery). Install the app QR Scanner, which works with image files.
Can I scan codes on Xiaomi without the internet?
Yes, but with limitations: โœ… The built-in camera scanner works offline for text QR-codes (Wi-Fi, contacts). โŒ For barcodes of goods (EAN-13) You need the internet (to get information from the database). โœ… Google Lens will only show recognized text in offline mode, without additional data.
How to keep the history of scanned codes?
Xiaomiโ€™s built-in scanner doesnโ€™t tell the story, but it can be customized: Install QR & Barcode Scanner (a function of exporting history to the Internet) CSV). Use Google Keep: Scan the code through Google Lens and save the result as a note.