1

How-To export all "Keychain Access" passwords into plain text. I wish to search for specific passwords, because some of my passwords were leaked.

I did a web search and found Import and export keychain items using Keychain Access on Mac from support.apple.com.

You can export some keychain items (for example, certificates and keys) from one computer and then import them into Keychain Access on another.

Note: You can’t export passwords from Keychain Access.

Is there no workaround to export all passwords?

Some of my passwords are compromised and I don't know exactly what (which services..) I used them for. Unfortunately I had made password-reuse, shame on me.

Sybil
  • 3,937
  • 14
  • 48
  • 81

1 Answers1

1

System Settings

Check the Security Recommendations for your credentials in System Settings on macOS 14. This should list compromised entries.

The ▼ … button within System Settings > Passwords includes an Export All Passwords… menu item.

Export Keychain Files

If your passwords are stored in local keychain files, and not on Apple's servers, then you can use Keysafe to export the contents to a text based file:

./keysafe -path ~/Library/Keychains/login.keychain-db -export ~/Desktop/exported.tgz

I wrote keysafe to be able to access my credentials without needing a Mac and to be able to bulk export my Keychain files.

Keysafe is not free and requires a licence to see the encrypted contents; without a licence the contents are hidden.

Graham Miln
  • 43,776