Where are Firefox IndexedDB files stored?
Asked Answered
O

2

11

If I create an IndexedDB in Firefox 4, where are the files stored on my hard drive? Preferably for Win7, but the path is probably similar across OSes.

Oleograph answered 18/3, 2011 at 23:11 Comment(0)
E
12

This post suggests the following location:

C:\Documents and Settings\<username>\Application 
Data\Mozilla\Firefox\Profiles\<xxxx>.default\indexedDB\<databaseid>

The <xxxx>.default folder is your profile directory, which is where Firefox keeps basically everything.

Epigeous answered 19/3, 2011 at 0:26 Comment(3)
Thanks! That is the WinXP file path. Here is the Win7 file path: C:\Users[USERNAME]\Application Data\Mozilla\Firefox\Profiles[PROFILE_NAME]\indexedDBOleograph
Chrome on Windows 8.1: C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\IndexedDBPaterson
My Firefox 31 keeps it in &AppData%\Mozilla\Firefox\Profiles\ [PROFILE_NAME]\storage\persistent\ [ORIGIN]\idb\Linguini
M
1

In Firefox 105.x (2022), the indexedDB are in

C:\Documents and Settings\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<xxxx>.default\storage\default\<weborigin>\idb

The <xxxx>.default is the Firefox Profile directory. The <weborigin> is the tag describing the original website which produced the database.

Mcgannon answered 2/10, 2022 at 22:8 Comment(2)
Is the data encrypted? I cannot see the original value in SQLite tables like object_data. If it is encrypted, is there a way to edit it through SQLite instead of executing JavaScript code in Firefox DevTools?Caton
@Caton From my experience, it's not encrypted. If you have a problem to access the data, maybe you should ask a question on SO.Mcgannon

© 2022 - 2024 — McMap. All rights reserved.