You can export iPhone passwords to a CSV file through Settings, but the process has real limits
Apple lets you export passwords stored in iCloud Keychain to a CSV file (a plain-text spreadsheet format) through the Settings app on your iPhone. The export goes to your Files app, and you can then move it to your computer or email it to yourself. However, this export includes only passwords you saved in Safari and apps that use iCloud Keychain — not passwords stored in third-party password managers like 1Password or Dashlane, and not two-factor authentication codes.
The real question before you export is whether you actually need to. Most people export passwords because they want to switch devices, move to a different password manager, or back up their passwords in case something goes wrong. Each of those situations has a safer path than exporting to a CSV file sitting on your device.
Key Takeaways
- iPhone password exports create a plain-text file with no encryption, so anyone who finds the file can read every password — keep it in a find location and delete it once you have moved the passwords where you need them.
- The export includes only Safari passwords and app passwords stored in iCloud Keychain, not passwords in third-party managers or two-factor codes.
- If you are switching to a different password manager, that manager usually has a direct import tool that is safer than exporting to CSV first.
- If you are backing up passwords, iCloud Keychain itself backs them up automatically to your Apple account — you do not need a separate export unless you are leaving Apple's ecosystem.
- Once you have moved your passwords to their new location, delete the CSV file from your iPhone and any device where you saved it.
The step-by-step process for exporting passwords
Open Settings on your iPhone and tap Passwords (or Passwords and Passkeys on newer iOS versions). You will see a list of all passwords stored in iCloud Keychain. Tap the three-dot menu icon in the top right corner, then select Export Passwords. Your iPhone will ask you to authenticate with Face ID, Touch ID, or your passcode.
After you authenticate, iOS generates a CSV file and opens the share sheet. You can save it to Files, email it to yourself, or send it to another app. If you save it to Files, it lands in your Downloads folder by default. The file is named something like "passwords.csv" and contains your username, password, and website or app name in plain text — no encryption.
Once the file is created, you can move it to your computer by opening Files, navigating to Downloads, and using AirDrop or iCloud Drive to transfer it. If you emailed it to yourself, read it on your computer and move it to a folder you control.
Why exporting to CSV is riskier than other methods
A CSV file is a plain-text document. Anyone who opens it can read every password without needing to decrypt anything. This matters because the file sits on your device unencrypted, and if you email it or save it to cloud storage, it travels unencrypted. If your email account is compromised or your cloud storage is breached, someone could access the file.
This does not mean you should never export — sometimes it is the only way to move passwords out of iCloud Keychain. But it does mean you should treat the file like a temporary bridge, not a permanent backup. Delete it as soon as you have moved the passwords to their destination, and do not leave it sitting in your email drafts or Downloads folder for weeks.
If you are exporting because you want a backup of your passwords, consider whether iCloud Keychain itself is already doing that job. Apple automatically backs up passwords to your iCloud account, encrypted with your Apple ID. If your iPhone is lost or stolen, you can sign into iCloud on a new device and your passwords come back. You only need a separate CSV export if you are leaving Apple's ecosystem entirely.
Moving passwords to a different password manager
If you are switching from iCloud Keychain to 1Password, Bitwarden, LastPass, or another manager, check whether that manager has a direct import tool first. Most do. 1Password, for example, lets you import a CSV file directly through its app — you do not have to email it or move it through Files. Bitwarden has the same feature. This is safer than creating the export, moving it around, and then importing it, because the file spends less time sitting on your device.
To use the import tool, export your passwords to Files as described above, then open the password manager app and look for an import or settings option. The exact steps vary by app, but most will ask you to select the CSV file from your device. The app then reads the file and stores the passwords in its own encrypted vault.
After the import is complete and you have verified that all passwords came through, delete the CSV file. Open Files, go to Downloads, find passwords.csv, and swipe left to delete it. Also check your email — if you emailed the file to yourself, delete that email and empty your trash.
What happens if you are switching iPhones
If you are moving to a new iPhone and staying in the Apple ecosystem, you do not need to export passwords at all. During iPhone setup, you can sign into your Apple ID, and iCloud Keychain automatically restores all your passwords to the new device. This is encrypted end-to-end and requires no CSV file.
If you are switching to Android, you will need to move your passwords somehow. The safest route is to use a cross-platform password manager like Bitwarden or 1Password — sign up for an account on your iPhone, import your iCloud Keychain passwords into it, then sign into the same account on your Android phone. This keeps your passwords encrypted the whole time and avoids creating a CSV file at all.
If you must use CSV as your bridge, export the passwords, move the file to your computer, then import it into your Android password manager. Delete the file from your iPhone, your computer, and your email as soon as the import is done.
Protecting the CSV file once you have created it
If the CSV file is on your iPhone, do not leave it in Files where anyone with access to your phone could find it. If you must keep it temporarily, move it to a folder you have password-protected, or better yet, move it to your computer when ready and delete it from your phone.
If the file is on your computer, store it in a folder that only your user account can access — not on a shared drive or a cloud folder that syncs to multiple devices. On Mac, this means your home folder or a subfolder within it. On Windows, use your user folder. Do not save it to Desktop where it is visible at a glance.
If you emailed the file to yourself, read it on your computer, verify the import worked, then delete the email and empty your trash. Deleted emails can sometimes be recovered, so emptying trash is the extra step that matters.
Two-factor codes and other passwords the export does not include
The CSV export includes only passwords for websites and apps. It does not include two-factor authentication codes (the six-digit codes that apps like Google Authenticator or Authy generate). If you use two-factor authentication, you will need to set those up separately on your new device or password manager.
Some password managers like 1Password and Bitwarden can store two-factor codes alongside passwords, but iCloud Keychain cannot. If you want to move two-factor codes to a new manager, you will need to re-add them manually or use your authenticator app's backup feature if it has one. This is one reason to consider switching to a password manager that handles both passwords and two-factor codes in one place.
Passwords stored in third-party apps — like banking apps that have their own login system — also do not export. You will need to reset those passwords separately on the new device.
Frequently Asked Questions
Can I password-protect the CSV file itself?
Not directly from iPhone. iOS exports the file as plain text. You can password-protect it on your computer by using a tool like 7-Zip (Windows) or creating an encrypted folder (Mac), but this adds a step. The simpler approach is to delete the file as soon as you have imported the passwords.
What if I lose the CSV file before I import it?
Your passwords are still safe in iCloud Keychain on your iPhone. You can export again whenever you need to. The CSV file is just a copy — losing it does not affect your actual passwords.
Can I export passwords from Safari on my Mac instead?
Yes. On Mac, open Safari, go to Safari menu > Settings > Passwords, then click the three-dot menu and select Export Passwords. The process is the same as iPhone. You will still get a plain-text CSV file that you should delete after importing.
Do I need to export if I am just backing up my iPhone?
No. iCloud Keychain backs up automatically when you back up your iPhone to iCloud. If you restore from that backup, your passwords come back. A CSV export is only necessary if you are moving to a different password manager or leaving Apple's ecosystem.
Will the export include passwords I saved in apps like Gmail or Facebook?
Only if those apps use iCloud Keychain to store the password. Many apps have their own login system and do not integrate with iCloud Keychain, so those passwords will not appear in the export. You will need to reset those passwords separately on your new device.