Move Passwords from Safari to a Password Manager
In this article
Moving your saved passwords from Safari to a dedicated password manager (like 1Password, Bitwarden, or Dashlane) keeps them secure, synced across devices, and easier to manage. This guide walks you through exporting your Safari passwords and importing them into your new manager. Before you start, make sure you know your Mac's login password and have your password manager installed and set up.
What You'll Need
- A Mac running macOS Monterey or later (for the built-in export feature).
- Your Mac's login password (admin password).
- A password manager app installed and an account created.
- Optional: a USB drive or secure cloud storage if you want to keep a backup of the exported file.
Step-by-Step
- Open Safari and go to Settings. Launch Safari, then click Safari in the menu bar (top-left) and select Settings (or Preferences in older macOS versions).
- Go to the Passwords tab. Click the Passwords icon at the top of the Settings window. You'll be prompted to enter your Mac's login password or use Touch ID to unlock the password list.
- Export your passwords. In the Passwords tab, click the gear icon (or the ellipsis menu) in the lower-left corner. Choose Export All Passwords… from the dropdown menu.
- Confirm the export warning. A dialog will appear warning that the exported file will not be protected by Safari. Click Export Passwords to continue.
- Save the CSV file. Choose a location for the exported file (e.g., Desktop or Downloads). It will be saved as
Passwords.csv. You can rename it if you like, but keep the .csv extension. - Open your password manager. Launch the password manager app on your Mac. Go to its import feature—usually found under File > Import, or in the app's settings under Import Data.
- Select the CSV file. In the import dialog, choose the CSV file you exported from Safari. Some managers may ask you to map fields (e.g., URL, Username, Password) to their own format—usually they auto-detect these.
- Start the import. Click Import or Open. The manager will read the file and add the passwords to your vault. After the import completes, you'll see a confirmation message.
- Delete the CSV file securely. Once the import is successful, delete the exported CSV file from your Mac. Use Secure Empty Trash if available, or simply move it to Trash and empty it. This prevents anyone else from reading your passwords in plain text.
Common Mistakes
- Leaving the CSV file on your desktop. The exported file is not encrypted. If you leave it lying around, anyone with access to your Mac can open it and see all your passwords.
- Importing into the wrong vault. If your password manager has multiple vaults (e.g., personal and work), make sure you're importing into the correct one. Otherwise, you might mix passwords and cause confusion.
- Skipping the field mapping. Some managers require you to manually match CSV columns to their fields. If you skip this, the import may fail or create entries with missing data.
- Not checking for duplicates. After import, you may have duplicate entries if you already had some passwords stored in the manager. Use the manager's duplicate-finding tool to clean up.
Tips
- Use a strong master password. Your password manager is only as secure as its master password. Make it long, unique, and enable two-factor authentication if available.
- Update passwords after import. If any of your passwords are weak or reused, change them now. The import is a good time to audit your security.
- Keep Safari's iCloud Keychain enabled for a while. Some apps may still rely on it. You can disable it later once you're confident everything works with your new manager.
- Use the manager's browser extension. Install the extension for Safari to autofill passwords on websites. This replaces Safari's built-in autofill.
Troubleshooting
Export option is grayed out. This happens if you have not unlocked the Passwords tab. Enter your Mac password or use Touch ID. If it's still grayed out, make sure you're running macOS Monterey or later.
CSV file won't import. Check that the file is not open in another program (like Excel). Close it and try again. Also, verify that the CSV has the correct columns: usually Title, URL, Username, Password, and Notes. If your manager expects different headers, rename them accordingly.
Passwords are missing after import. Some managers may skip entries with empty fields. Review the CSV for blank rows or missing usernames/passwords. You can manually add those entries.
Import says 'success' but nothing appears. This can happen if you imported into a different vault or if the manager filtered out duplicates. Check your other vaults and look for a 'duplicates' filter.
Frequently Asked Questions
Can I export passwords from Safari on iPhone or iPad?
No, the export feature is only available on Mac. On iOS/iPadOS, you can enable iCloud Keychain and then export from a Mac that uses the same Apple ID.
Will my passwords be deleted from Safari after export?
No, exporting only creates a copy. Your passwords remain in Safari until you manually delete them.
Is it safe to export passwords to a CSV file?
It's safe as long as you delete the file immediately after importing. The CSV is unencrypted, so treat it like a physical key.
Can I import the CSV into any password manager?
Most major password managers support CSV import. Check your manager's documentation to confirm the exact format required.
What if I don't have a Mac?
If you only have a Windows PC or Linux, you can still access your iCloud Keychain passwords by going to iCloud.com > Passwords, but you cannot export them directly. You may need to manually copy them or use a third-party tool.
How do I stop Safari from asking to save passwords after moving to a new manager?
In Safari Settings > Passwords, turn off 'AutoFill Passwords' and also disable 'Save Passwords' in the AutoFill section. This prevents Safari from offering to save new passwords.