Why moving notes from Xiaomi Cloud is a problem
Xiaomi Cloud Cloud storage is convenient for automatic note backup, but what if you decide to switch your smartphone to a different brand device or just want a local copy of data? Exporting notes from Mi Cloud is not as obvious a task as it might seem. Unlike photos or contacts, there is no two-click Download All button.
Complicating the problem, Mi Notes (a standard note-taking app on Xiaomi, Redmi and POCO) does not support direct export to popular formats like.txt or.md. Users face limitations: data is stored in a proprietary format, and the web version of the cloud does not provide tools for mass uploading. In this article, we will discuss all current methods of transfer from official to workarounds, including working with APIs and third-party utilities.
It is important to consider that since 2023, Xiaomi has changed its data storage policy: now default notes are synchronized only with the associated Mi Account, not with Google Drive. This means that standard backup methods via adb backup or Titanium Backup may not work.
Official way: export via Mi Cloud to PC
The most reliable method is to use the web version of Xiaomi Cloud on your computer, which is suitable for users who have enabled synchronization of notes in the cloud.
- Sign in to i.mi.com under your Mi Account.
- Go to the Notes section on the left menu.
- Select the note you want to save and click on three dots (โฎ) top-right.
- In the drop-down menu, click Export.
- The note is downloaded in.html format โ it can be opened in any browser or converted to.txt.
โ ๏ธ Note: This is a way to export notes one at a time, and if you have hundreds of notes, it takes hours to process, and the web version of Mi Cloud doesn't save attachments (photos, audio, checklists) -- they'll be lost when exported.
Is there a backup of notes in the cloud (check Settings โ Mi Account โ Xiaomi Cloud โ Notes)
Synchronization is enabled (the green icon next to Notes should be lit)
Is there enough space on your PC to download (one note in HTML weighs ~5โ50 KB)
Is the PC connected to a stable Internet (when the communication breaks, the process will have to start again)
-->
For mass export, you'll have to use alternative methods, which I'll talk about later, and if you only need to save text notes without attachments, this is a good way to do it, otherwise you'll have to look at ADB or third-party applications.
Exports via Mi Notes app on Android
If you have a Xiaomi/Redmi/POCO smartphone with the Notes app installed, you can try downloading data directly from the device, which works even without an internet connection, but requires root rights or using ADB to access system files.
Method 1: Backup through application settings
- Open the Notes app.
- Tap it on three points (โฎ) top-right โ Settings.
- Choose Backup and Restore.
- Click Backup and wait for the process to be completed.
The backup file will be saved in /sdcard/Miui/Backup/Notes/ in.backup format. It can be copied to a PC, but you wonโt be able to open it with standard means โ you will need a conversion.
Method 2: Retrieving a database through ADB (for advanced users)
The database of notes is stored in the file /data/data/com.miui.notes/db/notes.db. To extract it:
adb backup -f notes.ab com.miui.notes
adb pull /sdcard/notes.abThen unpack the archive with Android Backup Extractor and get a note.db file that can be opened via SQLite Browser.
๐ก
If you don't have ADB experience, use the MiXplorer app with root access enabled, which allows you to copy system files without the command line.
Transfer notes to iPhone or other Android-smartphone
If you want to transfer notes to a device from another brand (such as Samsung, iPhone or Google Pixel), you'll have to use intermediate formats.
On iPhone (iOS)
- ๐ฑ Through Google Keep: Export notes from Mi Notes to.txt, upload them to Google Keep via the web version, then install Google Keep on iPhone and sync.
- ๐ฅ๏ธ Through Evernote: Import.html files to Evernote on PC, then install the app on iPhone.
- โ๏ธ On iPhone, create an automatic script to convert.txt to Apple Notes (you will need to set up via the Shortcuts app).
On Android (not Xiaomi)
- ๐ Through Google Drive: Save notes to.txt, upload them to Google Drive, then open on a new device via Google Docs or Keep.
- ๐ Syncthing: Configure the synchronization of the exported notes folder between devices over the local network.
- ๐ฑ Using the Data Transfer app: Some manufacturers (such as Samsung) offer utilities for migrating from Xiaomi โ check if you have such an option in Settings โ Cloud and accounts.
iPhone.
Android is another brand.
On PC/Mac
To another cloud (Google Drive, Dropbox, etc.)
I just want a local copy.
-->
โ ๏ธ Note: When porting to your iPhone, note that Apple Notes does not support importing from.html or.db. You will have to manually copy text or use third-party converters, such as NoteExporter (available in the App Store).
Alternative methods: APIs and third-party utilities
If standard methods don't work (for example, because of a lot of data or a lack of synchronization), you can use informal tools. They require technical skills, but they allow you to automate the process.
1.Use of Xiaomi Cloud API
Xiaomi provides an undocumented API for working with the cloud.
- Get an authorization token through Mi Account (e.g., using the mi-auth script on GitHub).
- Send. GET-endpoint: https://api.io.mi.com/app/notes/list?limit=1000 Authorization: Bearer [your token].
- Process the answer in JSON format and save the data in a convenient way.
๐น Pros: You can unload all notes in one request.
๐ธ Cons: Requires Python or Postman knowledge, the token is valid for a limited time.
2. Backup applications
| Annex | Supported formats | Need root? | Cost |
|---|---|---|---|
| Swift Backup | .zip (includes database) | Yes. | Free of charge (Pro - 120) โฝ) |
| Titanium Backup | .tar.gz | Yes. | Paid (300) โฝ) |
| Mi Mover | Direct transfer to another Xiaomi device | No. | Free of charge. |
| NoteExporter | .csv, .json | No. | Free of charge. |
How to get around the export restriction in Mi Mover
Frequent Mistakes and How to Avoid Them
When transferring notes, users face typical preventable problems:
- ๐ด Sync error: If notes are not displayed in Mi Cloud, check if sync is enabled in Settings โ Mi Account โ Xiaomi Cloud โ Notes: Is there enough space in the cloud (free 5GB) or does it block a firewall or VPN Access to Xiaomi servers.
- ๐ด Empty exported files: This happens if the note contains only attachments (photos, audio) The solution is to manually save media files from the folder /sdcard/Miui/Notes/.
- ๐ด Mistake. ADB "device unauthorized: Make sure your smartphone is on USB-debugging and confirmed PC connection (pop-up window "Allow debugging?").
โ ๏ธ Note: If you use custom firmware (like LineageOS or Pixel Experience), the standard Notes app may not sync with the Mi Cloud, in which case the only reliable way is to extract the database through the use of the device. ADB or TWRP.
๐ก
Before any manipulation of notes, back up through Settings โ System โ Backup. This will allow you to recover data if something goes wrong.
Security: How to Protect Notes When Transferring
Data transfer is always associated with the risk of leakage of confidential information.
- ๐ Encrypt backups: Use them 7-Zip or VeraCrypt to create password-enabled archives with notes.
- ๐ Avoid public Wi-Fi: When downloading data from Mi Cloud, use mobile internet or VPN, prevent interception of traffic.
- ๐๏ธ Delete temporary files: After transferring, clear folders /sdcard/Download/ and /sdcard/Miui/Backup/, Where unencrypted copies may remain.
- ๐ Change your Mi Account password: If you have used it API or third-party utilities, update the password from the Xiaomi account.
If your notes contain passwords, card numbers, or document scans, consider transferring them to specialized managers like Bitwarden or 1Password, which support.csv import and provide strong encryption.
๐ก
For additional protection, export notes in.pdf with a password. This can be done through Microsoft Word (open.html โ save as.pdf with encryption) or online services like iLovePDF.