Where the sessionStorage and localStorage stored?

OammieR picture OammieR · Dec 26, 2011 · Viewed 64.3k times · Source

Where are sessionStorage and localStorage stored on the client's computer?
Could you tell me the path?

Answer

NatureShade picture NatureShade · Dec 23, 2014

Firefox

Firefox stores localstorage in webappsstore.sqlite file in the profile folder.

Firefox (Windows XP):

C:\Documents and Settings\<Windows login/user name>\Application Data\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite

Firefox (Windows Vista and above):

C:\Users\<Windows login/user name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite

or:

%APPDATA%\Mozilla\Firefox\Profiles\<profile folder>\webappsstore.sqlite

Firefox on linux:

~/.mozilla/firefox/<profile folder>/webappsstore.sqlite

Firefox on mac:

~/Library/Application Support/Firefox/Profiles/<profile folder>/webappsstore.sqlite

or:

~/Library/Mozilla/Firefox/Profiles/<profile folder>/webappsstore.sqlite

Chrome

Chrome stores in separate files inside the Local Storage directory.

Chrome on windows:

%LocalAppData%\Google\Chrome\User Data\Default\Local Storage\

Chrome on linux:

~/.config/google-chrome/Default/Local Storage/

Chrome on mac:

~/Library/Application Support/Google/Chrome/<Profile>/Local Storage/

commonly:

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

Internet explorer:

I am a bit unsure, but think this will do the trick

%userprofile%\AppData\LocalLow\Microsoft\Internet Explorer\DOMStorage

Opera

As said by OammieR:

C:\Users\Administrator\AppData\Roaming\Opera\Opera\sessions\autosave.win

or as said by Kevin Hakanson:

C:\Users\Administrator\AppData\Local\Opera\Opera\pstorage\

Sources