software

Where Firefox Stores Your Bookmarks and How to Manage Them

Firefox stores bookmarks in a JSON file named places.sqlite, located inside your profile folder. This file powers the Library and Sync systems and is the primary bookmark databa...

Mara Ellison
Where Firefox Stores Your Bookmarks and How to Manage Them

Where Firefox Keeps Your Bookmarks by Default

Firefox stores bookmarks in a JSON file named places.sqlite, located inside your profile folder. This file powers the Library and Sync systems and is the primary bookmark database. You can open the file directly to view or troubleshoot your collection. On Windows, the profile path is typically %APPDATA%\Mozilla\Firefox\Profiles\.default-release\; on macOS it is ~/Library/Application Support/Firefox/Profiles/.default-release/; and on Linux it is ~/.mozilla/firefox/.default-release/. The following sections explain how to locate, view, back up, import, and restore this file across platforms.

Bookmark Storage Basics

What Is places.sqlite

The places.sqlite file is a SQLite database that records not only bookmarks but also history, tags, and some session data. Bookmarks live in structured tables within this file, making it the single source of truth for your saved items. Because it is a binary database, it is not meant to be edited manually. Instead, use Firefox’s built-in tools—such as the Library, Sync, and import/export functions—to manage its contents safely.

How Sync Changes the Bookmark Path

When you enable Firefox Sync, bookmarks are stored locally in places.sqlite and then synced to Mozilla’s servers. If you replace your profile or reset Firefox, you can restore the latest bookmarks by signing into Sync with the same account. This means the effective bookmark location can be your Sync account rather than a local file path. Backups of your Sync data are maintained in your Firefox Account, which can be accessed through account.firefox.com.

Finding Your Firefox Profile Folder

Because profile names can include random strings or numbers, it is easiest to open the profile folder from within Firefox. Use the built-in profile manager or the shortcut menu in the Library to reveal the exact file system location. On most systems, you can also navigate manually using the paths below, but using Firefox’s interface ensures you target the correct active profile.

Open the Profile Folder from Firefox

  1. Open Firefox and type about:support in the address bar.
  2. Scroll to the Profile section and click Open Folder; if that option is missing, click the copy icon to copy the profile path.
  3. Paste the path into File Explorer (Windows), Finder (macOS), or your file manager (Linux) to access the folder contents.

Default Paths by Operating System

These paths assume a default installation and a single active profile. Replace with the profile name string shown in the profile manager.

Operating SystemTypical Profile PathWhat You Will Find
Windows 10/11%APPDATA%\Mozilla\Firefox\Profiles\.default-release\places.sqlite and parent folder
macOS~/Library/Application Support/Firefox/Profiles/.default-release/places.sqlite and parent folder
Linux~/.mozilla/firefox/.default-release/places.sqlite and parent folder

Viewing and Backing Up Bookmarks

Because places.sqlite is a binary database, you can use Firefox’s export feature to create a readable backup. This preserves your bookmarks, tags, and folder structure without requiring you to copy the raw database file. Keep multiple backups if you make frequent changes to your bookmark collection. Regular exports are a simple form of disaster recovery and make it easier to migrate to a new device or profile.

Export Your Bookmarks

  1. Open the Library by pressing Ctrl+Shift+O (Windows/Linux) or Cmd+Shift+O (macOS).
  2. Select Import and Backup, then click Export Bookmarks to HTML.
  3. Choose a safe location and give the file a descriptive name and date.

Create a Copy of the Profile Folder

Shut down Firefox, then copy the entire profile folder to an external drive or cloud storage. This preserves places.sqlite and any files, passwords, or preferences stored in the same directory. For extra safety, compress the folder into an archive after closing Firefox. Do not edit places.sqlite while Firefox is running, as this can corrupt your data.

Importing and Restoring Bookmarks

Restoring bookmarks is straightforward if you have either an HTML export or access to Firefox Sync. The Import and Backup tool in the Library can bring in bookmarks from another browser or an earlier HTML file. If you are replacing your computer or profile, signing into Sync often provides the cleanest restoration path. In situations where you must work directly with the profile folder, you can move or replace places.sqlite after closing Firefox, but this is higher risk and should be approached carefully.

Import From HTML

  1. Open the Library and choose Import and Backup.
  2. Select Import Bookmarks from HTML, then click Choose File.
  3. Select your saved HTML file and confirm the import.

Replace the places.sqlite File

  1. Close Firefox completely.
  2. Copy a known-good places.sqlite file into your profile folder, replacing the existing file.
  3. Restart Firefox and verify that your bookmarks appear in the Library.

Troubleshooting Common Bookmark Issues

If bookmarks are missing or the Library appears empty, first confirm that you are looking at the correct profile. Multiple profiles or Sync conflicts can make it seem like data is lost when it simply lives in a different profile. Use the profile path from about:support to verify you are editing or viewing the right places.sqlite. If problems persist, create a new test profile and import an HTML backup to isolate file-level corruption.

Quick Checklist for Bookmark Problems

  • Check that Firefox is using the expected profile (about:support).
  • Ensure Firefox is closed before replacing places.sqlite.
  • Prefer HTML export/import over manual file operations when possible.
  • Verify Sync status if using multiple signed-in devices.
  • Keep regular HTML exports and compressed profile copies as backups.

When to Use Advanced Options

Advanced users may want to compact the database or use third‑party SQLite tools to query places.sqlite. These steps are rarely necessary for everyday bookmark management and carry a higher risk of data loss. For most people, the Library’s import and export features, combined with periodic HTML backups, provide a safe and reliable way to protect and restore bookmarks. If you suspect corruption, start with an HTML restore and only consider deeper actions when necessary.

Summary of Default Bookmark Locations

Firefox keeps bookmarks in the places.sqlite file inside your profile folder. The exact folder depends on your operating system and profile name. Using the profile manager in about:support is the safest way to locate the active folder. You can export bookmarks as HTML for straightforward, portable backups, or rely on Firefox Sync to keep bookmarks consistent across devices. For troubleshooting, verify your profile path and prefer import/export tools over direct file edits when possible.

Related Reading

More pages in this topic cluster.

How to Migrate Data From One Mac to Another: A Verified Step-by-Step Guide

Migrating data from one Mac to another is usually straightforward if you plan the workflow and choose the right transfer method. This guide explains the most reliable options—...

Read next
Pixel Drawing Software: A Comprehensive Guide to Tools, Techniques, and Best Practices

Pixel drawing software enables artists and designers to create detailed graphics at the pixel level, offering precise control over color, shape, and texture. These tools are fou...

Read next
Car Service Reminder App: How It Works and Why It Matters

A car service reminder app is a digital tool that tracks maintenance intervals, stores records, and prompts you when service is due. Instead of relying on paper receipts or memo...

Read next