Trying to export Keychain Access webform passwords. When I select one, the export option is greyed out. It doesn't matter which one I select, they are all greyed out and cannot be exported. How can I move these to a new laptop?

  • Use the Migration tool, or sync to iCloud. – Tetsujin Mar 13 at 11:11
  • Is your new laptop also a Mac? – Nic Mar 13 at 16:15

When using the Keychain Access application, only Certificates and Private Keys can be exported. It is not possible to to export Passwords or Notes using Keychain Access.

Migrating to a new Mac

If you're migrating to a new Mac, this is easy. Just connect your Apple ID and enable Keychain syncing with iCloud. Then when you log into your new Mac and connect the same Apple ID, your keychain contents will automatically download and sync across.

Exporting from the command line

If you really want to export your passwords, perhaps because your new laptop isn't a Mac or because you want to use a different password manager, there are ways to do that on the command-line. There's a method using security dump-keychain but that prompts for your password for every single item. To avoid typing your password many times, you can automate this with AppleScript. Or if you're using a version of macOS prior to Mojave, you might be able to use a third-party tool called keychaindump.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .