How To Export Or Import Passwords In Firefox (2026)

Firefox can save your usernames and passwords to a .csv file, which is the easiest way to back them up or move them to another browser.

The same page can bring a .csv file back in, so a backup is never wasted.

This guide gives the steps for both, plus what to do with the file afterward so your passwords stay private.

Quick answer: export and import in Firefox

TaskPathMenu label
Export passwordsMenu button > Logins and Passwords > three-dot menuExport Logins… (Export Passwords… in Firefox 157 and later)
Import from the list pageMenu button > Logins and Passwords > three-dot menuImport from a File…
Import from SettingsMenu button > Settings > General > Import browser dataImport Data > Passwords from CSV file

Mozilla says importing a .csv file starts with Firefox 116, so update Firefox first if you cannot find the option.

Both import methods end the same way, with a Done button after you pick the file.

Read this first: the file is not encrypted

Mozilla warns that passwords in the exported file are not encrypted and are in a readable form.

That means anyone who can open the file can read every password in it, whether it sits on your desktop, a USB drive or a cloud folder.

  • Do not upload, email or share the file.
  • Store it somewhere private while you need it.
  • Delete it as soon as you finish moving your passwords.

Export your Firefox passwords to a CSV file

  1. Click the menu button at the top right of Firefox.
  2. Click Logins and Passwords, and the about:logins page opens in a new tab.
  3. Click the three-dot menu at the top right of that page.
  4. Click Export Logins….
  5. Read the dialog about readable passwords, then click Export….
  6. Enter your Primary Password if Firefox asks for it.
  7. Choose a file name and a location, then save.

The file is saved as a .csv, which opens in a spreadsheet program.

Export steps in Firefox 157 and later

Mozilla lists slightly different wording for newer versions.

  1. Open the menu and select Logins and Passwords.
  2. Click the three-dot menu, then Export Passwords….
  3. Click Continue with export in the dialog.
  4. Enter your Primary Password if you have one set.
  5. Choose a file name and location, then click Save.

Mozilla adds that your operating system may also ask you to sign in, such as a Windows sign-in prompt, before it lets Firefox read stored passwords.

Import a CSV file from the Logins page

  1. Click the menu button and select Logins and Passwords.
  2. Click the three-dot menu on the about:logins page.
  3. Click Import from a File….
  4. Select your .csv file and click Open.
  5. Click Done to finish.

Import a CSV file from Firefox Settings

  1. Click the menu button and select Settings.
  2. On the General page, find Import browser data and click Import Data.
  3. Choose Passwords from CSV file in the drop-down.
  4. Select your .csv file and click Open.
  5. Click Done.

Mozilla says Firefox does not save or sync login data from another browser or file unless you choose to import it.

What Mozilla does not say about the import

QuestionAnswer on Mozilla’s page
Which columns the file needsNot stated
Whether TSV files workOnly .csv is mentioned
How duplicate logins are handledNot stated
What Firefox shows after the importOnly the Done button is described

Because of that, check the logins page afterward and search for a few sites you know were in the file.

Move your Firefox passwords into Chrome

Chrome accepts only .csv files, so the Firefox export works as the starting point.

  1. Open Chrome, select More, then Passwords and autofill > Google Password Manager > Settings.
  2. Under Import passwords, click Select file.
  3. Choose your .csv file.
  4. Follow the on-screen instructions to finish.

Google says the first line of the file must contain the column names url, username and password, and that you can add those names yourself if they are missing.

Chrome limitNumber
Passwords per import3,000
Passwords a Google Account can store10,000

If you have more than 3,000, Google says to split the file and import each part separately.

For the reverse direction, see how to export Chrome passwords to a CSV file.

Moving from Chrome to Firefox: the file method is now the way on Windows

Firefox has an Import Wizard that can bring in saved passwords, bookmarks, history, extensions and form autofill data from other browsers.

Mozilla says automatic import of Chrome passwords on Windows is no longer supported.

  1. In Chrome, open Passwords and Autofill > Google Password Manager > Settings.
  2. Next to Export passwords, click Download file and save the CSV.
  3. Import that CSV into Firefox with either method above.

Our guide to importing Chrome bookmarks and passwords to Firefox covers the bookmarks side, and Mozilla notes that Firefox cannot bring in payment methods from Chrome on Windows any more.

Moving from Edge instead is covered in how to move saved passwords from Edge to Chrome.

Why Firefox asks you to sign in to Windows or Mac when you export

On Windows and macOS, Firefox can ask for your device sign-in before you use the edit, copy or eye buttons on a saved password.

Mozilla says exporting passwords always triggers that prompt, and after you sign in Firefox does not ask again until you reload the page or five minutes pass.

  1. Open Settings from the Firefox menu.
  2. Select Privacy & Security, then Passwords and autofill.
  3. In the Passwords section, check or clear Require device sign in to fill and manage passwords.
  4. Authenticate with your operating system password or a biometric method when asked.

Mozilla notes the prompt is not designed to stop a determined attacker who already has local access to your computer.

After you import: clean up

  1. Search Logins and Passwords for a few sites to confirm the logins arrived.
  2. Delete the .csv file from your computer.
  3. Empty your Recycle Bin or Trash if your system keeps deleted files there.

Mozilla tells you to delete the file when you are finished, since anyone who can read it can see your passwords.

To tidy the list afterward, see how to view, edit or delete saved passwords in Firefox.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *