Firefox bookmarks are stored in a SQLite database file named places.sqlite, located within your browser's profile folder. While you can see your bookmarks in the browser interface, the actual data lives in this hidden system folder on your hard drive.
Many people mistakenly look for a simple text file or a folder of HTML shortcuts. In reality, Firefox uses a relational database to manage not only your bookmarks but also your browsing history, which is why you cannot read the file using a standard text editor like Notepad or TextEdit.
Locating the Profile Folder by Operating System
The exact path to your bookmarks depends on your operating system and whether you have created multiple user profiles. Because profile folder names are randomized strings of characters (e.g., xxxxxxxx.default-release), you cannot simply type a static path into your file explorer to find your data.
| Operating System | Root Directory Path | Folder Name Pattern |
|---|---|---|
| Windows | %AppData%\Mozilla\Firefox\Profiles\ | randomstring.default-release |
| macOS | ~/Library/Application Support/Firefox/Profiles/ | randomstring.default-release |
| Linux | ~/.mozilla/firefox/ | randomstring.default-release |
Labels and folder names may differ slightly depending on the version of the browser you are using. If you see multiple folders, the one ending in .default-release is typically the active profile. If you only see one ending in .default, that is your primary storage location.
Accessing the Profile Folder via Firefox Settings
Navigating through hidden system folders manually can be difficult. The most reliable way to reach the bookmarks file is to let Firefox open the folder for you. This bypasses the need to know your specific randomized profile name.
- Open Firefox and click the menu button (three horizontal lines) in the top right corner.
- Select Help and then choose More Troubleshooting Information.
- Locate the Application Basics table.
- Find the row labeled Profile Folder and click the Open Folder (or Show in Finder) button.
This action opens the exact directory where your browser stores all personal data. Once the window opens, scroll down until you find the file named places.sqlite. This is the file that contains every bookmark, folder structure, and history entry you have saved.
Understanding the places.sqlite Database File
The places.sqlite file is not a document you can open by double-clicking. It is a database that organizes data into tables. If you attempt to open it with a text editor, you will see a series of unintelligible symbols and binary code.
To view the raw data inside this file, you would need a SQLite database browser. These tools allow you to run SQL queries to extract specific URLs or titles. However, for most users, interacting with this file is only necessary for manual backups or data recovery after a system crash.
A common misconception is that deleting the places.sqlite file will only clear your bookmarks. In fact, because this file shares storage with your browsing history, deleting it will wipe both your saved bookmarks and your entire history of visited websites. If you only want to remove specific bookmarks, you must do so through the browser's Library manager.
Backing Up Bookmarks Manually and Automatically
Because the places.sqlite file is the single point of failure for your saved links, having a backup strategy is essential. There are two primary ways to secure this data: file-level backups and browser-level exports.
The File-Level Backup Method
This method involves copying the actual database file. It is the fastest way to create a snapshot of your current state. To do this, close Firefox completely to ensure the database is not being written to, then copy places.sqlite to an external drive or cloud storage folder. If your profile becomes corrupted, you can replace the broken file with this backup to restore your links.
The HTML Export Method
If you want a backup that can be read by any browser or text editor, use the export function. This converts the database entries into a standard HTML file.
- Click the menu button and select Bookmarks > Manage Bookmarks (or use the Library window).
- In the Library window, click the Import and Backup button on the top toolbar.
- Select Export Bookmarks to HTML...
- Choose a destination folder and save the file.
The resulting .html file is a portable list of your bookmarks. While it does not save your browsing history, it is the safest way to move your bookmarks to a different browser or keep a permanent archive that does not rely on the SQLite format.
Recovering Bookmarks from Automatic Backups
Firefox automatically creates periodic backups of your bookmarks, which are stored separately from the main places.sqlite file. These are found in a subfolder within your profile directory called bookmarkbackups.
Inside the bookmarkbackups folder, you will find several files with names like "bookmarks-2026-12-06_...json". These are JSON files that represent your bookmarks at specific points in time. If you accidentally delete a large folder of bookmarks, you can restore one of these files.
To restore from these files, go to the Library window, click Import and Backup, and select Restore. Firefox will show you a list of available dates. Selecting a date from this list replaces the current contents of your places.sqlite file with the data from that specific backup. Be aware that any bookmarks added after the backup date will be lost during this process.
Managing Data Across Multiple Profiles
Some users maintain separate profiles for work and personal use. Each profile has its own unique folder and its own independent places.sqlite file. This means that bookmarks saved in your "Work" profile will not appear in your "Personal" profile.
If you need to merge bookmarks from two different profiles, you cannot simply merge the sqlite files, as this would corrupt the database. Instead, you must open the first profile, export the bookmarks to an HTML file, switch to the second profile, and then import that HTML file. This ensures the database indices are updated correctly without risking data loss.
To manage these profiles, you can type about:profiles in the address bar. This page allows you to create new profiles, rename existing ones, or set a specific profile as the default. Each profile listed on this page corresponds to one of the randomized folders mentioned in the operating system paths section.
Verifying Your Backup Integrity
After performing a manual backup of the places.sqlite file or an HTML export, you should verify that the data is intact. For HTML exports, simply double-click the file to open it in any web browser; you should see a clickable list of all your saved links.
For the sqlite file, the only way to verify it without overwriting your current profile is to create a temporary test profile. Use the about:profiles page to create a new profile, launch it, and then replace its blank places.sqlite file with your backup copy. If the bookmarks appear in the browser, the backup is healthy. Always remember to close the browser before swapping these files, as an open browser locks the database and will prevent the file from being replaced or will result in a corrupted file.