Is there a way to export the entire browser history from Chrome under Android, in any file format (csv, xml, whatever)?
I have Chrome 42.0.2311.111 under Android 4.2.2.
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
This may be more than a year late to this question, but...
You can use Google Takeout to download a json file of your Android Chrome history.
You can also download your bookmarks, along with a lot of other Google data.
Chrome doesn't allow backup using ADB and there are no extensions available for mobile version so you should have root access before you proceed further.
History file from the location
/data/data/com.android.chrome/app_chrome/Default/ into PC. A Root Explorer may help.
Both has the option under menu bar to export the database into an SQL file or a particular table into CSV file.
Well at least you now know where the history is stored, so you may find a relevant software to directly export the database into a CSV or XML file.
If the tabs are still open you may find the following useful, via dev.to - When you never close tabs on your mobile Chrome browser. Not quite a solution here, but was what I was looking for when I came across this question.
Settings > About Phone > Build Numberand tapping 7 times
Settings > Developer optionsor
Settings > System > Advanced > Developer options. This menu will only be visible after the previous step.
./adb devices -l. You may need to configure adb and grant permission from your phone.
Once your phone is set up with
adb you can:
# Connect to Chrome Android's legacy debugging API ./adb forward tcp:9222 localabstract:chrome_devtools_remote # Visit http://localhost:9222 to verify, then curl http://localhost:9222/json/list > mobile-tabs.json