Open Safari and click on File in the top menu. Select “Export Bookmarks” and choose a location on your Mac in the window that appears.