Reputation: 23161
Some websites show local storage being used (in Google Chrome: CTRL+I
, resources tab, Local Storage).
For example, StackOverflow has a "login-prefs" key with my default sign-in provider(?). So from what I can tell it is a json object.
Where on my computer would that data be stored (Ubuntu and Windows)? (or is it not stored once the browser is closed?)
Upvotes: 11
Views: 27149
Reputation: 1
Local storage data in Google Chrome is stored on your computer and persists even after the browser is closed. Here's where you can find it on both Ubuntu and Windows:
Ubuntu
Path: ~/.config/google-chrome/Default/Local Storage
Alternate Path (if using Chromium instead of Chrome): ~/.config/chromium/Default/Local Storage
Windows
Path: C:\Users<YourUsername>\AppData\Local\Google\Chrome\User Data\Default\Local Storage
Alternate Path (for Chromium): C:\Users<YourUsername>\AppData\Local\Chromium\User Data\Default\Local Storage
In these directories, you will find .localstorage and .localstorage-journal files which store the local storage data for various websites you visit.
Upvotes: 0
Reputation: 21
The exact path, regardless of the OS you are working on, can be found by typing chrome://version
in the search bar. In the Profile Path section, you can see the exact profile. For example, in my case it says /Users/<username>/Library/Application Support/Google/Chrome/Profile 2
Then, if you want local storage set by extensions, append Local Extension Settings/<extension_id>
. The extension_id can be found by typing chrome://extensions/
in the search bar, and in the tile describing your extension, you can see the id. That is, /Users/<username>/Library/Application Support/Google/Chrome/Profile 2/Local Extension Settings/<extension_id>
in my case.
If you want the general cookies of the browser, append Local Storage/leveldb
to the path. That is, /Users/<username>/Library/Application Support/Google/Chrome/Profile 2/Local Storage/leveldb
in my case.
Upvotes: 2
Reputation: 158274
on macOS, looks like it is in ~/Library/Application\ Support/Google/Chrome/Default/Local\ Storage/leveldb
Upvotes: 1
Reputation: 91
Google chrome store the local storage data on the following location:
\AppData\Local\Google\Chrome\User Data\Default\Local Storage\leveldb\006911.log
I use: windows 10 Version 62.0.3202.75 (Official Build) (64-bit)
Upvotes: 3
Reputation: 429
Local storage data is stored in your chrome profile(usually Default
) under Local Storage
%LocalAppData%\Google\Chrome\User Data\Default\Local Storage
Upvotes: 8
Reputation: 17174
There are two types of storage, key-value pairs are stored in a sqlite database and file are stored in your profile. This can change in future Chrome versions.
Upvotes: 4