I lost a load of open tabs in Firefox that I want to recover. The details are in the browsing history but it is not the most friendly area of Firefox to wade through. The Export option there actually exports bookmarks. I want to export my browsing history as a text file so I can search, dedup, etc in a text editor. I can not work out a way of exporting the browsing history so any suggestions much appreciated.
Firefox 3.5.5 Windows XP Pro
26 Answers
Browsing history is stored in a file called places.sqlite in your profile folder. On Windows it is located in the randomly named .default folder found in this directory:
%APPDATA%\Mozilla\Firefox\Profiles
This file format is not easily edited in a text file, but you can use SQLite Database Browser (free and open source) to view the file.
3For modern era (it's March 2014 as I write this) Firefox users on Windows machines, you can give Nirsoft's Firefox History Viewer a try:
Not sure if it can read the (very old and outdated) history.dat format, but it can filter, slice, dice, chop, puree, scramble, and otherwise do all kinds of fancy things (but it cannot make your coffee and serve it to you, sorry!) with the history data in the "places.sqlite" format, and then export it to several common formats ranging from text to html to csv to xml to whatever.
1Use the History Export add-on which can export to .html, .txt and .json (this also work on Mac OS X, though doesn't appear to support formats besides .txt)
1- Sort history using
view->By Site, orview->By Date, orview->By Site and Date - right click on any site or date
- click
copy - To get just the URLs, paste in a text editor
- To get hyperlinks, paste into something that supports hyperlinks (for e.g.) word.
No add-on required.
2An alternative to what's listed here is the add-on "Enhanced History Manager", which essentially allows you to do what you're talking about.
3You can try using FEBE addon, which provides backups of many itens, including the history as JSON file.
2FEBE (Firefox Environment Backup Extension) allows you to quickly and easily backup your Firefox extensions. In fact, it goes beyond just backing up -- It will actually rebuild your extensions individually into installable .xpi files.