Where Xiaomi Stores Bookmarks: The Way to the Android Folder and How to Export Them

Have you ever lost important bookmarks after resetting your phone or reinstalling your browser? Xiaomi smartphones with MIUI firmware store bookmarks in hidden system folders, and their location depends on the browser used. In this article, we will discuss where exactly the bookmarks are physically stored in popular browsers (Mi Browser, Google Chrome, Firefox), how to access them through a file manager or ADB, and how to reserve them manually.

It is important to understand that bookmarks are not just β€œimages on the screen”, but records in databases (.db files) or JSON-Configurations. They can be copied, edited or transferred to another phone, but this will require root rights or special utilities. If you’re syncing with a Google or Mi Account, some bookmarks may be stored in the cloud, but local copies still remain on your device.

Next, we'll look at everything from simple browsing through browser settings to low-level access to system files. If you just need to export bookmarks, the first two sections are enough. If you want to understand how MIUI manages browser storage and why bookmarks sometimes disappear after updating the system, read the article to the end.

1. Where bookmarks are stored in the standard Mi Browser browser

Mi Browser is a proprietary browser from Xiaomi, preinstalled on all devices with MIUI. Its bookmarks are stored in two places:

  • πŸ“ The local database is a bookmarks.db file in the browser folder, and it contains all the saved pages, history, and settings.
  • ☁️ Cloud storage – if sync with Mi Account is enabled, bookmarks are duplicated on Xiaomi servers.

The path to the folder with bookmarks in Mi Browser:

/data/data/com.android.browser/databases/bookmarks.db

This file can be opened with any SQL-editor (e.g., editor, DB Browser for SQLite, but to access the folder /data/data/ Root rights or use will be required ADB. Without them, you will see a message "No access" even through the ES Conductor with Root Mode enabled.

⚠️ Note: If you delete or damage the bookmarks.db file, all local bookmarks in the Mi Browser will be lost. /data/data/com.android.browser/.

To view bookmarks without root rights, use the built-in export:

  1. Open Mi Browser.
  2. Click on the three dots in the upper right corner β†’ Bookmarks.
  3. Select Bookmark Management β†’ Exports.
  4. Bookmarks.html file will be saved in the Download folder.
πŸ“Š What browser do you use on Xiaomi?
Mi Browser
Google Chrome
Firefox
Other

2. Location of bookmarks in Google Chrome on Xiaomi

Google Chrome stores bookmarks differently than Mi Browser, which syncs with your Google account, but the local copy is still saved on the device.

/data/data/com.android.chrome/app_chrome/Default/Bookmarks

It's not a single file, but a folder with multiple configuration files, and the bookmarks themselves are stored in a Bookmarks file (without an extension), which is a file called the Bookmarks file. JSON-structure, so that you can read it:

  • πŸ” Use it. ADB Pull: adb pull /data/data/com.android.chrome/app_chrome/Default/Bookmarks
  • πŸ“„ Open the file in a text editor (for example, Notepad)++).
  • πŸ”„ To recover bookmarks, copy the file back: adb push Bookmarks /data/data/com.android.chrome/app_chrome/Default/

If sync with Google is enabled, bookmarks are automatically restored after reinstalling Chrome. However, a local copy may contain data that has not yet been synced (for example, if you added a bookmark without the Internet).

⚠️ Note: Bookmarks file is updated in real time.If you edit it manually, close Chrome before changing, otherwise the data may be overwritten.

To export bookmarks without root:

  1. Open Chrome β†’ Three Dots β†’ Bookmarks.
  2. Click on the three dots in the upper right corner β†’ Export bookmarks.
  3. File. bookmarks_<date>.html will be saved in the Download folder.

β˜‘οΈ Export of bookmarks from Chrome

Done: 0 / 4

3. Bookmarks in Firefox and other browsers

Mozilla Firefox uses its own bookmark storage system. On Xiaomi, the file path is:

/data/data/org.mozilla.firefox/files/mozilla/.default/bookmarkbackups/

Here is a random set of characters (user profile) in the bookmarkbackups folder, which stores backups of bookmarks in.jsonlz4 format. The last file (with the latest date) contains the actual bookmarks.

To get the bookmarks out:

  1. Copy the file via ADB: adb pull /data/data/org.mozilla.firefox/files/mozilla/.default/bookmarkbackups/

For other browsers (e.g. Opera, Yandex Browser), the paths will be similar, but with different packet names.

  1. Find out the name of the browser package (for example, through App Inspector in Settings β†’ Applications).
  2. Move to the /data/data/[Package name]/ and search for files with bookmark*, fav* or top_sites.
How to find out the name of the application package?
Open Settings β†’ Apps β†’ select your browser β†’ scroll down to the "Additional" section. There will be a "packet name" line (e.g. com.opera.browser).

4. How to Access Bookmarked Folders Without Root

If your Xiaomi doesn’t have superuser rights, there are a few ways to extract bookmarks:

  • πŸ”Œ Through ADB (without root: Connect your phone to your PC, turn on Debugging USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 press β†’ Additional settings β†’ For developers β†’ Debugging by USB) and do: adb backup -f backup.ab com.android.chrome This will create a backup of Chrome data that can be unpacked using Android Backup Extractor.
  • πŸ“± Through built-in export: Most browsers allow you to export bookmarks to.html or.json directly from the menu (see sections above).
  • ☁️ Through the Cloud: If sync with Google or Mi Account is enabled, bookmarks can be restored on another device or via a web interface (e.g. bookmarks.google.com).

There is another way to use Mi Browser:

  1. Go to i.mi.com and log in.
  2. Select the Browser section β†’ Bookmarks.
  3. Click Export to save the file to PC.

⚠️ Note: Backups created through adb backup may not include bookmarks if the browser does not include them in the backup.

πŸ’‘

If you lose bookmarks often, set up automatic export via Tasker or MacroDroid, for example, you can create a rule: "Export bookmarks to the cloud every week."

5.Why bookmarks disappear after MIUI update

Many Xiaomi users are faced with a problem: after updating MIUI bookmarks in Mi Browser or Chrome disappear.

Reason.ExplanationDecision
Browser data resetWhen you update MIUI, you sometimes reset the settings of pre-installed applications, including Mi Browser.Restore bookmarks from the cloud (Mi Account or Google) or backup.
Database version conflictBookmarks.db may not be compatible with the new version of the browser.Delete the bookmarks.db file (it will be recreated automatically) and restore the bookmarks from the export.
Synchronization errorIf synchronization is interrupted, local and cloud bookmarks may diverge.Turn off and enable synchronization again in your account settings.
Removal of the system cacheWhen clearing the cache through Settings β†’ Memory may suffer temporary browser files.Don’t use the β€œClean Everything” function – choose apps manually.

To minimize the risks:

  • πŸ”„ Export bookmarks manually (once a month) regularly).
  • ☁️ Enable sync with Google or Mi Account.
  • πŸ“± Before the update MIUI Make a backup copy through Settings β†’ The phone. β†’ Backup.

πŸ’‘

If your bookmarks are gone after the update, check the cloud (Mi Account or Google) first, and in 90% of cases they are restored automatically when you first start your browser.

6. How to edit bookmarks manually (for advanced)

If you want to change bookmarks directly (for example, remove unnecessary ones or add new ones without a browser interface), this can be done through database editing.

  1. Copy the bookmarks.db file on your PC:
  2. Open it in DB Browser for SQLite.
  3. Go to the Data Review tab β†’ bookmarks table.
  4. Edit the records (title columns – name, url – address).
  5. Save the file and return it back:

For Google Chrome, the process is more complicated because bookmarks are stored in binary format.

  • Export bookmarks to.html.
  • Edit the file in a text editor.
  • Import back through the browser menu.

⚠️ Warning: Incorrect editing of bookmarks.db can cause the browser to crash. Before making changes, back up the file and check it on another device.

If you want to automate backup, you can use the ADB script:

@echo off


adb pull /data/data/com.android.browser/databases/bookmarks.db C:\Backup\Xiaomi\Bookmarks\




adb pull /data/data/com.android.chrome/app_chrome/Default/Bookmarks C:\Backup\Xiaomi\Chrome\

Save this code to a file backup_bookmarks.bat And launch it once a week.

7. Alternative ways to back up bookmarks

If you don’t want to mess with ADB or manual export, there are simpler solutions:

  • πŸ“± Backup apps: Swift Backup (requires root) or Titanium Backup can save browser data, including bookmarks. The free version of Swift Backup allows you to backup without root, but recovery is possible only with superuser rights.
  • ☁️ Cloud services: Services like Raindrop.io or Pocket allow you to save bookmarks in the cloud and sync them between devices.
  • πŸ”— Account Sync: Enable bookmark sync in Google settings (Settings) β†’ Google β†’ Synchronization of the account β†’ Chrome or Mi Account (Settings) β†’ Accounts. β†’ Mi Account β†’ Synchronization).

For users who often reinstall firmware or test custom ROMs, the best option is automatic backup via Tasker:

  1. Install Tasker and AutoInput plugin.
  2. Create a task: Open Chrome. Click on three dots β†’ Bookmarks β†’ Export (simulate clicks via AutoInput). Copy a bookmarks.html file to the cloud (e.g. Google Drive).

Set the trigger on a schedule (for example, once a week).

πŸ’‘

If you use Mi Browser, enable Backup to Mi Cloud in your browser settings, which ensures that bookmarks are saved even when you reset your phone.

FAQ: Frequent questions about bookmarks on Xiaomi

Can I restore bookmarks after resetting the phone to factory settings?
Yes, if: You have enabled sync with Google or Mi Account (bookmarks will be restored automatically when you first log in to your account). You have a backup of the bookmarks.db file or an exported.html file. You have backupdated through Settings β†’ About Phone β†’ Backup (restore it after reset). If none of this was done, the chances of recovery are minimal.
Why is there no bookmark export feature in Mi Browser?
In older versions of the Mi Browser, the export function was hidden. In newer versions (MIUI 12 and above), it is available along the way: Mi Browser β†’ Bookmarks β†’ Bookmarks β†’ Bookmarks Management β†’ Export. If you have an older version, update your browser via Google Play or use ADB to retrieve bookmarks.db.
How to transfer bookmarks from Xiaomi to iPhone?
Portability: Export bookmarks to.html (via Chrome or Mi Browser). Send the file to your iPhone (for example, via AirDrop or Google Drive). On your iPhone, import the file via Safari (Settings β†’ Safari β†’ Bookmark Import) or Chrome. If you use Google Chrome on both devices, just log in to one Google account - bookmarks sync automatically.
Can I restore the deleted bookmarks?
Perhaps if: You have a backup of bookmarks.db or Bookmarks (for Chrome). You use Google sync, check the cart at bookmarks.google.com. Remote bookmarks have not yet been overwritten with new data (in which case you can try data recovery software like DiskDigger). Without a backup, the odds are extremely low, as bookmarks are stored in binary files that are overwritten with each change.
Where are the bookmarks stored in the guest or second user mode?
V MIUI bookmarks for each user are stored separately. The paths will be: For the main user: /data/data/com.android.browser/databases/bookmarks.db. For a guest or second user: /data/user_de//com.android.browser/databases/bookmarks.db. To find out ID_The command is: adb shell pm list users This will return the list of users from their ID (For example, UserInfo{10:Guest:30}, where 10 β€” it ID).