---
title: "How to open links in a specific Firefox profile · Profile Porter"
description: "Firefox sends every link from another app to one profile. How to open a link in the Firefox profile you want: the command line, containers, and a link router that picks the profile for you."
url: "https://profileporter.com/how-to/firefox-open-links-in-profile/"
---

How to

# How to open links in a specific Firefox profile

Updated 18 November 2026

You keep work and personal in separate Firefox profiles, but a link from Slack or Mail always lands in the same one. Firefox has no setting to choose. Here's why, and three ways to open each link in the profile you want.

On this page

1. [Why Firefox uses the same profile every time](https://profileporter.com/how-to/firefox-open-links-in-profile/#why)
2. [One link: the command line](https://profileporter.com/how-to/firefox-open-links-in-profile/#command)
3. [Inside one profile: containers](https://profileporter.com/how-to/firefox-open-links-in-profile/#containers)
4. [Links from other apps: a link router](https://profileporter.com/how-to/firefox-open-links-in-profile/#routers)
5. [Without rules: the profile where you use the site](https://profileporter.com/how-to/firefox-open-links-in-profile/#porter)

## Why Firefox uses the same profile every time

Your computer sends a clicked link to the default browser. Firefox gets the link without any hint of which profile it belongs in, so it sends it to one profile, usually the one marked as default in `about:profiles`. People have asked for a choice on Mozilla's support forum since at least 2021.

You can change which profile gets the links there, with **Set as default profile**. But it's still one profile for every link. And if you moved to Firefox's new profile menu, the setting is harder to find: "how to set a default profile in the new profile manager" is one of the most-answered Firefox profile questions on r/firefox.

## One link: the command line

Firefox opens a link in a profile you name when you start it with `--profile` and the profile's folder. To find the folder, open `about:profiles` and copy the **Root Directory** of the profile. Then, on a Mac:

```
open -na Firefox --args --profile "$HOME/Library/Application Support/Firefox/Profiles/x8k2p1q0.work" --new-tab "https://github.com"
```

On Windows:

```
"C:\Program Files\Mozilla Firefox\firefox.exe" --profile "C:\Users\sam\AppData\Roaming\Mozilla\Firefox\Profiles\x8k2p1q0.work" --new-tab "https://github.com"
```

If that profile is already open, the link goes to a new tab there; if not, Firefox starts it. It's good for scripts and shortcuts, but it doesn't help with links you click in other apps.

## Inside one profile: containers

If you only need separate sign-ins, Firefox's Multi-Account Containers keep work and personal apart in one profile. A link from another app still opens outside any container, unless you add the **Open external links in a container** add-on. It lets a link name its container with an `ext+container:` address, which a link router can use.

## Links from other apps: a link router

A link router becomes your default browser and hands each link to the browser and profile you choose. Most only handle Chrome-style profiles. For Firefox, check which kind of profile a router supports: [Velja](https://profileporter.com/compare/velja/) opens only the new-style profiles, and [Finicky](https://profileporter.com/compare/finicky/) has Firefox profiles only in its 4.4 alpha.

With rules, you also write one per site: _github.com goes to Work_. A site you use in both profiles needs a prompt.

## Without rules: the profile where you use the site

[Profile Porter](https://profileporter.com/) opens each link in the Firefox profile where you use that site. It reads your history and sign-in cookies on your computer, so the GitHub link goes to Work and the YouTube link to Personal, with no rules to write.

- Old-style and new-style Firefox profiles, and other Firefox-based browsers.
- Containers show up as profiles of their own, once the **Open external links in a container** add-on is installed.
- Chrome, Edge, Brave and Safari profiles too, so one link can move from Firefox to Chrome if that's where you use the site.
- When two profiles are close, it asks, and remembers your answer.

Get Profile Porter for €12, once.

Everything included, no account, and a full refund within 14 days if it isn't for you. macOS 14 or later; on Windows 10 and 11, [get it from the Microsoft Store](https://apps.microsoft.com/detail/9N5C3B974DL2).

[Download](https://profileporter.com/download/)

## Related

- [How to open links in a specific Chrome profile](https://profileporter.com/how-to/open-links-in-chrome-profile/)
- [How to use a different browser for each website on a Mac](https://profileporter.com/how-to/default-browser-per-website-mac/)
- [How to open links in a specific Safari profile on a Mac](https://profileporter.com/how-to/safari-open-links-in-profile/)
- [Profile Porter vs Finicky, Velja, Choosy and other link routers](https://profileporter.com/compare/)
