User Agents

Web browsers and everyday web tech, explained

Copy Export URLs of All Opened Tabs in Firefox

· 6 min read · Browsers

In this article
  1. Why You Might Need to Export Tab URLs
  2. How to Copy All Tab URLs in Firefox (Step-by-Step)
  3. Alternative: Use the Bookmark All Tabs Feature
  4. Using Third-Party Add-Ons for More Control
  5. Common Problems and How to Solve Them
  6. How to Copy URLs from Mobile or Tablet
  7. Safety and Privacy Considerations
  8. Frequently Asked Questions

Copying or exporting the URLs of all opened tabs in Firefox is done by selecting the tabs you want, copying them, and pasting into a text file or spreadsheet—there is no single built-in “export all URLs” button, but the copy-paste method works for all tabs at once. You can also use the address bar’s bookmark-all-tabs feature or a third-party add-on for more control.

Why You Might Need to Export Tab URLs

People often want to save a list of open tabs for later reading, share a research session with a colleague, or back up a working set of links before closing the browser. Manually retyping each URL is tedious and error-prone, especially if you have 20 or 50 tabs open. Firefox’s built-in copy feature lets you grab all URLs in a few clicks, and the resulting list can be pasted into a text file, a spreadsheet, or even a markdown document.

Another common reason is to move a session from one computer to another without using the sync feature. Copying the URLs gives you a portable, plain-text list that you can email to yourself or store in a notes app.

How to Copy All Tab URLs in Firefox (Step-by-Step)

The built-in method works in current Firefox versions (including Firefox for Windows, macOS, and Linux). It does not require any add-ons.

  1. Right-click on any tab in the tab strip (the row of tabs at the top of the window).
  2. From the context menu, choose Select All Tabs. This highlights all open tabs.
  3. Right-click again on any selected tab.
  4. Choose Copy (or Copy Tab depending on your version). This copies the URLs of all selected tabs to the clipboard.
  5. Open a text editor (like Notepad or TextEdit) or a spreadsheet, and paste (Ctrl+V or Cmd+V). You’ll see each URL on a separate line.

If you only want to export a subset of tabs, hold Ctrl (or Cmd on macOS) while clicking the tabs you want, then right-click and copy. The copied list will contain only the selected tabs.

Note: The exact wording of the menu items may differ slightly between Firefox versions (for example, “Copy Tab” vs. “Copy”), but the function remains the same.

Alternative: Use the Bookmark All Tabs Feature

If you prefer to save the URLs as a bookmark folder rather than a plain text list, Firefox has a built-in “Bookmark All Tabs” option. This is useful if you want to restore the set of tabs later with one click.

  1. Right-click on any tab.
  2. Choose Select All Tabs.
  3. Right-click again and choose Bookmark All Tabs (or press Ctrl+Shift+D on Windows/Linux, Cmd+Shift+D on macOS).
  4. In the dialog that appears, give the folder a name and choose where to save it (e.g., Bookmarks Toolbar).
  5. Click Save.

You can later open all those bookmarks at once by right-clicking the folder and choosing “Open All in Tabs.” To get the actual URLs as text, you can export the bookmark folder to HTML (via the Library) and then open that HTML file in a text editor.

Using Third-Party Add-Ons for More Control

If you need to export URLs frequently, a dedicated add-on can give you more options, such as copying titles along with URLs, exporting to CSV, or even copying the list in a specific format (e.g., markdown links). Some popular add-ons include “Copy All Tab URLs” and “Export Tabs URLs.” These are available from the official Firefox Add-ons site. When installing any add-on, check the permissions it requests—some may ask for access to all tabs, which is normal for such tools. Always download from the official site to avoid malicious clones.

Note that add-ons are not necessary for the basic copy function, but they can save time if you do this repeatedly.

Common Problems and How to Solve Them

Sometimes the copy method doesn’t seem to work as expected. Here are a few issues and fixes:

  • Only one URL is copied: Make sure you have selected all tabs (right-click → Select All Tabs) before copying. If you right-click on a tab without selecting all, only that tab’s URL is copied.
  • Pasted list includes “about:newtab” or other internal pages: Firefox copies the URL of every selected tab, including internal pages like the New Tab page. If you don’t want those, close or deselect those tabs before copying.
  • Menu item is grayed out: This can happen if you are in private browsing mode or if the tab strip is not fully loaded. Try restarting Firefox or using the keyboard shortcut (Ctrl+Shift+D for bookmark all tabs) instead.
  • Pasting into Excel splits URLs into multiple columns: This is because Excel treats the newline as a row separator, which is usually what you want. If you need them in a single cell, paste into Notepad first, then copy from there.

How to Copy URLs from Mobile or Tablet

On Firefox for Android or iOS, the process is different because there is no tab strip with a right-click menu. The built-in method does not exist on mobile. However, you can use the “Share” feature on each tab, or use the browser’s “Bookmark All Tabs” if available. On Android, you can long-press the tab overview button, then select “Bookmark all tabs” from the menu. On iOS, you may need to bookmark each tab individually. For a more robust solution, consider using a third-party app that syncs your tabs to a desktop browser, where you can then use the copy method.

Safety and Privacy Considerations

When you copy tab URLs, you are copying the full addresses, which may contain sensitive information such as session tokens, personal identifiers, or login parameters. Be cautious when pasting the list into a chat, email, or public document. Always review the URLs before sharing, and consider using a tool that strips query parameters if you need to share a clean link. Also, if you are using a public or shared computer, clear the clipboard after pasting to avoid leaving sensitive data behind.

In addition, be aware that some add-ons that claim to export tabs may send your browsing data to third parties. Stick to well-reviewed add-ons from the official Mozilla site, and check the permissions they request.

Frequently Asked Questions

Can I copy all tab URLs without selecting them one by one?

Yes. Right-click on any tab and choose “Select All Tabs,” then right-click again and choose “Copy.” This copies all URLs in one go.

Does the copy method work in private browsing mode?

Yes, it works in private windows as well. The copied URLs are not stored by Firefox, but they remain in your clipboard until you copy something else.

How do I export tab URLs as a CSV file?

Copy the URLs as described, then paste them into a text editor. Save the file with a .csv extension, and each line will become a row in a spreadsheet. If you need titles as well, use an add-on like “Copy All Tab URLs” that can format the output as CSV.

Why does copying tabs sometimes copy “about:blank” or empty lines?

This happens if you have tabs that haven’t finished loading or are placeholder tabs. Firefox copies the URL as it appears in the address bar, which might be “about:blank” for a new tab that hasn’t been navigated. Close those tabs before copying if you don’t want them.

Is there a keyboard shortcut to copy all tab URLs?

No, there is no default shortcut for copying URLs. However, you can assign a custom shortcut using an add-on like “Copy All Tab URLs” or use the bookmark-all-tabs shortcut (Ctrl+Shift+D) and then export the bookmarks.

Can I restore a set of tabs from the copied list later?

Not directly. The copied list is just plain text. To restore the tabs, you would need to open each URL manually, or use the bookmark method to save them as a folder and then open that folder. Alternatively, you can use Firefox’s built-in “Restore Previous Session” if you haven’t closed the window.