Locating the folder where Firefox bookmarks are stored depends heavily on the operating system in use. While the browser abstracts this complexity for daily use, the underlying files are simple JSON and SQLite files that can be accessed for backup or migration. Understanding the exact path is the first step in taking manual control of your critical browsing data.

Finding the Bookmarks JSON File

Firefox stores the primary bookmark data within a file named bookmarks.json or, in more recent versions, within the places.sqlite database. These files are kept in your specific Firefox profile folder, which is distinct from the main Firefox program directory. This separation allows multiple user accounts on the same machine to maintain unique sets of bookmarks and history without interference.
Windows Operating System Paths

On Windows machines, the folder is hidden deep within the AppData directory, which is not visible by default in File Explorer. You must show hidden files to navigate there directly. The standard location follows a specific pattern based on the user profile name.
Default Windows Profile Location

C:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<RandomString>.default-release\bookmarks.jsonC:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<RandomString>.default\places.sqlite
Replace <YourUsername> with your actual Windows login name and <RandomString> with the unique identifier for your profile, which usually ends in .default or .default-release.
macOS Operating System Paths

Apple’s macOS follows the Library folder structure, which is slightly more hidden than the Windows AppData folder. Users must access the Library directory through the Go menu or the terminal to find the profile data.
Default macOS Profile Location
/Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<RandomString>.default-release/bookmarks.json/Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<RandomString>.default/places.sqlite

Note that the Library folder is hidden by default in Finder, so you will need to hold the Option key while clicking the Go menu in Finder to access it.
Linux Operating System Paths




















Linux distributions offer the most straightforward visibility, as hidden files are typically accessible from the home directory. The folder structure adheres to the XDG Base Directory specification, keeping configuration files within the user’s home path.
Default Linux Profile Location
/home/<YourUsername>/.mozilla/firefox/<RandomString>.default-release/bookmarks.json/home/<YourUsername>/.mozilla/firefox/<RandomString>.default/places.sqlite
You can view these hidden folders (those starting with a dot) by pressing Ctrl+H in your file manager’s home directory view.
Using Firefox to Locate the Profile
Rather than navigating through the file system manually, Firefox provides a direct link to the active profile folder. This method guarantees that you are looking at the exact directory the browser is using, eliminating any guesswork regarding profile names or versions.
Accessing the Profile Folder
- Open Firefox and type
about:profilesinto the address bar. - Locate the profile labeled as "Root Directory" or "Profile Folder."
- Click the "Open Folder" button directly on that row to launch the file explorer at the correct path.
Once the folder is open, look for the bookmarks.json or places.sqlite files to back them up or edit them with a text editor.
Backing Up and Migrating Bookmarks
Because the profile folder contains the core of your browsing identity, it is highly recommended to create a backup copy before making any changes. Copying the entire profile folder is the safest method, but if you only require the bookmarks, targeting the specific files is sufficient.
Recommended Backup Strategy
- Full Profile Backup: Copy the entire profile folder to an external drive.
- Export via Browser: Use Firefox’s built-in import and export functionality via the Library (Ctrl+Shift+B) to create an HTML backup, which is human-readable.
- Sync: Ensure Firefox Account Sync is enabled if you prefer cloud-based redundancy.