67

I know that I can go to history section in desktop and there I can locate the history of android tabs separately and then can open the tabs one by one.

But I want to transfer all of my current Android session to desktop at once without going through the arduous process of locations URLs in history one by one and then opening them.

Giacomo1968
  • 58,727
ankit
  • 965

5 Answers5

51

Use Tabs from other devices on the left of History (you can go straight to chrome://history/syncedTabs), click on Open all in menu () on the right.

chrome://history/syncedTabs

Hex
  • 1,352
44

A somewhat working solution is found here:
https://dev.to/piczmar_0/when-you-never-close-tabs-on-your-mobile-chrome-browser-2boj

I wonder if it preserves the order of the open tabs, this is crucial for me.

# First enable USB debugging on phone and connect via USB
# Then install android developer tools

Verify device is connected and permissions granted

./adb devices -l

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

James EJ
  • 179
Petrus K.
  • 541
23

The only workaround (if you can even call it that) is refreshing the tabs on my phone, one by one. Then they appear on my desktop. This isn't viable when you have hundreds of open tabs on the phone.

Mokubai
  • 95,412
2

A clunky partial solution is to connect your phone to a computer over USB and use Chrome devtools to view the list of tabs open on the phone. This seems to get all the tabs, not just the recent ones.

Caveat: Titles and URLs are each truncated to the first 100 characters if they were longer than that. For example here's a tab whose title and URL are truncated to 100 characters:

Research shows natural language benchmarks don't measure AI models' general knowledge well | Venture…
https://venturebeat.com/2020/08/12/natural-language-benchmarks-dont-measure-ai-models-general-knowle…

The truncation isn't ideal, but 100 chars of title + 100 chars of URL is often still enough to find the page again in a search engine. The tabs seem to be in roughly the same order as the tab switcher, with occasional exceptions.

Steps

Follow https://developer.chrome.com/docs/devtools/remote-debugging/ for the full details of setting up remote devtools, but the high level steps are:

  1. Enable USB Debugging on your Android device.

  2. Go to chrome://inspect#devices in Chrome on your computer.

  3. Ensure the Discover USB Devices checkbox is enabled.

  4. Connect your Android device to your computer via a USB cable.

  5. Accept the Allow USB Debugging prompt on your Android device (if applicable).

  6. Open Chrome on your Android device.

  7. After a few seconds, a list of the titles and URLs of all open websites on your phone should appear in the chrome://inspect#devices tab on your computer. Copy-paste the list to a text file.

John Mellor
  • 1,721
  • 1
  • 11
  • 6
1

How can I export the list of open Chrome tabs? (Android.StackExchange.com. Currently highest voted under tag chrome-for-android)

Firefox-solution:

(for those who can switch browsers)

Synced tabs

Last time I tested Google Chrome's solution, it only got 20 tabs at a time.

  1. Make sure your PC is synced with the Android-device
  2. Disconnect the computer from the internet (if you have hundreds of tabs open)
  3. Sync-sidebar: Right click device
  4. Open All In Tabs
  5. Firefox gives up loading them after a while because you're not connected to the internet (much faster on Ubuntu than macOS)
  6. Right click a tab -> Select all tabs
  7. Right click a tab -> Bookmark All Tabs
Jonta
  • 129