|
| 1 | +# macOS Browser Profile Paths |
| 2 | + |
| 3 | +This document lists the common macOS paths where major browsers store their profile data. This information is essential for the Open With Browser application to automatically discover and launch browser profiles. |
| 4 | + |
| 5 | +## Table of Contents |
| 6 | +- [Chrome (Google Chrome)](#chrome-google-chrome) |
| 7 | +- [Edge (Microsoft Edge)](#edge-microsoft-edge) |
| 8 | +- [Brave Browser](#brave-browser) |
| 9 | +- [Firefox (Mozilla Firefox)](#firefox-mozilla-firefox) |
| 10 | +- [Profile Discovery Notes](#profile-discovery-notes) |
| 11 | +- [Command Line Arguments](#command-line-arguments) |
| 12 | + |
| 13 | +--- |
| 14 | + |
| 15 | +## Chrome (Google Chrome) |
| 16 | + |
| 17 | +### Default Profile Location |
| 18 | +~/Library/Application Support/Google/Chrome/Default |
| 19 | + |
| 20 | +### Named Profiles |
| 21 | +~/Library/Application Support/Google/Chrome/Profile 1 |
| 22 | +~/Library/Application Support/Google/Chrome/Profile 2 |
| 23 | +~/Library/Application Support/Google/Chrome/Profile 3 |
| 24 | +... |
| 25 | + |
| 26 | + |
| 27 | +### Custom Named Profiles |
| 28 | +Chrome supports custom profile directories with descriptive names: |
| 29 | +~/Library/Application Support/Google/Chrome/Profile Work |
| 30 | +~/Library/Application Support/Google/Chrome/Profile Personal |
| 31 | + |
| 32 | + |
| 33 | +**Note**: The names shown in Chrome’s UI (e.g., “Work Profile”, “Personal Profile”) are for display only. Folder names remain in the `Profile X` format. |
| 34 | + |
| 35 | +### Profile Configuration |
| 36 | +- **Preferences file**: `~/Library/Application Support/Google/Chrome/[Profile]/Preferences` |
| 37 | +- **Local State file**: `~/Library/Application Support/Google/Chrome/Local State` |
| 38 | + |
| 39 | +### Expanded Paths (Examples) |
| 40 | +/Users/[Username]/Library/Application Support/Google/Chrome/Default |
| 41 | +/Users/[Username]/Library/Application Support/Google/Chrome/Profile 1 |
| 42 | + |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +## Edge (Microsoft Edge) |
| 47 | + |
| 48 | +### Default Profile Location |
| 49 | +~/Library/Application Support/Microsoft Edge/Default |
| 50 | + |
| 51 | + |
| 52 | +### Named Profiles |
| 53 | +~/Library/Application Support/Microsoft Edge/Profile 1 |
| 54 | +~/Library/Application Support/Microsoft Edge/Profile 2 |
| 55 | +... |
| 56 | + |
| 57 | + |
| 58 | +### Work/School Profiles |
| 59 | +~/Library/Application Support/Microsoft Edge/Profile [ProfileName] |
| 60 | + |
| 61 | + |
| 62 | +**Note**: Edge on macOS uses the same Chromium-based structure as Chrome. |
| 63 | + |
| 64 | +### Profile Configuration |
| 65 | +- **Preferences file**: `~/Library/Application Support/Microsoft Edge/[Profile]/Preferences` |
| 66 | +- **Local State file**: `~/Library/Application Support/Microsoft Edge/Local State` |
| 67 | + |
| 68 | +### Expanded Paths (Examples) |
| 69 | +/Users/[Username]/Library/Application Support/Microsoft Edge/Default |
| 70 | +/Users/[Username]/Library/Application Support/Microsoft Edge/Profile 1 |
| 71 | + |
| 72 | + |
| 73 | +--- |
| 74 | + |
| 75 | +## Brave Browser |
| 76 | + |
| 77 | +### Default Profile Location |
| 78 | +~/Library/Application Support/BraveSoftware/Brave-Browser/Default |
| 79 | + |
| 80 | + |
| 81 | +### Named Profiles |
| 82 | +~/Library/Application Support/BraveSoftware/Brave-Browser/Profile 1 |
| 83 | +~/Library/Application Support/BraveSoftware/Brave-Browser/Profile 2 |
| 84 | +... |
| 85 | + |
| 86 | + |
| 87 | +### Profile Configuration |
| 88 | +- **Preferences file**: `~/Library/Application Support/BraveSoftware/Brave-Browser/[Profile]/Preferences` |
| 89 | +- **Local State file**: `~/Library/Application Support/BraveSoftware/Brave-Browser/Local State` |
| 90 | + |
| 91 | +### Expanded Paths (Examples) |
| 92 | +/Users/[Username]/Library/Application Support/BraveSoftware/Brave-Browser/Default |
| 93 | +/Users/[Username]/Library/Application Support/BraveSoftware/Brave-Browser/Profile 1 |
| 94 | + |
| 95 | + |
| 96 | +--- |
| 97 | + |
| 98 | +## Firefox (Mozilla Firefox) |
| 99 | + |
| 100 | +### Profile Root Directory |
| 101 | +~/Library/Application Support/Firefox/Profiles |
| 102 | + |
| 103 | + |
| 104 | +### Profile Naming Convention |
| 105 | +Firefox uses a unique identifier format: |
| 106 | + |
| 107 | +~/Library/Application Support/Firefox/Profiles/[8-character-hash].default-release |
| 108 | +~/Library/Application Support/Firefox/Profiles/[8-character-hash].default |
| 109 | +~/Library/Application Support/Firefox/Profiles/[8-character-hash].[custom-name] |
| 110 | + |
| 111 | + |
| 112 | +### Profile Configuration |
| 113 | +- **profiles.ini file**: `~/Library/Application Support/Firefox/profiles.ini` |
| 114 | +- **installs.ini file**: `~/Library/Application Support/Firefox/installs.ini` |
| 115 | + |
| 116 | +### Profile Directory Examples |
| 117 | +/Users/[Username]/Library/Application Support/Firefox/Profiles/abc12345.default-release |
| 118 | +/Users/[Username]/Library/Application Support/Firefox/Profiles/def67890.work |
| 119 | + |
| 120 | +### Firefox Profile Discovery |
| 121 | +To discover Firefox profiles programmatically, read the `profiles.ini` file: |
| 122 | + |
| 123 | +```ini |
| 124 | +[Profile0] |
| 125 | +Name=default-release |
| 126 | +IsRelative=1 |
| 127 | +Path=Profiles/abc12345.default-release |
| 128 | +Default=1 |
| 129 | + |
| 130 | +[Profile1] |
| 131 | +Name=work |
| 132 | +IsRelative=1 |
| 133 | +Path=Profiles/def67890.work |
| 134 | +``` |
| 135 | + |
| 136 | +## Profile Discovery Notes |
| 137 | + |
| 138 | +For Chromium-based browsers (Chrome, Edge, Brave): |
| 139 | +- Profiles are stored under `~/Library/Application Support/<Browser>/`. |
| 140 | +- Each profile has its own `Preferences` file. |
| 141 | +- The `Local State` file lists available profiles under `profile.info_cache`. |
| 142 | + |
| 143 | +For Firefox: |
| 144 | +- Profiles are stored under `~/Library/Application Support/Firefox/Profiles`. |
| 145 | +- Profile names and paths can be discovered by parsing the `profiles.ini` file. |
| 146 | + |
| 147 | +--- |
| 148 | + |
| 149 | +## Command Line Arguments |
| 150 | + |
| 151 | +You can launch browsers with a specific profile on macOS using: |
| 152 | + |
| 153 | +```bash |
| 154 | +# Chrome |
| 155 | +"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --profile-directory="Profile 1" |
| 156 | + |
| 157 | +# Edge |
| 158 | +"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" --profile-directory="Default" |
| 159 | + |
| 160 | +# Brave |
| 161 | +"/Applications/Brave Browser.app/Contents/MacOS/Brave Browser" --profile-directory="Profile 2" |
| 162 | + |
| 163 | +# Firefox |
| 164 | +/Applications/Firefox.app/Contents/MacOS/firefox -P "work" |
| 165 | + |
| 166 | +``` |
| 167 | + |
| 168 | +## Last Updated |
| 169 | +October 2025 |
0 commit comments