I use multiple Google Chrome profiles, each logged in with a different account.

What I would like to be able to do is if I open a URL in an external app (such as Mail), it would open the correct profile based on the domain.

https://personal.com would be opened in profile "Personal" https://company.com would be opened in profile "Business"

By default, Chrome uses the last opened profile.


Google provides what you need. However, this is a part of Enterprise. You can setup what the link and how it does work in GPE. The link: Configure which browsers to open with LBS . I recommend use something like google.exe --app=http://example.com --user-data-dir:/home/example/.config/chrome/ for a policy.

  • Does this only work on Windows? How to I get the google CLI tool on macOS? Nov 11 '19 at 8:47
  • If you didn't rename the chrome app: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app=http://example.com
    – Esolitos
    Feb 17 '20 at 18:58

I got this solved using https://www.choosyosx.com/. Works perfectly for the use case I needed and even opens correctly links in native apps like Slack or Notion.


I achieved something similar with the chrome extension I built, CopyTabs (https://chrome.google.com/webstore/detail/copytabs/obkbjogekcjalnaebheboejhfkamadkg). It is able to open current tabs, selected tabs or windows, in the current chrome user profile, another chrome user profile or another browser entirely.

It doesn't do exactly what's asked as in having https://personal.com open in profile "Personal" and https://company.com open in profile "Business", but if https://personal.com opens in profile "Business" it allows you to move it to profile "Personal".

I made use of chrome.exe --profile-directory="profileName" to open URLs in a selected profile from a handler that runs on the user's machine. The command makes use of the internal names of the profiles, for example --profile-directory="Profile1" instead of --profile-directory="My Name As Profile".

Hope it's useful.

  • Doesn't work for macOS :( Nov 11 '19 at 8:54
  • @felixfbecker there is a relatively simple way to do this on MacOS. I tested it out and it works. Create two desktops. Put profile1 on desktop1 and profile2 on desktop2. Let's say I have a link in Slack I want to click. My work Slack account is also up on desktop1. Even if I have last used profile2, the link is opened in the profile that is currently open on desktop1. So generally, desktop1 is for work apps, and desktop2 is for personal apps. Aug 20 '20 at 20:27

Seems like Browser Chooser 2 can do this on Windows. It seems to be a good alternative to the OSX exclusive app Choosy.

  • 2
    Please see How do I recommend software in my answers? Most importantly, describe how the software answers the question, and disclose any association that you have with the product. Apr 4 '20 at 14:51
  • For me, Browser Chooser 2 works perfectly to separate my private and business chrome profile. You can also define "rules" for which URL which chrome-profile should be used, exactly what I was looking for. Thank you for the recommendation @John
    – 2h4u
    May 12 at 5:24

I believe that Account Surfer should be able to do the things that you're looking for. Here's an overview from Windows store:

Quickly switch between accounts and browsers with Account Surfer.

Decide what account or browser to use when opening the link. Read more: https://dospolov.com/posts/handle-chrome-profiles-with-account-surfer https://trello.com/b/QOLCmlg3/account-surfer-roadmap

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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