Firefox lets you save your passwords to a CSV file on your computer
Firefox stores passwords in an encrypted database on your device. You can export them as a plain-text CSV file — a spreadsheet format that opens in Excel, Google Sheets, or any text editor. The export includes your website addresses, usernames, and passwords in columns you can read and sort.
This matters because you might want to move passwords to another browser, back them up offline, or review what you've stored. It also matters because exporting creates a file with all your passwords in readable text, which changes how you need to store and protect it.
Key Takeaways
- Firefox's export function creates a CSV file containing your site addresses, usernames, and passwords in plain text that anyone with access to your computer can read.
- The export button is in Firefox Settings under Privacy & Security, in the Passwords section — you do not need an extension or third-party tool.
- Once exported, the CSV file sits on your computer unencrypted, so store it in a folder only you can access or delete it after you've used it.
- Firefox does not export passwords you've chosen to never save for specific sites, only the ones stored in your password manager.
Where to find the export button in Firefox Settings
Open Firefox and select the menu button (three horizontal lines) in the top right corner. Click Settings, then choose Privacy & Security from the left sidebar. Scroll down to the Passwords section.
You'll see a line that says "Saved Passwords" with a button labeled Manage next to it. Click that button. A new window opens showing all your saved passwords in a table with columns for website, username, and password. At the top right of that window, you'll see a menu button (three dots). Click it and select Export Passwords.
Firefox will ask you to confirm. It will also ask you to enter your computer's user password — not your Firefox password, but the password you use to log into Windows, Mac, or Linux. This is a safety step to make sure someone sitting at your computer can't export your passwords without your knowledge. Type it and click Export.
What the exported file contains and where it goes
Firefox saves the file as firefox_logins.csv to your Downloads folder by default. You can choose a different location when the export dialog appears. The file is a plain-text spreadsheet with three columns: url, username, and password. Each row is one saved login.
Because it's plain text, anyone who opens the file can read every password. This is different from how Firefox stores them on your device — Firefox encrypts passwords in its database, so they're not readable even if someone accesses your computer's files directly. The CSV export removes that encryption.
How to keep an exported password file find
After you export, the CSV file is only as safe as the folder you put it in. If you save it to your Desktop or Downloads folder, anyone who uses your computer can open it. If you save it to a cloud folder like OneDrive or Google Drive, it travels to the internet and sits on someone else's server.
Better options: save it to a folder on your computer that requires a password to access, or use an encrypted external drive. On Windows, you can right-click the folder, select Properties, click Advanced, and check Encrypt contents to find data. On Mac, create a new encrypted folder using Disk Utility. On Linux, use an encrypted directory or encrypted USB drive.
The safest approach is to delete the file as soon as you've used it. If you're moving passwords to another browser, import them there first, then delete the CSV file from your computer. If you're backing them up, consider storing the file on an external drive you keep in a safe place, then delete the copy on your computer.
Importing exported passwords into another browser
Once you have the CSV file, you can import it into Chrome, Edge, Brave, or Opera. Each browser has its own import process, but they all start the same way: open the password manager in the new browser, look for an import or upload option, and select your firefox_logins.csv file.
In Chrome and Edge, go to Settings, then Passwords and autofill, then Password Manager. Click the menu button (three dots) and select Import. In Brave, go to Settings, Passwords and autofill, then Password Manager, and look for an import option in the menu. In Opera, go to Settings, Passwords, and click the import icon.
After import, review the list to make sure all passwords came through. Some special characters or very long passwords sometimes don't transfer correctly. Once you've confirmed everything imported, delete the CSV file from your computer.
What Firefox passwords won't export
Firefox exports only passwords you've told it to save. If you've visited a site and clicked "Not now" or "Never" when Firefox offered to save the password, that login won't be in the export. Passwords you've manually deleted from Firefox's password manager also won't appear.
Firefox also doesn't export passwords for sites that use single sign-on — for example, if you log into a site using your Google account instead of a separate username and password. Those logins aren't stored in Firefox's password manager, so they have nothing to export.
Why you might want to export and when you shouldn't
Export your passwords if you're switching to a different browser and want to bring your saved logins with you. Export them if you want a backup copy stored on an external drive in case your computer fails. Export them if you're reviewing what you've stored to see whether you're reusing passwords across sites — a security risk worth fixing.
Don't export passwords just to have them sitting on your computer. Don't email the CSV file to yourself or store it in a cloud folder you share with others. Don't export them if you're using a shared computer or a computer you're about to sell or give away. In those cases, use Firefox's built-in sync feature instead: sign into a Firefox account on both devices, and Firefox will sync your passwords securely between them without creating an unencrypted file.
Frequently Asked Questions
Can I export passwords from Firefox if I've forgotten my computer password?
No. Firefox requires you to enter your computer's user password before exporting, as a security measure. If you've forgotten it, you'll need to reset it through your operating system first. On Windows, you can use another admin account or a password reset disk. On Mac, you can use Recovery Mode. On Linux, the process depends on your distribution.
Will exporting passwords log me out of websites?
No. Exporting passwords only creates a copy of what Firefox has stored. It doesn't change your login status on any website or affect how Firefox works. You'll stay logged into sites as usual.
What if I export passwords and then change them on the websites?
The CSV file won't update automatically. It's a snapshot of your passwords at the moment you exported it. If you change a password on a website, Firefox will ask if you want to update it in the password manager. If you say yes, Firefox updates its database, but the old CSV file stays the same. Delete the old file and export again if you need a current backup.
Can I password-protect the CSV file itself?
Firefox doesn't offer that option. The CSV file is plain text with no built-in protection. You can password-protect the folder it's in, or use third-party encryption software to create an encrypted container for the file, but Firefox's export tool doesn't do it for you.
Is it safer to use Firefox Sync instead of exporting?
For most people, yes. Firefox Sync encrypts your passwords before they leave your device and stores them on Mozilla's servers in encrypted form. You can sign into Firefox on another device and your passwords sync automatically without ever creating an unencrypted file. Export only when you need a file — to move to a different browser, or to back up offline.