Firefox browser Profile files and folders
Any changes made by you to your Firefox browser like your home page, extensions installed, or passwords saved are readily stored in a special folder, called a profile. This profile folder is stored in a separate place from the Firefox program so that, if something ever goes wrong with Firefox, you can easily recover it. Firefox browser, by default, stores your profile folder at this location on your computer – It further contains additional files and folders some of whose roles are described briefly below.
Bookmarkbackups
As the name suggests, the folder stores bookmark backup files, which can be used to restore your bookmarks. A file – favicons.sqlite file contains all of the favicons (a shortcut icon for your Firefox bookmarks). So, you should keep a backup of it if you are interested in saving your bookmarks
Secondly, all your passwords are stored in two different files. These include:
Both the logins.json and key4.db files can be found in the Windows directory.
Site-specific preferences
The site permission store is kept in an SQLite database called permissions.sqlite. It stores many of your Firefox permissions that are decided on a per-site basis. For instance, which sites should be allowed or prohibited from setting cookies, showing images, displaying popups and installing extensions.
Search engines
This file search.json.mozlz4 stores user-installed search engines. While we recommend keeping a backup of all the files and folders in a profile, those that are particularly useful in the easy reinstallation of extensions and passwords, was of our interest and thus, covered.