How to get the history of your browser to a readable file

How do I access Chrome’s history

Then you should go to your Chrome directory (eg. in my case “C:\Users\Sashka\AppData\Local\Google\Chrome\User Data\Default”)
locate History file
run in command prompt

sqlite History “select datetime(last_visit_time/1000000-11644473600,’unixepoch’),url from urls order by last_visit_time desc” > history_export.txt

make sure the quote are correct on unixepoch‘, otherwise you will get any error.
Error: no such column: unixepoch

How to access firefox history and save it to html

then you should go to your firefox directory (eg. in my case “C:\Users\Sashka\AppData\Roaming\Mozilla\Firefox\Profiles\uylxvnle.default”) the location of places.sqlite

open the location using the program. (right click on the history and unselect unneeded columns, then HTML report – All itmes.