How to recover deleted bookmarks in Firefox
If Firefox hasn’t closed since the delete, open the Library (Ctrl+Shift+O) and choose Organize > Undo, or press Ctrl+Z. Once Firefox has closed, restore one of the automatic backups it keeps in your profile, from Import and Backup > Restore. Export your current bookmarks first: a restore replaces all of them.
1. Undo it while Firefox is open
- Open the Library: Ctrl+Shift+O, or Cmd+Shift+O on a Mac.
- Click in the list of bookmarks, then choose Organize > Undo or press Ctrl+Z. On a Mac, use Edit > Undo in the menu bar, or Cmd+Z.
- Repeat once for every bookmark change you made after the delete.
Firefox keeps one undo history for bookmark changes made anywhere in the browser, so a bookmark removed from the star’s edit panel, the toolbar or the sidebar comes back the same way. The history lives in memory and is gone when Firefox closes.
2. Restore an automatic backup
A restore swaps your whole collection for the backup. Save what you have first: Library > Import and Backup > Export Bookmarks to HTML….
- In the Library, click Import and Backup > Restore.
- Pick a date. Each entry shows the file size and the number of bookmarks it holds. Mozilla’s advice: choose a backup newer than the last time you saw the bookmarks and older than the moment they disappeared.
- Firefox warns: “This will replace all of your current bookmarks with the backup.” Click OK.
- Bookmarks you added after that date are in the file you just exported. Import it with Import Bookmarks from HTML… and keep what you need from the Bookmarks Menu folder.
How the automatic backups work
- Firefox writes at most one a day, after you’ve left the keyboard and mouse alone for a few minutes with Firefox open.
- It keeps 15 (the
browser.bookmarks.max_backupspreference) and deletes the oldest when a new one arrives. - If nothing changed since the last backup, Firefox renames that file to today’s date and writes no new one, so the 15 copies can reach back well past 15 days.
- They’re
.jsonlz4files in thebookmarkbackupsfolder of your profile, named likebookmarks-2026-10-17_1532_….jsonlz4, where 1532 is the bookmark count.
3. Get one folder back and keep everything else
- Type
about:supportin the address bar, click Open Folder next to Profile Folder (Show in Finder on a Mac, Open Directory on Linux) and openbookmarkbackups. - Copy the backup from before the delete to your desktop.
- Drop the copy into our free Firefox backup converter. It reads
.jsonlz4in your browser and gives you an HTML file. - In the Library, choose Import Bookmarks from HTML… and pick that file. The backup arrives inside Bookmarks Menu; drag the lost folder back where it belongs and delete the rest of the import.
Nothing you have now is replaced, and Firefox Sync carries the recovered folder to your other devices like any new bookmark.
4. Gone after an update, reinstall or refresh
If Firefox shows only its default bookmarks, it has probably started with a different profile. Open about:profiles, try Launch profile in new browser on each of the others, and when one has your bookmarks, click Set as default profile. Mozilla asks you not to remove any profile until you know which one holds your data.
Refresh Firefox leaves an Old Firefox Data folder on your desktop with a complete copy of the old profile. After a Windows 10 upgrade, Mozilla points to C:\Windows.old\Users\<name>\AppData\Roaming\Mozilla\Firefox\Profiles. Both hold a bookmarkbackups folder for step 3.
5. From an old places.sqlite
places.sqlite holds your bookmarks and history. To read one from an old profile or a system backup without touching your main profile:
- In
about:profiles, click Create a New Profile and finish the wizard, without launching the new profile yet. Click Open Folder (Show in Finder on a Mac) next to its Root Directory. - Quit Firefox and copy the old
places.sqlite(plusfavicons.sqlitefor the icons) into that folder. - Start Firefox, open
about:profilesagain, launch the new profile, export its bookmarks to HTML and import that file into your main profile.
6. Sync and your other devices
Sync copies deletes too: Mozilla says a bookmark removed on one device is deleted from your synced devices, and that Sync isn’t a backup. If another computer still shows the bookmarks, export them there before you change anything, ideally with its Wi-Fi off so Sync can’t apply the delete first. Mozilla also warns that restoring a backup may overwrite synced data.
When they can’t come back
Mozilla lists the dead ends: every backup is newer than the delete, the bookmarks were deleted before any backup existed, the profile was deleted with no copy, or they never synced anywhere. An HTML export every month or so, kept off the computer, closes most of those gaps.
Questions
Can you recover deleted bookmarks in Firefox?
Usually. While Firefox is open, Ctrl+Z in the Library undoes the delete. After a restart, restore one of the 15 automatic backups, or convert one with our Firefox backup converter to bring back a single folder.
How do I restore Firefox bookmarks from a backup without losing new ones?
Export your current bookmarks to HTML first, then restore and import the export. Or skip the restore: convert the backup to HTML and use Import Bookmarks from HTML…, which adds it next to your current bookmarks.
Why does Firefox say “Unable to process the backup file”?
Firefox couldn’t read the file you picked in Restore: it’s damaged or cut short, or it isn’t the JSON its name claims, such as an HTML or .jsonlz4 file renamed to .json. Try another dated backup. A file ending in .html gets Unsupported file type; import those with Import Bookmarks from HTML….
How do I restore Firefox bookmarks from places.sqlite?
Copy the old places.sqlite into a spare profile made in about:profiles, with Firefox closed while you copy. Launch that profile, export its bookmarks to HTML and import the file into your main profile.
Does Firefox Sync keep deleted bookmarks?
No. A delete syncs to every device, and Mozilla says Sync isn’t a backup. A computer that hasn’t synced since the delete may still have them, so export from it before it goes online.
Use Chrome or Brave as well?
Stackboard is a free extension for Chrome and Brave that turns the new tab page into a board of your own bookmarks. No account, nothing leaves your browser.
Add to Chrome, it’s freeSources
- Mozilla Support: Recover lost or missing Bookmarks
- Mozilla Support: Restore bookmarks from backup or move them to another computer
- Mozilla Support: How do I delete a bookmark?
- Mozilla Support: Bookmarks in Firefox
- Mozilla Support: Recover user data missing after Firefox update or reinstall
- Mozilla Support: Restore bookmarks, passwords and data from an old Firefox profile
- Mozilla Support: Profiles, where Firefox stores your bookmarks, passwords and other user data
- Mozilla Support: Can't add, change or save bookmarks
- Mozilla Support: Keyboard shortcuts, perform common Firefox tasks quickly
- Firefox source: the Library window menus, Organize and Undo (places.xhtml)
- Firefox source: export and backup file names, file types Restore accepts (places.js)
- Firefox source: one undo history for bookmark changes in every window (PlacesTransactions.sys.mjs)
- Firefox strings: the Revert Bookmarks prompt and restore errors (placesPrompts.ftl)
- Firefox source: backup file names and how old backups are dropped (PlacesBackups.sys.mjs)
- Firefox source: one backup a day on idle, HTML export at shutdown (PlacesBrowserStartup.sys.mjs)
- Firefox source: default preferences such as max_backups and the toolbar setting (firefox.js)
- Firefox strings: about:profiles labels (aboutProfiles.ftl)