Import bookmarks, history, and passwords in Safari on Mac
If Google Chrome or Mozilla Firefox is your default browser, you can automatically import your bookmarks, history, and passwords when you first start using Safari, or manually import them later.
You can also import bookmarks that were exported in HTML format from Microsoft Internet Explorer, Netscape Navigator, OmniWeb, Mozilla Firefox, and Google Chrome. And you can import passwords that were exported to a CSV file from a password app or another browser.
Imported bookmarks appear after your existing bookmarks.
Imported history appears with your existing history.
Imported passwords go into your iCloud Keychain, so you can autofill sign-in information on websites.
Automatically import from Chrome or Firefox
Open the Safari app on your Mac.
If this is the first time you’ve opened Safari after using Google Chrome or Mozilla Firefox, a message at the bottom of the start page asks you if you want to keep imported items.
Select an option:
Keep your imported items: Safari keeps your imported bookmarks, history, and passwords from Chrome and Firefox.
Remove your imported items: Safari removes your imported items.
Decide later: Return to the start page and import the items at another time. To see the start page, choose Bookmarks > Show Start Page.
Manually import items from Chrome or Firefox
In the Safari app on your Mac, choose File > Import From > Google Chrome or File > Import From > Firefox.
You can do this any time after you start using Safari, even if you imported items already.
You must have Chrome or Firefox installed on your Mac to import.
Select the items you want to import.
Click Import.
Import a bookmarks file
In the Safari app on your Mac, choose File > Import From > Bookmarks HTML File.
Select the HTML file to import.
Click Import.
After you import bookmarks, they appear in the sidebar under Bookmarks in a new folder whose name begins with “Imported” and ends with the date.
Import a passwords file
In the Safari app on your Mac, choose File > Import From > Passwords CSV File.
Select the CSV file to import.
Click Import.
Enter the login password for your Mac.
If a password you’re importing doesn’t match a password you’ve saved to your Mac, you can see the related account, user name, and password saved to your Mac, then choose which one to keep. See At least one password wasn’t imported.
Click Delete “filename.csv” to protect the security of your accounts.
WARNING: The CSV file is not encrypted, and anyone reading the file can see your passwords.
Export a bookmarks file
In the Safari app on your Mac, choose File > Export > Bookmarks.
The exported file is called “Safari Bookmarks.html.”
To use the exported bookmarks in another browser, import the file named “Safari Bookmarks.html.”
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.