The Chromium Projects

Except as otherwise noted, the content of this page is licensed under a Creative Commons Attribution 2.5 license, and examples are licensed under the BSD License.

The Chromium OS designs and code are preliminary. Expect them to evolve.
User Experience‎ > ‎

User Data Directory

The user data directory contains data specific to a given user. Some examples of this type of data are: history, bookmarks, and cookies. Note that in both XP and Vista, the profile name is included in the directory hierarchy.

Default Location

Windows XP

Google Chrome: C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default
Chromium: C:\Documents and Settings\<username>\Local Settings\Application Data\Chromium\User Data\Default

Vista

Google Chrome: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default
Chromium: C:\Users\<username>\AppData\Local\Chromium\User Data\Default

Mac OS X

Google Chrome: ~/Library/Application Support/Google/Chrome/Default
Chromium: ~/Library/Application Support/Chromium/Default

Linux

Google Chrome: ~/.config/google-chrome/Default
Chromium: ~/.config/chromium/Default

The cache directory follows the XDG specs:
Google Chrome: $XDG_CACHE_HOME/google-chrome, which defaults to ~/.cache/google-chrome
Chromium: $XDG_CACHE_HOME/chromium, which defaults to ~/.cache/chromium
If you pass --user-data-dir=/path/to/foo, the cache will be under /path/to/foo.

Custom Location

You can also start Chrome with a custom user data directory. To do this, add the --user-data-dir flag to chrome.exe, like this: chrome.exe --user-data-dir=c:\foo.