Export passwords
>Whether you want to use a password manager like 1Password, set up a new Mac without Keychain in iCloud, or just want a copy for reference, exporting your passwords from Safari or the Passwords pane is a great solution. It’s available in the Export item in Safari’s File menu, and the More button at the foot of the Passwords section in the app preferences or Passwords.
This exports them in CSV format, ready to import into Safari on another Mac, or most password managers. Some expect the order of fields to be different, in which case, open the file in Numbers, reorder the columns, and export it to another CSV file. Don’t forget to make it inaccessible to others by encrypting it, perhaps keeping the copy in an encrypted disk image.