Chrome Local App Data Mac
Introduction
The user data directory contains profile data such as history, bookmarks, and cookies, as well as other per-installation local state.
Mar 15, 2012 I was seeing this folder in my appdata folder for long time and seems it contains updates to chrome. Here is the full path, AppDataLocalGoogleChromeApplication. It contains some other files and specifically two folders named, 17.0.963.56 and 17.0.963.79, which are named exactly as chrome.
Each profile is a subdirectory (often Default
) within the user data directory.
Current Location
To determine the user data directory for a running Chrome instance: Easy vhs to dvd mac.
- Navigate to
chrome://version
- Look for the
Profile Path
field. This gives the path to the profile directory. - The user data directory is the parent of the profile directory.
Example (Windows):
- [Profile Path]
C:UsersAliceAppDataLocalGoogleChromeUser DataDefault
- [User Data Dir]
C:UsersAliceAppDataLocalGoogleChromeUser Data
Default Location
The default location of the user data directory is computed by chrome::GetDefaultUserDataDirectory
.
Generally it varies by
- OS platform,
- branding (Chrome vs. Chromium, based on
is_chrome_branded
in GN args), and - release channel (stable / beta / dev / canary).
Windows
The default location is in the local app data folder:
- [Chrome]
%LOCALAPPDATA%GoogleChromeUser Data
- [Chrome Canary]
%LOCALAPPDATA%GoogleChrome SxSUser Data
- [Chromium]
%LOCALAPPDATA%ChromiumUser Data
(The canary channel suffix is determined using InstallConstants::install_suffix
.)
Mac OS X
The default location is in the Application Support
folder:
- [Chrome]
~/Library/Application Support/Google/Chrome
- [Chrome Canary]
~/Library/Application Support/Google/Chrome Canary
- [Chromium]
~/Library/Application Support/Chromium
(The canary channel suffix is determined using the CrProductDirName
key in the browser app's Info.plist
.)
Linux
The default location is in ~/.config
:
- [Chrome Stable]
~/.config/google-chrome
- [Chrome Beta]
~/.config/google-chrome-beta
- [Chrome Dev]
~/.config/google-chrome-unstable
- [Chromium]
~/.config/chromium
(The beta and dev channel suffixes are determined from $CHROME_VERSION_EXTRA
, which is passed by the launch wrapper script.)
The ~/.config
portion of the default location can be overridden by $CHROME_CONFIG_HOME
(since M61) or by $XDG_CONFIG_HOME
.
Note that $XDG_CONFIG_HOME
affects all applications conforming to the XDG Base Directory Spec, while $CHROME_CONFIG_HOME
is specific to Chrome and Chromium.
Chrome OS
The default location is: /home/chronos
Android
Chrome Local Appdata Mac Password
The default location comes from Context.getDir and is specific to the app.
Example: /data/user/0/com.android.chrome/app_chrome
iOS
The default location is inside the application support directory in the app sandbox.
- [Chrome]
Library/Application Support/Google/Chrome
- [Chromium]
Library/Application Support/Chromium
Overriding the User Data Directory
Command Line
On all platforms, the user data directory can be overridden by passing the --user-data-dir
command-line flag to the Chrome binary.
Example:
- [Windows]
chrome.exe --user-data-dir=c:foo
- [Linux]
google-chrome --user-data-dir=/path/to/foo
Environment (Linux)
On Linux, the user data directory can also be overridden with the $CHROME_USER_DATA_DIR
environment variable.
The --user-data-dir
flag takes precedence if both are present.
Chrome Remote Desktop sessions (Linux)
A single Chrome instance cannot show windows on multiple X displays, and two running Chrome instances cannot share the same user data directory. Therefore, it's desirable for Chrome to have a separate user data directory when running inside a Chrome Remote Desktop (CRD) virtual session on a Linux host.
By default, CRD achieves this by setting $CHROME_USER_DATA_DIR
in the session. Unfortunately this means that inside the session we don't get separate defaults for different channels (Stable, Beta, Dev) or for Chrome vs. Chromium. This can lead to profile version errors (“Your profile can not be used because it is from a newer version of Google Chrome”).
Since M61, this can be solved by setting $CHROME_CONFIG_HOME
instead of $CHROME_USER_DATA_DIR
. Specifically, put the following in ~/.chrome-remote-desktop-session
:
Then restart the host by running: /etc/init.d/chrome-remote-desktop restart
Writing an AppleScript wrapper (Mac OS X)
On Mac OS X, you can create an application that runs Chrome with a custom --user-data-dir
:
Open Applications > Utilities > Script Editor.
Enter:
Modify as needed for your installation path, Chrome versus Chromium, and desired user data directory.
Save the script in your Applications directory with the file format “Application”.
Close the Script Editor, find your newly created application, and run it. This opens a Chrome instance pointing to your new profile.
If you want, you can give this application the same icon as Chrome:
- Select the Google Chrome application and choose File > Get Info.
- Select the icon at the top left of the info dialog. You will see a blue highlight around the icon.
- Press ⌘C to copy the icon.
- Open the info dialog for the new application and select the icon in the top left.
- Press ⌘V to paste the copied icon.
User Cache Directory
On Windows and ChromeOS, the user cache dir is the same as the profile dir. (The profile dir is inside the user data dir.)
On Mac OS X and iOS, the user cache dir is derived from the profile dir as follows:
- If
Library/Application Support
is an ancestor of the profile dir, the user cache dir isLibrary/Caches
plus the relative path fromApplication Support
to the profile dir. - Otherwise, the user cache dir is the same as the profile dir.
Example (Mac OS X):
- [user data dir]
~/Library/Application Support/Google/Chrome
- [profile dir]
~/Library/Application Support/Google/Chrome/Default
- [user cache dir]
~/Library/Caches/Google/Chrome/Default
On Linux, the user cache dir is derived from the profile dir as follows:
- Determine the system config dir. This is
~/.config
, unless overridden by$XDG_CONFIG_HOME
. (This step ignores$CHROME_CONFIG_HOME
.) - Determine the system cache dir. This is
~/.cache
, unless overridden by$XDG_CACHE_HOME
. - If the system config dir is an ancestor of the profile dir, the user cache dir is the system cache dir plus the relative path from the system config dir to the profile dir.
- Otherwise, the user cache dir is the same as the profile dir.
Example (Linux):
- [user data dir]
~/.config/google-chrome
- [profile dir]
~/.config/google-chrome/Default
- [user cache dir]
~/.cache/google-chrome/Default
On Android, the user cache directory comes from Context.getCacheDir.
Summary
Happen to delete or remove important bookmarks from your Chrome browser? Lost Chrome histories due to browser update? Don’t bother. Here, you can recover deleted or lost Chrome bookmarks/histories/favorites with or without software. Just try to check if these methods can help!
Follow one of the listed methods to find your deleted Chrome history:
Workable Solutions | Step-by-step Troubleshooting |
---|---|
Fix 1. Find History on PC | Find Chrome history in C:Users(username)AppDataLocalGoogleChrome..Full steps |
Fix 2. Recover from PC | Run EaseUS file recovery software > Scan Chrome drive > Restore lost history..Full steps |
Fix 3. Use NDS | Press Windows + R > Type cmd > Open Command Prompt and type ipconfig /displaydns..Full steps |
Fix 4. Restore via Google History | Go to Google History > Sign in Google account > Click History..Full steps |
Important bookmarks got removed or deleted when you were trying to clean up the browsing history? Your browsing history and favorites are all lost when you tried to close the Chrome browser? Or perhaps your bookmarks just disappeared after a Chrome browser update into a newer version?
To restore accidentally deleted or lost bookmarks in Chrome, follow the 4 bookmarks recovery solutions below to restore deleted or lost Chrome bookmarks/histories/favorites back.
Method 1. Find Your Deleted Chrome History on a PC
If you happen to have removed the browser history or bookmarks on Chrome, you may have a local file folder which backs up all of your browsing histories and bookmarks in Chrome. You can now find it locally on your PC:
C:Users(username)AppDataLocalGoogleChromeUser DataDefaultlocal storage(or Bookmarks)
When you find it, you can click to add to your Chrome again.
Method 2. Recover Deleted Chrome Bookmarks from PC
If you find no backups on your computer when your Chrome bookmarks got deleted or removed from the browser, you may still have one more chance. You can try the best data recovery software to retrieve the bookmarks and file folder by following the steps below. Download data recovery software - EaseUS Data Recovery Wizard to restore the deleted or lost Chrome bookmarks/histories/favorites on your PC now.
Step 1. Select a location and start scanning.
Launch EaseUS Data Recovery Wizard, hover on the partition, external hard drive, USB, or memory card where you want to perform erased data recovery, and then click 'Scan'.
Step 2. Select the files you want to recover.
When the scanning has finished, select the deleted files you want to recover. Double-click the file to preview its content if you need to.
Step 3. Recover lost data.
After choosing the data, click 'Recover' and choose a location on another drive to save the deleted data.
When you recover Chrome histories, you can then copy the bookmarks back to the local backup folder in your PC as a backup and then browse each one of them to set them as bookmarks again in Chrome.
Method 3. Use DNS Cache to Find Lost Chrome Favorites After the Browser Update
This method will be very helpful when you happen to lose important bookmarks or favorites inside Chrome due to the browser update. Just follow the tutorial steps below to fix the problem now.
Step 1. Press Windows + R, type cmd and click OK. Or you can also type cmdin the Windows search bar.
Step 2. Open Command Prompt, typeipcongif /displaydns and click Enter. All recent websites that you've visited will be listed and you can browse them and set them as bookmarks in Chrome again.
Method 4. Recover Deleted/Lost Chrome Bookmarks/Histories/Favorites via Google History
This method requires you to have a Google Account when you lose Chrome bookmarks. You can check and find all the lost bookmarks back by viewing all your browsing history inside the Google Account.
Go to Google History > sign inGoogle account > click History.
Chrome Apps Download For Pc
There, you'll be able to find all your browsing histories and then you can add them to your Chrome favorites or bookmarks again.
Google Chrome Mac App
Note: When you get all lost Chrome histories or bookmarks back, it would be a wise choice to back up your local Chrome browsing files in PC regularly into another hard drive or storage device. If you happen to lose Chrome bookmarks, you can copy the backups into original location and restore them with ease then.