How to save open tabs's URLs to a file? [duplicate]

Using Chrome, Session Buddy allows you to export a session's links to text/CSV and gives a few different options of showing titles and/or the windows selected.

You can also save sessions, which can be loaded later (reloads all the urls you saved). This sounds like what you are trying to achieve.

Select export option

Export links

There is no manual export to file option, but with the export text, you can save the links your self, then import them later with their import button.

Import links from text input


Using Firefox, if you right click on the tabs, then click Bookmark All Tabs, then you could then re-open all of those tabs within firefox by right clicking on bookmark folder and then click on Open All in Tabs