Export Safari bookmarks in three steps

Open Safari and go to File in the menu bar, then select Export Bookmarks. Choose where you want to save the file — your Desktop, Documents folder, or any other location — and click Save. Safari creates an HTML file that contains all your bookmarks, which you can then back up, email, or import into another browser.

The exported file is a standard HTML document, so it works across devices and browsers. You can open it in any web browser to view your bookmarks as a webpage, or import it back into Safari or another browser later. The process takes less than a minute and requires no special software.

Key Takeaways

  • Safari exports bookmarks as an HTML file through File > Export Bookmarks, which you can save anywhere on your computer.
  • The exported file works on any device and can be imported into Safari, Chrome, Firefox, or Edge on Windows or Mac.
  • Exporting creates a snapshot of your bookmarks at that moment — it does not automatically update if you add new bookmarks later.
  • You can email the HTML file to yourself, upload it to cloud storage, or keep it on an external drive as a backup.

Where the exported file goes and what it contains

When you click Save after exporting, Safari asks you to choose a location. Most people save to Desktop or Documents for straightforward access. The file is named Bookmarks.html by default, though you can rename it to something more specific like "Safari Bookmarks 2024" if you export multiple times.

The HTML file contains every bookmark in your Safari library, organized into the same folders you created. If you have a folder called "News Sites" with ten bookmarks inside, that structure appears in the exported file. You can open the file in any web browser and click the links directly, or import it into Safari or another browser to restore your bookmarks.

Importing bookmarks from an exported file

To bring bookmarks back into Safari from an exported HTML file, go to File and select Import From, then choose Bookmarks HTML File. Navigate to the HTML file you saved and click Open. Safari adds all the bookmarks from that file into a new folder called "Imported" in your bookmarks sidebar.

This is useful if you are switching back to Safari after using another browser, or if you want to restore bookmarks from an older backup. The imported bookmarks appear as a separate folder so you can review them before moving them into your existing folders. You can drag bookmarks out of the "Imported" folder and organize them however you want.

Moving exported bookmarks to another browser

The HTML file Safari creates works in Chrome, Firefox, and Edge on both Mac and Windows. In Chrome, click the three-dot menu, go to Bookmarks, then select Import Bookmarks and Settings. Choose the HTML file and click Open. Firefox uses Bookmarks > Manage Bookmarks > Import and Backup > Import Bookmarks from HTML. Edge has the same process as Chrome.

Each browser imports the bookmarks into its own folder structure, so you may need to reorganize them afterward. The links themselves remain unchanged, and you keep all the bookmark titles and folder organization from Safari. This makes it straightforward to switch browsers without losing your saved links.

Backing up bookmarks to cloud storage

After exporting your bookmarks to an HTML file, you can upload it to iCloud Drive, Google Drive, Dropbox, or OneDrive to keep a copy in the cloud. This protects your bookmarks if your computer fails or gets lost. Open your cloud storage app or website, create a folder called "Backups," and drag the Bookmarks.html file into it.

You can also email the file to yourself as a backup method. Open your email, create a new message, attach the Bookmarks.html file, and send it to your own email address. This creates a timestamped record of your bookmarks and gives you access from any device. If you export bookmarks regularly — say, once a month — you build a history of your bookmarks over time.

Exporting only specific bookmark folders

Safari's export function saves all bookmarks at once, but you can work around this if you only want to back up certain folders. Create a new bookmark folder, drag the bookmarks you want to export into it, then export all bookmarks and delete the ones you do not need from the HTML file. Alternatively, you can open the exported HTML file in a text editor and manually remove the bookmark entries you do not want to keep.

If you regularly need to export the same set of bookmarks — for example, work-related sites or research links — consider keeping those bookmarks in a dedicated folder. Then you can export all bookmarks and straightforward ignore the folders you do not need, or ask someone else to import only the folder they need.

What happens if you add bookmarks after exporting

The exported HTML file is a snapshot of your bookmarks at the moment you saved it. If you add new bookmarks to Safari after exporting, those new bookmarks do not automatically appear in the file. You need to export again to capture the new bookmarks. This means if you want a current backup, you should export regularly — weekly, monthly, or whenever you add a significant number of new bookmarks.

This is different from iCloud sync, which updates your bookmarks across all your Apple devices in real time. Exporting is a manual process, so it only captures what you have at that exact moment. If you want both automatic syncing and manual backups, you can use iCloud for day-to-day sync and export to HTML periodically for long-term storage.

Frequently Asked Questions

Can I export bookmarks from Safari on iPhone or iPad?

Safari on iOS and iPadOS does not have a built-in export function. Your best option is to use iCloud to sync bookmarks to a Mac or Windows computer, then export from Safari on that device. Alternatively, you can use a third-party app designed for bookmark management, though this requires moving your bookmarks manually.

What if the exported HTML file will not open in another browser?

Make sure the file still has the .html extension — if it was renamed to .txt or another format, rename it back to .html. Try opening it in a different browser to rule out a single browser issue. If the file is corrupted, export your bookmarks again from Safari. Very large bookmark collections occasionally cause import issues; if that happens, try splitting the bookmarks into smaller groups and exporting them separately.

Does exporting bookmarks remove them from Safari?

No. Exporting creates a copy of your bookmarks in a separate file. Your bookmarks remain in Safari unchanged. You can export as many times as you want without affecting what is stored in your browser.

Can I password-protect the exported bookmarks file?

The HTML file itself cannot be password-protected through Safari. However, you can encrypt the file using your operating system — on Mac, right-click the file and select Compress, then password-protect the resulting zip file. On Windows, use the built-in encryption or third-party software. This adds a layer of security if you are storing sensitive bookmarks.