Skip to main content

Export Firefox Sessions to the bookmarks or HTML files

If you have configured Firefox to load the tabs from last time on start you are using sessions in the web browser. I use this feature to continue work where I left of without having to worry about saving site information each time before I close the browser.

Sessions do work well most of the time and Mozilla has improved how session restore is handled by Firefox recently as well to make the feature more robust and less error prone.

One of the things that Firefox is not supporting out of the box is an option to export session information into different formats.

While you can save individual tabs to the bookmarks of the browser to save information about these sites permanently in Firefox, it is the only option available and only feasible to save individual sites.

That's where Firefox add-ons such as Session Exporter come into play. The free extension adds options to save Firefox sessions to HTML files or to save the open websites to the bookmarks.

After you have installed the extension in the browser you may notice a new icon that it adds to the main Firefox toolbar. You can move the icon away from there or hide it completely but you will lose access to the functionality as it is the only option to use it.

firefox export sessions

It provides the following core options:

  1. Save the current session (meaning the sites that are open right now in Firefox) to a HTML file (with or without tab history) or the bookmarks.
  2. Save one or multiple session files to a HTML file or the bookmarks.
  3. Export the bookmark folder to a HTML file.

As you can see from that list, the extension supports exporting the current session or previous session. Firefox stores previous sessions in the user's profile directory from where they are accessible.

You may want to open the preferences of Session Exporter before you start exporting sessions.

session exporter preferences

There you find options to change the input and output folder. The former can be useful if you want to export sessions from a portable Firefox installation for example.

The handling of duplicate tabs can also be configured in the preferences. It may make sense to enable the skipping of duplicate tabs when you are exporting sessions, especially when you are exporting multiple.

Session Exporter supports Tab Groups and will sort those groups accordingly.

Closing Words

Session Exporter is an excellent program for Firefox users who want to export the current session or session files stored in Firefox's profile directory to HTML or the browser's bookmarks.

This can be useful for a variety of purposes. Maybe you want to access all sites on a remote computer or the Internet, or save all sites to the bookmarks for safe keeping after you have completed a day of research.

This article was first seen on ComTek's "TekBits" Technology News

HOME