Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Copy History data

more options

Is there a way to copy the History data (for pasting into Word, Excel or a text-editor)?


I have a desktop PC Firefox 140.0.4 (64-bit) Windows 11

Is there a way to copy the History data (for pasting into Word, Excel or a text-editor)? I have a desktop PC Firefox 140.0.4 (64-bit) Windows 11

All Replies (12)

more options

Hello

Save the history of the sites visited? https://support.mozilla.org/en-US/questions/1521409 If you wish to try SQLiteStudio

Helpful?

more options

So there is no way to copy the History data?

Helpful?

more options

How much data? All the data? You can use the following external program to pull data in various formats:

https://www.nirsoft.net/utils/mozilla_history_view.html

After pulling the results and selecting what you want to save, click the disk icon to pull up a Save As folder browser and you can choose CSV or another format of your choice.

Helpful?

more options

There's no shortcut (like Ctrl+C)?

Helpful?

more options

Yes, you can use Ctrl+C:

(1) Open the Library window using either

  • Ctrl+Shift+H
  • menu button > History > Manage history
  • (menu bar or Alt+S) History > Show All History

(2) Display your list - either a date-banded list based on a category you select in the left column or the results of a search using the tiny box at the upper right

(3) Use Ctrl+A to "Select All" on your list and then use Ctrl+C

Depending on where you paste, you may get different results (Firefox will populate the URLs for plain text clients, and hyperlinks for clients that accept HTML pastes).

Helpful?

more options

I followed (1), (2) and (3) but only the information in the "Location" column is pasted (not the information in the "Most Recent Visit" and "Name" columns)

Helpful?

more options

If you paste into Word, you should get links with the title as the visible text and the URL as the URL. Obviously not the most useful format. It is not possible to Ctrl+C the Most Recent Visit column.

Helpful?

more options

(That's why I use the Nirsoft program)

Helpful?

more options

The Most Recent Time is what I need

Helpful?

more options

Understood. I don't think there is an internal feature to copy/export that column. Either an external program or extension would be your best bet.

Helpful?

more options

I use Excel to look at the 'guts' of the sqlite database that drives Firefox - namely places.sqlite.

You can use PowerQuery and the Excel data management features to connect to this file like any data source, and operate on the tables and fields in Excel. Each table imports to a separate sheet, and the data in the workbook can be updated on opening etc.

I am on this forum because the exported items in Excel now have meaningless dates/times as per snip attached. These are in 'epoch' format which a simple formula converts to a 'real' date. BUT the raw data is not 'real' - it's the SAME for all the entries. (~1970).

This is baffling to me as I did this years ago without a problem. Anyone any ideas?

[update] I followed the advice and installed the sqlite studio (nice!) and saw the 'real' dates - bingo! So the question is why is Excel (or the OBDC plugin for Sqlite3) failing to read the data correctly??

(maybe this is the wrong forum, but worth a try!)

Modified by Hangman

Helpful?

more options

Hangman said

So the question is why is Excel (or the OBDC plugin for Sqlite3) failing to read the data correctly??

When I check the value in your screenshot (2147483647), it converts to January 19, 2038 3:14:07 AM. So I don't think that is a date string. Based on an online search, I think it is the maximum integer size, suggesting that either Excel or something upstream choked on a large number.

In places.sqlite, the dates are stored in microseconds – they have an extra 3 digits beyond dates stored in milliseconds:

1748475343605000

It sounds like PowerQuery or your ODBC driver (or Excel?) is not able to handle the date in microseconds, or perhaps there is a toggle somewhere you need to flip.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.