- https://www.sqlite.org/download.html // Precompiled binaries with .exe file
- Get your history file from chrome folder // C:\Users\username\AppData\Local\Google\Chrome\User Data\Default\History
- Put the contents in same folder.
- Add this path to environment variables.
1) sqlite3 // enters sqlite3
2) .open History
3) .headers on
4) .mode csv
5) .output url.csv
6) select datetime(last_visit_time/1000000-11644473600,'unixepoch') as 'lastVisited',* from urls;
// Paste the following code in the empty cell of the first row, and "double click" the + sign to copy the formula to all cells in the column.
=IF(ISERROR(FIND("//www.",C2)),MID(C2,FIND(":",C2,4)+3,FIND("/",C2,9)-FIND(":",C2,4)-3),MID(C2,FIND(":",C2,4)+7,FIND("/",C2,9)-FIND(":",C2,4)-7))
// Copy the column and paste in notepad
- Edit -> Line Operations -> Sort lines lexicograpgically
- Edit -> Line operations -> Remove consecutive Duplicate lines