Where Are Firefox Bookmarks Stored
Firefox keeps your bookmarks in a places.sqlite database and rotating JSON backups inside your profile folder
Firefox stores your live bookmarks in a database file named places.sqlite inside your profile folder, and it keeps a
series of dated backup snapshots in a bookmarkbackups subfolder next to it. The places.sqlite file is the working
copy; the backups are your safety net.
Knowing where these files live helps when you want to back up your bookmarks, move them to a new computer, or recover them after a crash. Here is exactly where to look on each operating system.
The two places Firefox keeps bookmarks
Firefox uses two separate things, and it helps to keep them straight:
- places.sqlite — the active database holding your current bookmarks and your browsing history. This is what Firefox reads and writes as you work.
- bookmarkbackups — a folder of automatic snapshots. Firefox writes a new compressed
.jsonlz4file periodically and keeps roughly the last 15, giving you several restore points.
Both live inside your profile folder, so finding the profile is the first step.
Find your profile folder the easy way
The reliable way to locate your profile, regardless of operating system, is to ask Firefox:
- Open Firefox and type
about:profilesin the address bar, then press Enter. - Find the profile marked as in use (it usually ends in
.default-release). - Next to Root Directory, click Open Folder (or Show in Finder on macOS).
The folder that opens is your profile. Inside it you will see places.sqlite and the bookmarkbackups folder.
Where the profile folder lives on each OS
If you would rather navigate there manually, here are the default locations. Folder names ending in random characters vary per install.
| OS | Profile folder path |
|---|---|
| Windows | %APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default-release\ |
| macOS | ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default-release/ |
| Linux | ~/.mozilla/firefox/xxxxxxxx.default-release/ |
On Windows, paste %APPDATA%\Mozilla\Firefox\Profiles into the File Explorer address bar to jump straight there. On
macOS, the ~/Library folder is hidden by default, so use Finder's Go > Go to Folder and paste the path. On Linux,
~/.mozilla is a hidden folder, so enable hidden files in your file manager or use the terminal.
What is inside the bookmarkbackups folder
The bookmarkbackups folder holds files named by date, such as bookmarks-2026-06-17.jsonlz4. These are compressed
with Mozilla's own LZ4 format, so a normal text editor will not read them. They are meant to be restored from within
Firefox rather than opened directly.
To restore one, open the Library window with Ctrl+Shift+O (Windows/Linux) or Cmd+Shift+O (macOS), click the Import
and Backup button (the icon with up and down arrows), choose Restore, and pick a dated snapshot. Firefox replaces
your current bookmarks with that snapshot, so restore only when you are sure.
Should you copy these files for a backup?
You can copy places.sqlite or a .jsonlz4 file to another drive as a rough backup, but both are tied to Firefox's
internal format. For a portable copy that any browser can read, export to HTML instead: open the Library window, click
Import and Backup, and choose Export Bookmarks to HTML. That file works as a backup and as an import source for
other browsers.
If you want to keep Firefox's own format, copying the newest .jsonlz4 file out of bookmarkbackups on a regular
schedule is a reasonable habit, since the folder only keeps a limited number of snapshots before older ones roll off.
A note for people who also use Chrome
The file layout described here is specific to Firefox. Chrome and other Chromium browsers use a completely different
file named Bookmarks in their own profile folders, which is covered in
where Chrome bookmarks are stored. If you split your work across both
browsers, TrueBookmark is a Chrome extension that backs up your bookmarks on install, on demand in one click, and
automatically before any risky change on the Chrome side, so the bookmarks you keep there have a separate, restorable
history.
Frequently asked questions
What file are Firefox bookmarks stored in?
Firefox keeps your live bookmarks in a database file named places.sqlite inside your profile folder. That same file also holds your browsing history. Firefox additionally writes rotating snapshots into a bookmarkbackups subfolder, saved as compressed .jsonlz4 files.
Where is the Firefox profile folder located?
On Windows it is under %APPDATA%\Mozilla\Firefox\Profiles, on macOS under ~/Library/Application Support/Firefox/Profiles, and on Linux under ~/.mozilla/firefox. Each profile folder has a random name ending in .default-release. The fastest way to open it is to type about:profiles in the address bar.
Can I open places.sqlite directly to read my bookmarks?
You can open it with a SQLite viewer, but it is not meant to be edited by hand and Firefox must be closed first. For moving or restoring bookmarks, use the Export Bookmarks to HTML option or restore from a .jsonlz4 backup instead of touching the database.
What are the .jsonlz4 files in the bookmarkbackups folder?
They are automatic bookmark snapshots compressed with Mozilla's LZ4 format. Firefox keeps roughly the last 15 by default and creates a new one periodically, so the folder gives you several dated restore points without any manual effort.
When TrueBookmark helps
Native Chrome steps are the fastest way to finish the task once. TrueBookmark is the better fit when you want Backup, Restore, Find, or Organize to stay reliable over time.
Related guides
Can You Export Chrome Bookmarks and Passwords Together
Chrome cannot export bookmarks and passwords in a single file. This guide shows how to export each one separately, what each file contains, and how to handle the password CSV safely.
What Gets Exported When You Export Chrome Bookmarks
A detailed look at what Chrome's bookmark export file contains, the HTML structure and date format it uses, and what data is lost when you export and re-import.
Where Are Chrome Bookmarks Stored
Exact file paths for Chrome bookmark storage on Windows, macOS, and Linux. Explains the Bookmarks and Bookmarks.bak JSON files, their format, and how Chrome uses them.
How to Copy Bookmarks from Chrome
How to copy bookmarks from Chrome. Covers copying a bookmark URL, copying bookmarks to another browser via export/import, and copying bookmark files to another computer.
This guide is for informational purposes only and is provided without warranty of any kind, express or implied. Browser steps may change between versions. Always back up your bookmarks before making changes. By following these instructions, you accept full responsibility for the outcome.