38

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?

37

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

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

3
  • 7
    for linux ~/.config/google-chrome/Default/Local Storage
    – Amit G
    Jan 27 '15 at 11:38
  • 1
    Is this documented? If I backup this folder and try to restore it next time, would it work?
    – Pacerier
    Mar 18 '15 at 16:20
  • 3
    For my developed extension loaded as CRX, the localstorage is on the \Local Storage\leveldb directory on the .ldb files. This post contains info about that files superuser.com/questions/1065771/…
    – edmundo096
    Sep 17 '17 at 18:03
10

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
  • 2
    It looks like this has changed a bit now. None of the files in that directory have been modified since 2017, but there's now a subdirectory leveldb with a bunch of .ldb files. Unfortunately, it's no longer set up as separate files for each domain.
    – Barmar
    May 8 '19 at 15:09
9

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
  • Could you share more please?
    – Alex S
    Aug 23 '15 at 18:21
  • @AlexS Sure, what would you like me to expand on?
    – NoR
    Aug 26 '15 at 18:21
  • @NoR, Odd, Local Extension Settings folder is empty for me.....
    – Pacerier
    Oct 12 '15 at 7:03
  • 5
    +1 for stating that chrome://version gives you your Profile Path. PS: In January 2017 on macOS LocalStorage SQLite DBs can be found in <chrome_profilepath>/Local Storage.
    – einjohn
    Jan 22 '17 at 17:07
3

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:

1

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.

0

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
  • Tip: Use %LOCALAPPDATA% instead of everything before Google
    – EricLaw
    May 25 at 17:11

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.