Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to export the history from chrome so I can keep track of things like, for example, how many wikipedia articles I've looked at in the last week - all I'm really looking for is a url and a timestamp (I'm on a mac, if it turns out you can do this from the command line)

Where would I start? Would be great if it was the sort of thing that I could run as a cronjob...

share|improve this question
I believe Chrome stores its history in an SQLite3 database. You could look for tools which can view such a file. – iglvzx Nov 21 '11 at 22:51

Close Chrome, then from enter the following in your command line (the exact paths will vary, the following are for Mac OS X):

 /usr/bin/sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History > history.log <<EOF
 select * from urls;

The history will then be in a file called history.log in your home directory (or any directory you switched to in Terminal)

share|improve this answer
Or copy the History db file to elsewhere in the filesystem and do the sqlite analysis w/o having to quit Chrome. – Doug Harris Jun 29 '12 at 13:44

I just created a Chrome extension that exports your Chrome history in csv and json called Export History, and it works on mac (and linux and windows).

share|improve this answer

Also take a look at the History Trends Unlimited extension (full disclosure: I'm the developer). It does some of the analysis for you, but also has the option to export your history so you can do your own.

share|improve this answer

Your Answer


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.