Export a passwords file
In the Safari app on your Mac, choose File > Export > Passwords.
Click Export Passwords.
WARNING: Your passwords are exported to a CSV file. The CSV file is not encrypted and anyone reading the file can see your passwords.
Enter a name and choose a location for the CSV file, then click Save.
Enter the login password for your Mac.
To use the exported passwords in another browser, import the CSV file you created.