How to export your saved passwords from Firefox

Do you want to export your many passwords from Firefox so you can use them on another device? We’ll show you how.


firefox logo

Mozilla Firefox automatically saves your passwords based on your confirmation. Previously, these passwords were also managed through a system called Firefox Lockwise. You don’t have that back anymore. These passwords are also stored in a local profile folder. So you have two ways to export your passwords. But the second option only allows importing in the same browser. We explain both methods below.

Export passwords via Firefox

Mozilla has a password manager service where you can synchronize your passwords across all your devices. However, if you do not have a Firefox account, you cannot synchronize. In this case, passwords are only stored locally. So it is a safer way against unauthorized access. You can export your access data as a CSV file and export it back to other browsers or a new Firefox installation.

How to export your saved passwords from Firefox
  1. First, go to the menu in the top right corner and select Passwords. Another way is to type “about:logins” in the URL section.
firefox password2
  1. On the page that opens, click on the three-dot menu and then on “Export Logins”.
firefox password3 1
  1. Since your passwords and credentials are stored as readable text in a CSV format, Firefox warns you of some risks. Our recommendation: After importing the passwords again, back up the file to a USB stick or eliminate it. Click on “Export”.
firefox password4

If you are using macOS, you will be asked for your administrator password. Then choose a location for the file and click “Save”. Now when you install Firefox on another device, you can re-import the CSV file you saved. You don’t have to use Firefox; you can also import your CSV file into Google Chrome. Note, however, that the passwords in this file are in plain text and should not be intercepted by other people.

How to backup Firefox profile

Mozilla Firefox’s profile file is stored in the following folders on macOS and Windows operating systems. We will explain these steps on macOS.

  • Windows 7, 10, and 11: C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default
  • macOS: Users/<username>/Library/Application Support/Firefox/Profiles/xxxxxxxx.default
  • Linux: /home/<username>/.mozilla/firefox/xxxxxxxx.default
macos library 1
  1. Open the Finder application and enter the “Go” section. Here, hold down the “Option” key and enter the “Library” folder.
  1. In the window that opens, click on the “Application Support” folder.
firefo password2
  1. Now locate the “Firefox” folder and open it.
password profile
  1. You should then click on the “Profiles” folder. The file with the .default (or .default-release) extension is your Firefox profile.
  2. Select the folder with the data and drag it into your USB stick.