Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Google Chrome, is there a built-in method to make an HTML file I can save to my local machine, like the file for bookmarks?

If not, is there an extension that does the same?

share|improve this question
add comment

4 Answers

up vote 3 down vote accepted

It's even simpler than using an extension: the History page in Chrome is already an HTML page, as are all the other panes and pages in Chrome.

Simply right-click on an empty part of the page, select Save As... and save as full HTML. If you re-open in Chrome, it'd render the same, icons and all. If you try opening the resulting page in a different browser, you'd still get all the history data, just not the styles and icons.

share|improve this answer
    
God Forbid! Google ever think to make that obvious on the History page as they do with the GUI on the Bookmarks Manager page. Cool. –  MountainMan May 31 '13 at 22:30
    
Actually, that doesn't really work, because the history is iframed and paged, so you only get a tiny little bit of your browsing history. –  Quandary Sep 7 '13 at 18:15
    
It worked on Chrome 28 on my Mac. But even if it doesn't work for you, right click in the I frame and choose "save frame source" –  Traveling Tech Guy Sep 8 '13 at 6:03
    
Even if it works, it will only grab the current results, not the whole history. –  Synetech Dec 28 '13 at 21:15
add comment

I just created a Chrome extension that exports your Chrome history in csv and json called Export History.

You can open the json file in Chrome and view it like a webpage if you install the JSONView extension, and can open the csv file in Excel or Numbers.

share|improve this answer
add comment

In Mac:

sudo port install sqlite3
cd /Library/Application Support/Google/Chrome/Default
sqlite3 History "select datetime(last_visit_time/1000000-11644473600,'unixepoch'),url from  urls order by last_visit_time desc" > ~/history_export.txt 

In Windows:

cd C:\Users\Sashka\AppData\Local\Google\Chrome\User Data\Default
sqlite History "select datetime(last_visit_time/1000000-11644473600,'unixepoch'),url from  urls order by last_visit_time desc" > history_export.txt

This could take a really long time if you are on Windows and do not have SSD.

share|improve this answer
    
And where does the HTML part come in? –  Synetech Dec 28 '13 at 21:16
    
That's a plain text. However it could be useful for Mac users because the previous method works only in Windows –  Antonio Dec 28 '13 at 22:18
    
Yes, I know, but the question is about how the Chrome history can be exported to HTML, not plain-text. –  Synetech Dec 28 '13 at 22:20
add comment

There is a tool called Chrome History View that exports to several different formats, including HTML. There is a writeup of the tool here.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.