How to Export Passwords from Chrome, Firefox, and Safari: Complete Guide
Why Export Your Browser Passwords?
Browser password managers like Chrome’s built-in system are convenient, but they come with limitations. They don’t sync across all your devices reliably, lack advanced security features like zero-knowledge encryption, and become difficult to manage if you use multiple browsers. Exporting passwords to a dedicated password manager like Bitwarden, 1Password, or LastPass provides better security, cross-device synchronization, and stronger encryption standards.
Additionally, if you’re switching browsers or consolidating your digital security, exporting ensures you don’t lose access to critical accounts. This guide covers the safest methods for exporting from Chrome, Firefox, and Safari.
Important Security Considerations Before Exporting
- Export in a secure environment: Only export passwords on a trusted, personal device with updated antivirus software
- Use a private network: Avoid public Wi-Fi networks when handling sensitive password data
- Disable screenshots: Ensure no one is watching your screen during the export process
- Delete exported files immediately: CSV files containing passwords should be deleted once imported into your password manager
- Use strong authentication: Ensure your destination password manager has two-factor authentication (2FA) enabled
- Verify the destination service: Only import passwords into reputable password managers with transparent security audits
How to Export Passwords from Chrome
Step 1: Open Chrome Settings
- Open Google Chrome on your Windows, Mac, or Linux device
- Click the three-dot menu icon (⋮) in the top-right corner
- Select Settings
Step 2: Navigate to Passwords
- In the left sidebar, click Autofill
- Select Password Manager
- You’ll see a list of all saved passwords organized by website
Step 3: Access the Export Function
- In the Password Manager window, look for the three-dot menu icon (⋮) next to the search bar
- Click it and select Export passwords
Step 4: Verify Your Identity
- Chrome will prompt you to confirm your computer password or biometric authentication (fingerprint/face recognition on compatible devices)
- Enter your credentials when requested
- This security step prevents unauthorized access to your passwords
Step 5: Save the CSV File
- A dialog box will appear asking where to save the file
- Choose a specific, secure location (avoid Desktop or Downloads if possible)
- Name the file something recognizable like “chrome_passwords_backup.csv”
- Click Save
Note: Chrome exports passwords in CSV format with three columns: name, url, and password. The file will be unencrypted, so handle it with care.
Step 6: Verify the Export
- Navigate to the folder where you saved the file
- Open it with a text editor (Notepad on Windows, TextEdit on Mac) to confirm it contains your passwords
- Do NOT keep this file open longer than necessary
- Once you’ve imported the data, securely delete this file by:
- Windows: Right-click → Delete → Empty Recycle Bin
- Mac: Drag to Trash → Empty Trash
- Linux: Use
shred -u filenamefor secure deletion
How to Export Passwords from Firefox
Step 1: Open Firefox Preferences
- Launch Mozilla Firefox
- Click the hamburger menu icon (≡) in the top-right corner
- Select Settings
Step 2: Navigate to Login Settings
- In the left sidebar, click Privacy & Security
- Scroll down to the Logins and Passwords section
- Click the Saved Logins button (displays the number of saved credentials)
Step 3: Access Your Saved Passwords
- A window will open showing all your saved logins
- You can view, edit, or remove individual entries here
- Unfortunately, Firefox does NOT have a native “Export” button in the UI
Step 4: Use Firefox Profile Directory Method (Advanced)
Since Firefox lacks a built-in export function, you’ll need to access the profile folder directly:
On Windows:
- Press Windows Key + R to open the Run dialog
- Type:
%APPDATA%\Mozilla\Firefox\Profiles - Press Enter
- Open the folder with a random name (e.g.,
abc123de.default-release) - Look for files named logins.json and key4.db
- Copy these files to a secure location
On Mac:
- Open Finder
- Press Cmd + Shift + G (Go to Folder)
- Paste:
~/Library/Application Support/Firefox/Profiles - Open your profile folder (the one with a random name)
- Locate logins.json and key4.db
- Copy both files to a backup location
On Linux:
- Open a file manager or terminal
- Navigate to:
~/.mozilla/firefox/ - Find your profile folder
- Copy logins.json and key4.db
Step 5: Use a Third-Party Firefox Export Tool (Recommended)
For easier password export, use browser extensions or dedicated tools:
- Bitwarden Firefox Extension: Has built-in import functionality that can directly read Firefox passwords
- 1Password Import: 1Password provides detailed instructions and tools for importing Firefox credentials
- Online converters: Some password managers offer web-based import wizards
Step 6: Import Into Your Password Manager
- Open your destination password manager (Bitwarden, 1Password, etc.)
- Look for an Import option in settings
- Select Firefox as the source
- The tool will automatically locate and import your Firefox credentials
How to Export Passwords from Safari
Step 1: Open Safari Preferences
- Launch Safari on your Mac (Safari doesn’t have a Windows version)
- Click the Safari menu in the top menu bar
- Select Preferences (or use Cmd + ,)
Step 2: Navigate to Passwords
- Click the Passwords tab
- You’ll see a list of all saved passwords in Safari
- Note: Unlike Chrome and Firefox, Safari does NOT have a direct export feature
Step 3: Manual Export Option
Safari requires more manual work. You have three options:
Option A: Use iCloud Keychain with a Password Manager
- Many password managers (1Password, Bitwarden) have direct iCloud Keychain integration
- Open your password manager and look for Import from iCloud Keychain
- Authenticate with your Apple ID
- Select passwords to import
Option B: Export via macOS Keychain Access (Advanced)
- Open Keychain Access from Applications → Utilities
- Select login in the left sidebar
- In the category filter, ensure Passwords is visible
- Select all password entries (Cmd + A)
- Right-click and choose Copy (this copies to clipboard in unencrypted form)
- Paste into a text editor and save as a CSV
- Important: Delete this file immediately after importing
Option C: Use a Password Manager with Safari Integration (Recommended)
- Install password manager extensions in Safari (1Password, Bitwarden, LastPass all support this)
- Use the extension’s built-in import wizard
- The tool will automatically scan Safari’s stored passwords
- Confirm and import with one click
Step 4: Verify Import Completion
- Check your destination password manager to confirm all passwords imported correctly
- Count the total entries to ensure nothing was missed
- Test login functionality on a few key accounts
Importing Into Your Destination Password Manager
General Steps for Most Password Managers
- Create an account: Sign up for Bitwarden, 1Password, LastPass, or your chosen manager
- Enable two-factor authentication: Set up 2FA before importing passwords
- Find import option: Look in Settings → Import Data or Tools → Import
- Select browser source: Choose Chrome, Firefox, or Safari
- Upload CSV file: Some managers require you to upload the exported CSV; others can auto-detect
- Review import summary: Confirm the number of items being imported
- Complete import: Click Import and wait for processing to finish
- Delete export file: Securely remove the CSV from your device
Troubleshooting Common Export Issues
| Issue | Solution |
|---|---|
| “Export passwords” option not visible in Chrome | Update Chrome to the latest version. The export feature was added in Chrome 86 (2020). Go to Chrome menu → About Chrome to update. |
| Firefox logins.json file is encrypted | Firefox uses master password encryption. You need both logins.json AND key4.db files, or use a password manager with Firefox import support. |
| Safari export shows “Permission Denied” | Ensure you’re running the latest macOS version. You may need to grant Keychain Access permissions in System Preferences → Security & Privacy. |
| CSV file won’t import to new password manager | Check that the CSV format matches expectations. Most managers need columns: website, username, password. Some may need url instead of website. |
| Import shows fewer passwords than exported | Some entries may have been skipped due to invalid formatting or duplicate URLs. Check the import log for details and manually add missing entries. |
| Duplicate passwords after import | If you’ve imported multiple times, review your password manager’s library and manually delete duplicates. Use the “Duplicate Detection” tool if available. |
Best Practices After Exporting
- Test before deleting: Log into 3-5 accounts using your new password manager to verify imports worked
- Keep browser passwords temporarily: Don’t delete browser passwords immediately; wait 1-2 weeks to ensure everything works
- Update weak passwords: Use this opportunity to strengthen old passwords. Most password managers have security audit features
- Add missing two-factor authentication: For critical accounts (email, banking), enable 2FA in addition to strong passwords
- Sync across devices: Set up your password manager on all devices (phone, tablet, other computers)
- Backup your password manager: Most reputable managers back up to the cloud automatically, but verify this in settings
- Review and organize: Use folders or tags in your new password manager to organize passwords by category
Final Thoughts
Exporting passwords from your browser to a dedicated password manager is one of the most important cybersecurity improvements you can make. Browser password storage lacks the advanced encryption, cross-platform synchronization, and security audit features of purpose-built password managers. By following this guide, you’ll ensure a smooth migration while maintaining the security of your digital accounts.
Remember: the security of your passwords depends not just on the tool, but on your behavior. Choose a strong master password, enable two-factor authentication, and never share your password manager login details with anyone.
