I'm trying to figure out where and how Chrome saves local storage.
I found the following folder (in my home folder) that appears to contain local storage:
\AppData\Local\Google\Chrome\User Data\Default\Local Storage
In this folder, I see files corresponding to different URLs (files contain URLs in their names). For each URL, I see two types of files:
- LOCALSTORAGE file
- LOCALSTORAGE-JOURNAL File
I am interested in the local storage of one particular website. For this website, the LOCALSTORAGE file contains only 6 KB, and the LOCALSTORAGE-JOURNAL does not contain anything (0 KB).
On the other hand, when I open the website of interest in Chrome and then press F12, I see 6 different URLs in the local storage, and if I click on one of them, I will see key-value pairs.
So, what I see in the folder and in the Chrome development tool is incompatible. Why is this? How can I find the contents of local storage in directories? Or is it impossible?
google-chrome local-storage
Roman
source share