To transfer Firefox bookmarks to a new computer, either sign in to the same Mozilla account in Firefox on both PCs with bookmark sync turned on, or export your bookmarks to an HTML file on the old PC and import it on the new one. The export is in the Library window: press Ctrl+Shift+O, choose Import and Backup, then Export Bookmarks to HTML.
Firefox also has its own backup format and an automatic backup folder, which can save you if the old PC is no longer working. Here is how each method works and when to use it.
Method 1: Move Firefox bookmarks with sync
Firefox sync stores your bookmarks in your Mozilla account and copies them to any Firefox you sign in to.
- On the old PC, open Firefox and click the account icon in the toolbar (or open Settings > Sync).
- Sign in or create a Mozilla account, and make sure Bookmarks is ticked in the list of things to sync.
- Give it a minute, then use Sync now from the account menu to be sure it is up to date.
- On the new PC, install Firefox, open it and sign in to the same account.
- Open the Library (Ctrl+Shift+O) and check your folders.
Sync merges bookmarks with any already in Firefox on the new PC. It suits people who will keep using Firefox and are happy to have an account. If you just want a one-off move, the HTML method is simpler.
Method 2: Export and import Firefox bookmarks as HTML
On the old PC
- Open Firefox and press Ctrl+Shift+O to open the Library window.
- Click Import and Backup in the toolbar of that window.
- Choose Export Bookmarks to HTML.
- Save the file, for example as
bookmarks.htmlon your Desktop, and copy it to a USB stick or shared folder.
On the new PC
- Open Firefox and press Ctrl+Shift+O.
- Click Import and Backup > Import Bookmarks from HTML.
- Select the file. The bookmarks are added alongside any that are already there.
The same HTML file can be imported into Chrome or Edge, which is handy if you are switching browsers at the same time.
Backup and Restore (JSON)
The same Import and Backup menu also has Backup and Restore. These use a JSON file and keep Firefox-specific details more faithfully. The catch is that Restore replaces all your current bookmarks with the ones in the file. Use it on a brand-new Firefox with nothing in it yet, and use the HTML import if the new PC already has bookmarks you want to keep.
Where does Firefox store bookmarks?
Firefox keeps bookmarks, together with browsing history, in a database file called places.sqlite inside your profile folder:
C:\Users\Sarah\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default-release
The profile folder name starts with random characters. To open it from Firefox, type about:support in the address bar and click Open Folder next to Profile Folder. The bookmarkbackups folder in the same place contains automatic daily backups, which Firefox can load through Import and Backup > Restore.
If the old PC will not start
If you can still read the old drive (for example with a USB drive enclosure), copy its bookmarkbackups folder. On the new PC, choose Restore > Choose File and pick the most recent backup. Remember that Restore replaces existing bookmarks, so do it before you add new ones.
Should you copy the whole Firefox profile?
Copying an entire profile folder moves almost everything: bookmarks, history, saved passwords, extensions and settings. It can work, but it is fiddly. Firefox must be closed on both PCs, you need to copy the contents into the profile Firefox created on the new PC (or register the old one through the Profile Manager, opened with firefox.exe -P), and a profile from a much older Firefox version can cause odd problems. For most people, sync or the export options are less risky.
If you only want the bookmarks, the HTML method is cleaner. For passwords, sync is the easiest route; Firefox's password manager also has an export option.
Doing it with Computer Copier
If Firefox bookmarks are part of a bigger move from an old PC to a new one, Computer Copier can bring them along with your files and settings between 64-bit Windows 10 and Windows 11 PCs.
- If Firefox on the new PC has a fresh profile, the bookmarks are imported automatically.
- Otherwise, they are saved to the Desktop as a standard bookmarks HTML file, ready for a one-click import through Bookmarks > Manage bookmarks > Import and Backup > Import Bookmarks from HTML. Nothing already in Firefox is overwritten.
- Chrome, Edge and Brave bookmarks from the old PC are handled in the same transfer, merged under an "Imported from OLD-PC" folder.
It moves bookmarks only, not saved passwords, history, cookies or extensions. Use Firefox sync for those, and the migration checklist inside the program reminds you about passwords and two-factor authentication apps. If you use Thunderbird too, see moving Thunderbird to a new computer; for other browsers, see transferring Chrome bookmarks.
Check before you wipe the old PC
Open the Library on the new PC and look through the Bookmarks Toolbar, Bookmarks Menu and Other Bookmarks folders. If more than one person used Firefox on the old PC, each Windows account has its own Firefox profile, so repeat the export or sync for each. Keep the HTML file as a backup. Then follow the rest of the new computer setup checklist before resetting the old machine.
Frequently asked questions
How do I export bookmarks from Firefox?
Open the Library with Ctrl+Shift+O, choose Import and Backup, then Export Bookmarks to HTML.
Where does Firefox store bookmarks?
In a file called places.sqlite in your Firefox profile folder under AppData\Roaming\Mozilla\Firefox\Profiles.
Will Firefox sync move my bookmarks?
Yes, if you sign in to the same Mozilla account on both PCs with bookmark sync turned on.
