60

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.

5 Answers 5

43

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

10
  • 3
    This only shows the tabs that have already been closed. I don't feel that it answers the question of "current session". Sep 11, 2017 at 4:58
  • 7
    Actually, I changed my mind. I think it answers the question but it's incomplete. If the tabs are too old, they don't show up in the list, but we can use the workaround suggested by @Luke Flegg. Also, stale entries appear in the "Tabs from other devices" list. Sep 11, 2017 at 6:16
  • 3
    As @TomAnderson says, this only shows a list of recent tabs, not the list of actually open tabs. In other words, there's no correlation to whether the tabs are currently open or have been closed, only to whether they've been recently visited.
    – waldyrious
    Feb 14, 2018 at 9:55
  • 1
    @TomAnderson Update: Now it works for all tabs - old and new alike.
    – ankit
    Dec 27, 2019 at 11:47
  • 2
    As of October 2020, this still shows only a tiny fraction of open tabs for me -- the ones that were recently loaded. If I was asking the question, I would not accept this answer. Oct 31, 2020 at 20:34
35

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
7
  • 1
    Wow, amazing solution!
    – James EJ
    Feb 12, 2021 at 14:00
  • 3
    Amazing. This is the only solution that works with ALL tabs, unlimited numbers, including the new Chrome Mobile feature of "Tab Groups"! Copying the json list into an editor and a bit of regex magic, I got it into an excel in a few minutes.
    – Underlines
    Feb 14, 2021 at 16:40
  • Works brilliantly. Thanks for this (and to Marcin Piczkowski for originally documenting the idea)!
    – Garrulinae
    May 17, 2021 at 0:46
  • 1
    FYI they seem to be discussing removing this feature: bugs.chromium.org/p/chromium/issues/detail?id=1232509 They are leaning away from providing a human-friendly interface for "security reasons" and towards an API approach intended for use by automated testing tools and such. The localhost:9222 page is marked as deprecated, and they recommend using chrome://inspect instead. While that does provide a list of all currently-open tabs, it does not currently provide the full URL of each open tab, at least not in any human-friendly way I can see. We will need a new solution soon.
    – Adrian
    Dec 6, 2021 at 18:45
  • 2
    As of 9th May 2022, it still works. I had more than 500 tabs and wanted to save them. Huge thanks for this May 9, 2022 at 21:24
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.

7
  • 4
    I agree that this is an answer. The "Tabs from other devices" response by @Hex does work but only if the tabs aren't too old. If they are too old, then this workaround can fix it. I just refreshed 134 tabs on my Android. It took around five minutes so it is possible to do but very annoying. Sep 11, 2017 at 6:19
  • 2
    I just found a solution to avoid the annoying process of refreshing all tabs one by one. If you go to your Google Android settings section and you click in your Google account preferences (the avatar), you can force a toggle on/off/on to get all the tabs synced. Jan 1, 2018 at 19:51
  • 1
    @FerranBasora "Google Android settings" - where is this? on the mobile? Feb 3, 2018 at 19:12
  • 2
    @lifebalance I think FerranBasora meant Account settings. Usually in Android settings you can find accounts that are synced. Like Microsoft live accounts or Google accounts. When you locate the google account you use for your chrome, you open its sync settings and find "Chrome". Turn that off and on again — force sync. Worked for me with over 100 tabs
    – Ev0oD
    Sep 25, 2019 at 11:10
  • Now no longer do we need to update tabs. The problem is finally sorted.
    – ankit
    Dec 27, 2019 at 11:48
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
2
  • How is this solution even relevant. This does not answer the question at all. Dec 6, 2021 at 21:17
  • @TedTaylorofLife As stated "For those who can switch browsers". Seeing this method might move someone in the direction of using a different browser
    – Jonta
    Dec 7, 2021 at 23:21
1

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.

2
  • Fyi, the accepted solution above requires no hassle at all and works exactly as intended - it immediately copies ALL open tabs from the phone to the desktop!
    – MiG
    Mar 1, 2022 at 7:10
  • It's definitely worth trying that first, but in my case on a 2 year old phone chrome://history/syncedTabs only opened the most recent ~30 tabs (of ~900). I didn't try anything fancy like toggling sync to force a refresh; perhaps that would have helped. (FWIW I have tab groups enabled, but was missing ungrouped tabs too.) Mar 1, 2022 at 12:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.