-->

Where is google chrome local storage saved?

2020-08-14 10:06发布

问题:

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?)

回答1:

Local storage data is stored in your chrome profile(usually Default) under Local Storage %LocalAppData%\Google\Chrome\User Data\Default\Local Storage



回答2:

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.



回答3:

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)