If you’re like most people, you rely on your browser’s bookmarks to help you navigate the web. But what if something happens and you can’t access your browser bookmarks? Or worse, what if something happens to your computer and all of your browser bookmarks are lost? Fortunately, it’s easy to back up and migrate your browser bookmarks. Here are four tips on how to do it:

  1. Make a backup of your browser’s settings. This includes everything from the default search engine to the list of installed plugins. You can also back up your browsing history by clicking the “History” button in the toolbar and selecting “Back Up History Now.”
  2. Create a new bookmark folder. This is where you’ll store all of your new bookmark files. To do this, open up Firefox or Chrome and click on the “Bookmarks” menu item (or press Ctrl+D). Then, select “New Bookmark Folder.” Name this folder whatever you want and click OK.
  3. Import your old bookmark files into the new bookmark folder. To do this, open up Firefox or Chrome and click on the “Bookmarks” menu item (or press Ctrl+D). Then, select “Import Bookmark Files.” Select all of the files that you want to import (by clicking on them) and click OK.
  4. Export your new bookmark folders as a file format (.xbm). To do this, open up Firefox or Chrome and click on the “Bookmarks” menu item (or press Ctrl+D). Then, select “Export Bookmark Folder.” Select “.xbm” as the file format and click OK. ..

Most of our browser data isn’t too important—cookies expire, and histories eventually get cleared. Bookmarks are different, though, which is why browsers allow you to import and export your bookmarks—ideal for creating backups and migrating between browsers.

Most browsers can export your bookmarks to an HTML file. Some do it natively, while others require an add-on, extension, or a third-party program. Most browsers can also import these HTML files, so you can use this trick to move bookmarks among the browsers you use. We’ll show you how to export bookmarks to an HTML file and import bookmarks from an HTML file in Chrome, Firefox, Internet Explorer, Edge, and Opera.

Google Chrome

To import or export bookmarks in Chrome, click the Chrome menu icon at the top-right corner of your browser window, and go to Bookmarks > Bookmark manager. You can also quickly open the Bookmark manager by pressing Ctrl+Shift+O.

The Bookmark Manager opens on a new tab. Click “Organize” and select “Export bookmarks to HTML file”. (If you’re importing from an HTML file you already have, choose “Import bookmarks from HTML File.)

RELATED: How to Set Your Default Apps in Windows 10

On the Save As dialog box, Chrome will automatically give the HTML file a name containing the current date. Navigate to where you want to save this file and change the file name if you want. Since we’re going to be exporting bookmarks from different browsers, we added the name of the browser to the file name. Click “Save”.

NOTE: In the image below, the Save as type is Firefox HTML Document because we have that set as the default app for HTML files. The exported HTML file can be opened in any browser.

If you’re importing an HTML bookmarks file, select the HTML file on the Open dialog box that displays.

Bookmarks imported from an HTML file are put into a folder called Imported.

To close the Bookmark Manager, click the close (X) button on the tab.

Mozilla Firefox

To import or export bookmarks in Firefox, press Ctrl+Shift+B to open the Library window. Then, click “Import and Backup” and select “Export Bookmarks to HTML”. (The Backup option will create a .json file, which other browsers can’t open.)

To import bookmarks from an HTML file you exported from Firefox or any other browser, select the Import Bookmarks from HTML option here.

When exporting bookmarks, Firefox names the backup file “bookmarks.html” by default. You may want to change the File name and add more information, such as the date and the browser name.

If you’re importing an HTML bookmarks file, select the HTML file on the Import Bookmarks File dialog box that displays.

Bookmarks imported from an HTML file are added to the Bookmarks Menu. If you want to put them on the Bookmarks bar, drag and drop them from the Bookmarks Menu to the Bookmarks Toolbar in the tree structure on the left.

Click the “X” in the upper-right corner of the Library window to close it.

Internet Explorer

To import or export bookmarks in Internet Explorer, click the star-shaped favorites icon.

Click the arrow on the right side of the “Add to favorites” button.

Then, select “Import and Export” from the drop-down menu.

On the first screen of the Import/Export Settings dialog box, select the “Export to a file” option (or select the “Import from a file” option if you’re importing bookmarks from an HTML file) and click “Next”.

Whether your exporting or importing bookmarks, check the “Favorites” box and click “Next”.

If you’re exporting bookmarks, select the favorites you want to export—to export all your favorites, select the Favorites folder at the top. (It’s selected by default.) Then, click “Next”.

If you’re importing bookmarks, this screen displays later in the procedure.

When exporting bookmarks, the HTML file is named bookmark.htm by default and will be saved to the Documents folder. However, we want to change the file name and save it to a different location, so, we click “Browse”.

If you’re importing bookmarks, click “Browse” to select the HTML file to import.

If you’re exporting bookmarks to an HTML file, the Select Bookmark File dialog box displays. Navigate to where you want to save the HTML file and change the File name, if you want. We added the date and the browser name to our HTML file name. Click “Save”.

If you’re importing an HTML bookmarks file, select the HTML file on the Select Bookmark File dialog box that displays and click “Open”.

If you’re exporting bookmarks, even though you clicked “Save” on the Select Bookmark File dialog box, you must click “Export” on the Import/Export Settings dialog box to finish exporting the HTML file.

If you’re importing bookmarks, the following screen now displays on the Import/Export Settings dialog box. Select the folder into which you want to import the bookmarks. To place the bookmarks on the Favorites bar, select the Favorites Bar folder in the tree here. Then, click “Import”.

Click “Finish” to close the Import/Export Settings dialog box.

Microsoft Edge

There is no built-in method of exporting bookmarks to an HTML file in Microsoft Edge. However, Edge does have a built-in feature that allows you to import bookmarks directly from Internet Explorer, Chrome, and Firefox. If you want to back them up to an HTML file, there is a free third-party tool called Edge Manage that can do so. Let’s start with the built-in feature first.

Click the Hub button on the toolbar in the upper-right corner of the browser window.

The hub pane slides out from the right. Click the star icon on the toolbar at the top of the pane to display the Favorites, if they’re not already showing. Then, click the “Settings” link.

In the Import favorites section, select the browsers from which you want to import bookmarks and click “Import”.

Depending on how many bookmarks you are importing, the process most likely happens quickly and you’ll see an “All done!” message below the Import button.

To get back to the Favorites list, click the Hub button once to close the right pane and again to re-open it. Your imported bookmarks are put into “Imported from…” folders and are not available on the Favorites Bar. To add an imported bookmark to the Favorites Bar, simply drag and drop it from one of the Imported folders to the Favorites Bar folder.

Now, we’ll show you how to export bookmarks to an HTML file and import bookmarks from an HTML file using Edge Manage. Download Edge Manage and make sure Edge is closed before installing and running Edge Manage.

Select a folder of Favorites to export. Selecting the Top folder (the default selection) will select all the Favorites in all subfolders, including the Favorites Bar.

To export bookmarks to an HTML file, go to Data > Export to HTML file.

To import bookmarks from an HTML file you exported from Microsoft Edge or any other browser, go to Data > Import from HTML file.

If you’re exporting bookmarks to an HTML file, the Save As dialog box displays. Navigate to where you want to save the HTML file. By default, the File name is bookmark.htm but you can change this, if you want. Like we’ve been doing, we added the browser name and the date to the file name. Click “Save”.

If you’re importing an HTML bookmarks file, select the HTML file on the Open dialog box that displays and click “Open”.

A dialog box displays when the export (or import) is complete. Click “OK” to close it.

Imported bookmarks are put in the Top folder, but you can drag and drop them to any other folder.

If you’ve imported or rearranged bookmarks, you need to save your changes. To do this, go to File > Save Changes and then click “OK” on the Success dialog box that displays.

Close Edge Manage either by going to File > Exit or by clicking the “X” in the upper-right corner of the window.

Edge Manage has many other features for managing your favorites, such as viewing all your favorites and folders in a graphical tree, move favorites and folders around with drag-and-drop, renaming favorites and folders, and importing favorites from an HTML bookmarks file, just like you just exported. See their website for additional features and descriptions of the options available in the program.

Opera

Opera does not have a built-in way to export bookmarks into an HTML file. However, there is an add-on available on the official Opera add-ons website, called Bookmarks Import & Export. Visit the webpage for the add-on and click “Add to Opera”.

A button for the add-on is added to the toolbar to the right of the address box. Normally, you would click this button to open the add-on. However, when you first install the add-on, it opens on a new tab automatically.

To export your Opera bookmarks, click “Export” on the Bookmarks Import & Export add-on tab.

To import bookmarks from an HTML file you exported from Opera or any other browser, click the “Choose File” button to select an HTML file to import on the Open dialog box, and then click the “Import” button.

When exporting your bookmarks to an HTML file, the Save As dialog box displays after clicking Export. Navigate to where you want to save the HTML file. By default, the File name is Bookmarks.html, but you can change the name, adding information such as the date and the browser name. Click “Save”.

A popup displays when the download of the exported bookmarks is complete and the number of bookmarks saved displays below the Import/Export box.

To close the Bookmarks Import & Export add-on, click the “X” on the right side of the tab.

If you’ve imported bookmarks, they are put into a folder called Imported bookmarks. (You can manage your bookmarks by clicking on the Opera Menu and going to Bookmarks > Show all bookmarks.)

Store the HTML bookmark file in a safe place if you are using it as a backup. While browsers have cloud-syncing solutions that synchronize your favorites between a computers, most browsers don’t have a “roll back” option. If you accidentally delete bookmarks on one computer or the sync service makes a mistake, you could lose your bookmarks. A backup HTML file will allow you to get them back.