Use the resources below to help you extract the wallet backup from your DeFi wallet. We recommend our clients use the Desktop Vault Extractor for simpler retrieval process.
Trust Wallet utilizes three backup methods: an encrypted iCloud backup, an encrypted Google Drive backup and an encrypted backup within the Chrome extension's local storage.
.ldb
files. Doing so could corrupt your backup.This method is the easiest if you've previously enabled iCloud backups within the Trust Wallet app.
.json
extension. This is your encrypted wallet backup. The filename will likely be a long string of letters and numbers. Example: Main Wallet.json
.json
file and select "Copy." Paste it to a safe location, such as a dedicated, password-protected folder on your computer or an external drive. Do not move the original file from iCloud Drive. This ensures you have multiple copies of your backup. This method retrieves the encrypted backup data stored within the Trust Wallet Chrome extension's local storage. You will need to use Google Chrome for this method.
chrome://version/
into the address bar and press Enter.Default
or Profile #
part of the path (e.g., Default
, Profile 1
, Profile 2
). You'll need this.egjidjbpglichdcondbcbdnbeeppgdph
. You will need this ID to locate the correct folder. Open Finder.
Go to Folder: Click "Go" in the menu bar, then select "Go to Folder..." (or press `Command + Shift + G`).
Paste the Path: Paste the following path into the "Go to Folder" dialog, replacing [YourUsername]
and [Profile Name]
with the correct values from your Chrome Profile Path (from step 1 in the General Steps):
/Users/[YourUsername]/Library/Application Support/Google/Chrome/[Profile Name]/Local Extension Settings/egjidjbpglichdcondbcbdnbeeppgdph
Example:
/Users/johndoe/Library/Application Support/Google/Chrome/Profile 2/Local Extension Settings/egjidjbpglichdcondbcbdnbeeppgdph
Press Enter: This will open the Trust Wallet extension's data folder.
Identify the .ldb Files: Inside the folder, you'll see several files, including some with the .ldb
extension.
Continue with Data Extraction (see "Data Extraction" section below).
Open File Explorer: Press Windows key + E
.
Paste the Path: Paste the following path into the address bar of File Explorer, _replacing_ `[YourUsername]` and `[Profile Name]` with the correct values from your Chrome Profile Path (from step 1 in the General Steps):
C:\Users\[YourUsername]\AppData\Local\Google\Chrome\User Data\[Profile Name]\Local Extension Settings\egjidjbpglichdcondbcbdnbeeppgdph
Example:
C:\Users\JohnDoe\AppData\Local\Google\Chrome\User Data\Profile 2\Local Extension Settings\egjidjbpglichdcondbcbdnbeeppgdph`
Press Enter: This will open the Trust Wallet extension's data folder.
Note: The `AppData` folder is often hidden. If you can't see it, you may need to enable "Show hidden files, folders, and drives" in File Explorer's View options. (View > Show > Hidden items)
Identify the .ldb Files: Inside the folder, you'll see files, including some with the .ldb
extension.
Continue with Data Extraction (see "Data Extraction" section below).
Open .ldb Files with a Text Editor: Use a plain text editor (like TextEdit on Mac, Notepad on Windows, or Gedit/nano/vim on Linux) to open one of the .ldb
files. Do not use a rich text editor like Microsoft Word.
Locate the Key Data: Within the .ldb
file, you'll see a lot of unreadable characters. You need to carefully search for the following two strings:
trust:pbkdf2
trust:vault
These strings are keys that identify the relevant data. The data immediately following these keys is what you need to extract
trust:pbkdf2
:
After this key, you'll find a JSON object containing the salt
. Copy the salt
value (a long hexadecimal string starting with "0x"). Example:
...trust:pbkdf2)a"{\"salt\":\"0x29c733b97efaa64e92713ff48c2044570e91d8b99611312a642a46dce0e15dca\"}"...
You would copy: 0x29c733b97efaa64e92713ff48c2044570e91d8b99611312a642a46dce0e15dca
trust:vault
:
After this key, you'll find another JSON object containing the encrypted data
, iv
, and salt
. Copy the entire JSON object. Example:
...trust:vaultÆ"{\"data\":\"xUxEUTuuzHa2ZyIJWyAtY3IwkjnwnfcrWfGfGtR2ivKrsHrndOfcec19IdP8oIQSp+bYqyR7lrHgylqWnSxHDKnQSrQkzCgl2QFHqr1gLKsv5CJeHIJ3PM4XoGFlhd7WQTwazK28E41aCNoUKfc+HPLd7diLVGO8iy5FQ+J5FFejQobjhnc=\",\"iv\":\"Id72StmIjvNi5fEAxYjqlA==\",\"salt\":\"TI1EZUKSCzIFnG+pu8hGauKoRgye5NGbnEJCJbw0JNQ=\"} ...
You would copy: {"data":"xUxEUTuuzHa2ZyIJWyAtY3IwkjnwnfcrWfGfGtR2ivKrsHrndOfcec19IdP8oIQSp+bYqyR7lrHgylqWnSxHDKnQSrQkzCgl2QFHqr1gLKsv5CJeHIJ3PM4XoGFlhd7WQTwazK28E41aCNoUKfc+HPLd7diLVGO8iy5FQ+J5FFejQobjhnc=","iv":"Id72StmIjvNi5fEAxYjqlA==","salt":"TI1EZUKSCzIFnG+pu8hGauKoRgye5NGbnEJCJbw0JNQ="}
Assemble the Final JSON: Create a new text file and combine the extracted data into a single JSON object, like this:
{
"salt": "0x29c733b97efaa64e92713ff48c2044570e91d8b99611312a642a46dce0e15dca",
"vault": {
"data": "xUxEUTuuzHa2ZyIJWyAtY3IwkjnwnfcrWfGfGtR2ivKrsHrndOfcec19IdP8oIQSp+bYqyR7lrHgylqWnSxHDKnQSrQkzCgl2QFHqr1gLKsv5CJeHIJ3PM4XoGFlhd7WQTwazK28E41aCNoUKfc+HPLd7diLVGO8iy5FQ+J5FFejQobjhnc=",
"iv": "Id72StmIjvNi5fEAxYjqlA==",
"salt": "TI1EZUKSCzIFnG+pu8hGauKoRgye5NGbnEJCJbw0JNQ="
}
}
Instructions for retrieving backups from Google Drive will be added in the future.