Where does Google Chrome save LocalStorage from Extensions?

I just had to format my Windows 7 system and start over, I made some backups of certain files/folders though and I am trying to find out where Google Chrome stores users data that extensions save, like which folder(s) I could look in to maybe recover some data for a certain extension I had?

6 Answers

Looks like it's %LocalAppData%\Google\Chrome\User Data\Default\Local Storage.

This looks about right...
(click for larger version)

3

As an update, the folder in the marked answer was no longer working for me. First I found out where the folder my Chrome profile was being stored by going to chrome://version and opening the location for Profile Path.

Once there, the local storage items I set in my location were stored in:

\Local Extension Settings\__extensionID__

4

On Mac OS X it's stored in your Chrome user profile directory:

~/Library/Application Support/Google/Chrome/<user-profile>/Local Storage/

commonly, the default with only one profile, that is:

~/Library/Application Support/Google/Chrome/Default/Local Storage/

Update: Thanks to @Barmar's comment that this has changed.

LocalStorage is now saved in the leveldb subdirectory as a set of .ldb files. The default path is now:

~/Library/Application Support/Google/Chrome/Default/Local Storage/leveldb

On my system the leveldb directory was created on Oct 8 2017 which is about a month after the 61.0.3163 release.

1

Some data from the extensions can be found in Local Storage folders (for each profile), these files have .localstorage/.localstorage-journal extensions and are in SQLite format. However, it's best to back up all files within Local Storage folder. See: How do I open `.localstorage` files from Local Storage folder?

Some other data are stored in LevelDB format under IndexedDB folders (for each profile). The file extension is .ldb, however, all files are needed from the *.indexeddb.leveldb folders in order to have consistent data.

See also:

On Windows XP, Vista and 7 (at least) this will be the path:
C:\Documents and Settings\administrator\Local Settings\Application Data\Google\Chrome\User Data\Default\Local Storage

Make sure you adapt the user part ("administrator") of the path to reflect your username.

It seems that the path in Answer is not working any more, use this path on Win7,8,10

C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\databases

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like