QR codes have become an integral part of everyday life: from paying for purchases to authorizing services. But when you need to quickly find a saved code on a smartphone, many users encounter difficulties. Where exactly does Android store QR codes? The answer depends on how the code was received: through a screenshot, a specialized application, instant messenger or system tools.
In this article we will analyze all possible places for storing QR codes on devices under control Android โfrom standard folders to hidden directories. You'll learn how to find codes in the gallery, where to look for them in the file manager, and why some QR codes may "disappear" after an OS update. We will also look at how to properly save and backup codes so as not to lose access to important information.
We will pay special attention to the differences between Android versions (from Android 10 to Android 14) and popular shells (MIUI, One UI, ColorOS). If you've ever lost a QR code for two-factor authentication or an event ticket, this guide will help you avoid the same situation.
1. Standard storage locations for QR codes in Android
Most QR codes on Android are stored in one of three places: gallery, folder with screenshots or application cache. Let's consider each option in detail.
If you took a screenshot of a QR code (for example, from the screen of a banking application or website), it is automatically saved in the folder Pictures/Screenshots or DCIM/Screenshots. On some devices (for example Xiaomi or Samsung) screenshots can be duplicated in cloud services - Google Photos or Mi Cloud.
- ๐ Gallery: folder
DCIM/Camera(if The QR code was photographed by the camera) orPictures. - ๐ผ๏ธ Screenshots: folder
Screenshotsin the root of the internal memory or on the SD card. - ๐ Application cache: temporary messenger files (WhatsApp, Telegram) or browsers (Chrome, Firefox).
It is important to consider that some applications (for example, Google Pay or SberBank Online) can save QR codes in protected folders that are not accessible through a standard file manager. In this In this case, you will have to look for the codes directly in the application itself.
โ ๏ธ Attention: On devices with Android 11+ access to folders of other applications is limited by default. To see the messenger cache, you will need root access or a specialized file manager. (for example, FX File Explorer).
2. Search for QR codes through the file manager
If the QR code is not displayed in the gallery, you can find it manually through the file manager. To do this:
- Open Google files (or any other manager, for example Solid Explorer).
- Go to the internal memory of the device (
Internal Storage). - Open the folders:
DCIM/Screenshotsโ for screenshots;Picturesโ for photos;Android/data/[application_package_name]/cacheโ for cache messengers.
qr, code, barcode.On devices with MIUI (for example, Redmi or POCO) the folder with screenshots can be called Screenshot (without ending s). On Samsung with the shell One UI screenshots are stored in Pictures/Screenshots, but are duplicated in Samsung Cloud.
| Manufacturer | Shell | Path to screenshots | Cloud backup |
|---|---|---|---|
| Samsung | One UI | Pictures/Screenshots |
Samsung Cloud |
| Xiaomi/Redmi/POCO | MIUI | DCIM/Screenshot |
Mi Cloud |
| Google Pixel | Stock Android | Pictures/Screenshots |
Google Photos |
| OPPO/Realme | ColorOS | Pictures/Screenshots |
OPPO Cloud |
On devices with Android 13+, screenshots containing QR codes can be automatically recognized by the system and offered for quick access in the notification panel ("Quick Actions" function). If this option is enabled, the code can be opened from the notification shade, without searching for a file in memory.
โ๏ธ Search for a QR code through the file manager
3. QR codes in messengers and social networks
Many users receive QR codes through instant messengers: WhatsApp, Telegram, Viber or VKIn this case, the codes are stored either in the chat or in. application cache. Let's look at the features of each service:
- ๐ฌ WhatsApp: QR codes are saved in the folder
WhatsApp/Media/WhatsApp Images. If the code was sent as a document, look for it inWhatsApp/Media/WhatsApp Documents. - ๐ Telegram: files are stored in
Telegram/Telegram ImagesorTelegram/Telegram Documents. In the chat settings, you can enable the "Save to gallery" option. - ๐ฅ Viber: media files are duplicated in
Viber/Media/Viber Images, but are only accessible through the app itself. - ๐ VK/OK: QR codes from dialogues are saved in the browser or application cache. To access, you will need a file manager with root access.
Important: Telegram QR codes sent as a โfileโ (not as a photo) are not displayed in the gallery by default. They can only be found through the file manager or the messenger itself.
If you deleted a message with a QR code, but it has not yet been cleared from the cache, try restoring it using applications like DiskDigger or GT Recovery. Please note that the chances of success depend on how much time has passed since deletion and how actively the device's memory has been used.
โ ๏ธ Attention: Files from chats are automatically deleted from the device memory when the application cache is cleared. To avoid losing the QR code, save it manually to the gallery or cloud. WhatsApp And Viber files from chats are automatically deleted from the device memory when the application cache is cleared. To avoid losing the QR code, save it manually to the gallery or cloud.
How to recover a deleted QR code from the messenger?
1. Install a recovery application (for example, DiskDigger).
2. Select the "Image recovery" section.
3. Specify the messenger cache folder (for example, WhatsApp/Media).
4. Find a file with a QR code (usually a PNG or JPG with a creation date corresponding to the time you received the code).
5. Save the recovered file to a safe place.
The success of the recovery depends on whether the data was overwritten by new files.
4. System QR codes: where codes for Wi-Fi, VPN and 2FA are stored
Some QR codes are generated by the Android system itself and are stored in secure sections. These include:
- ๐ถ QR code for connecting to Wi-Fi (available in the router settings or through the operator's application).
- ๐ Two-factor authentication codes (2FA). data-i="149">QR codes for linking accounts are stored in the encrypted database of the application. To export them, you will need: from Google Authenticator, Microsoft Authenticator or Authy.
- ๐ VPN configurations (for example, for OpenVPN or WireGuard).
These codes not saved in the gallery and are usually not available through a standard file manager. For example, in Google Authenticator QR codes for linking accounts are stored in the application's encrypted database. To export them you will need:
- Open Google Authenticator.
- Click on the three dots in the upper right corner โ
Export accounts. - Confirm the action via PIN or fingerprint.
- Select accounts for export and generate a QR code (it will be displayed directly in the application).
For Wi-Fi QR codes situation easier: on devices with Android 10+ you can generate a code directly in the settings:
- Go to
Settings โ Network and Internet โ Wi-Fi. - Select your network โ
Share. - Enter the PIN code or password of the device.
- A QR code will be displayed on the screen - it can be saved as a screenshot.
On some firmwares (for example, ColorOS from OPPO/Realme) The Wi-Fi QR code is generated automatically when you connect to a new network and is saved in Pictures/WiFi_QR.
If you need to transfer 2FA codes to a new device, use the export function in Google Authenticator or Authy Do not save screenshots of QR codes for authentication. in the cloud - this violates security!
5. Applications for generating and storing QR codes
If you actively work with QR codes, it is more convenient to use specialized applications. They not only generate codes, but also store them in an orderly manner. Popular options:
- ๐ฑ QR & Barcode Scanner (from Gamma Play) - saves scan history in
Android/data/com.gamma.scanner/files. - ๐ QR Code Reader (from Shopify) - exports codes to PDF or PNG.
- ๐ QR Code Generator (from QR Code Monkey) - allows you to create codes with logos and save them to the cloud.
- ๐ Authy - stores backup copies of 2FA codes in encrypted form (requires a password for recovery).
In most of these applications, QR codes are stored in their own database, and not in the gallery. For example, in QR & Barcode Scanner the scanning history is available in the Historysection, but the code files are not duplicated in the device memory. To save the code forever:
- Open the application and find the desired QR in the history.
- Click on it โ select
Save as imageorExport. - Specify the folder to save (recommended
Pictures/QR_Codes).
Some applications (for example, QR Code Generator) allow you to create dynamic QR codesthat can be edited after generation. Such codes are stored on the developerโs servers and are available via link, but require an Internet connection to work.
โ ๏ธ Attention: If you delete a specialized application for QR codes (for example, QR Droid), all codes saved in it will be lost if a backup copy has not been created before. uninstall, export the data!
6. How to reserve QR codes: clouds, archives and physical media
QR codes often contain critical information: access to accounts, transport tickets or payment confirmations. Losing such a code can result in serious problems. To avoid this, use the following backup methods:
| Method | Advantages | Disadvantages | Example |
|---|---|---|---|
| Cloud storage | Access from any device, automatic backup | Risk of data leakage, dependence on Internet | Google Drive, Dropbox |
| Local archive | Security, no dependence on the network | Risk of loss if the device breaks down | ZIP archive on SD card |
| Physical copy | 100% reliability, no risk of hacking | Can be lost or damaged | Printout on paper |
| Specialized applications | Easy search, additional functions (editing, history) | Dependency on one application | QR Code Generator, Authy |
For backup to the cloud:
- Save the QR code as an image (PNG or JPG).
- Upload the file to Google Drive, Yandex Drive or Dropbox.
- Create a folder with limited access (for example, "Private QR codes") and set up two-factor authentication.
For a local archive:
- Collect all QR codes in one folder (for example,
QR_Backup). - Archive it in ZIP with a password (use 7-Zip or RAR).
- Copy the archive to an SD card or external drive.
QR codes for two-factor authentication (2FA) should never be stored in the cloud in clear text. Use specialized managers like Authy or export them to an encrypted container (for example, via KeePass).
The most reliable one. way to reserve QR codes is a combination of cloud storage (for quick access) and local archive (for security).
7. Why a QR code can โdisappearโ and how to avoid it
Users often encounter a situation where a saved QR code suddenly disappears. The reasons may be different:
- ๐๏ธ Clearing the cache: many applications (for example, instant messengers) delete media files when clearing the cache.
- ๐ OS update: after major updates (for example, from Android 12 to Android 13) some system folders may be overwritten.
- โ๏ธ Synchronization with the cloud: if automatic deletion of local copies after uploading to the cloud is enabled in the gallery settings.
- ๐ฑ Factory reset: without backup, all local files will be lost.
- ๐ ๏ธ Memory optimization: Android can automatically delete rarely used files (function
Smart Storagein Google Photo).
To prevent the loss of QR codes:
- Disable automatic cache clearing for critical applications (for example, WhatsApp or Google Authenticator).
- Back up folders regularly
DCIM,PicturesandDownloads. - Use applications with an export function (for example, Authy for 2FA codes).
- Store the most important codes in several places (for example, in the cloud and on physical media).
If the QR code is all If itโs gone, try restoring it using utilities like Recuva (for Windows, if you connect the phone as a drive) or DiskDigger (for Android). Please note that the chances of success are higher if:
- A little time has passed since the deletion.
- No new files were recorded on the device. (photo, video).
- The memory has not been formatted.
โ ๏ธ Attention: On devices with Android 11+ access to folders of other applications may be required root access or ADB commands.
Frequently asked questions
Can I find a QR code if I did not save it, but scanned it through the camera?
If you scanned the QR code through the standard camera application (for example Google Lens), the scanning history is not saved. However, some manufacturers (for example Samsung or Huawei) add a scan log function to their shells. Check the section Camera settings โ Scan history.
If you used a third-party application (for example, QR Code Reader), check its history - usually the last 10-50 scanned codes are saved there.
Where the QR code for logging into Wi-Fi is stored on Android?
The QR code for connecting to Wi-Fi is not stored as a file - it is generated by the system in real time. To save it:
- Open
Settings โ Wi-Fi. - Click on your network โ
Share. - Enter your PIN code device.
- Take a screenshot of the displayed QR code.
On some firmware (for example, MIUI), the Wi-Fi QR code is automatically saved in Pictures/WiFi_QR.
How to transfer QR codes from one Android device to other?
Transfer methods depend on the type of QR code:
- Regular QR codes (images): copy files via cable, Bluetooth or cloud (Google Drive, Telegram).
- 2FA codes (Google Authenticator): use the export/import function in the application itself. In Authy you can synchronize accounts via the cloud.
- QR codes from messengers: send them to your chat on a new device or save them to the gallery.
For mass transfer, it is convenient to use a file manager with FTP support (for example, Solid Explorer) or ADB commands:
adb pull /sdcard/Pictures/Screenshots/ C:\QR_Backup\
Is it possible to restore a QR code if the phone has been reset to factory settings?
If there is no backup, the chances of recovery are minimal. However, try:
- Check cloud storage (Google Photos, Mi Cloud) if automatic synchronization was enabled.
- If the phone was connected to a PC, look for copies of files in folders
DCIMorPictureson your computer. - Contact the support service of the service for which the QR code was generated (for example, a bank or transport company). They may be able to resend the code.
For 2FA codes, recovery is not possible - you will have to unlink the old account and set up two-factor authentication again.
How to protect QR codes from theft or leakage?
QR codes may contain confidential information, therefore:
- Do not save them in public cloud folders (for example, Google Photos without access restrictions).
- Use applications with encryption (for example, KeePass to store 2FA backups).
- For particularly important codes (for example, crypto wallets), print them and store them in a physically protected place.
- Do not transmit screenshots of QR codes via instant messengers - it is better to use temporary links (for example, via Firefox Send with self-destruction).
If a QR code is used for authorization (for example, in a banking application), set up notifications for new logins and regularly check active sessions.