Where are Chrome Extensions Stored? Local File Paths
In this article
Google Chrome extensions are stored in a specific folder within the user's local application data directory, varying by operating system. On Windows, they are typically found in the %LOCALAPPDATA%\Google\Chrome\User Data\Default\Extensions folder, while macOS users can find them in ~/Library/Application Support/Google/Chrome/Default/Extensions.
Understanding the Directory Structure
When you navigate to the Extensions folder, you will notice that the folders are not named after the extensions themselves (e.g., "uBlock Origin" or "Grammarly"). Instead, they are named with a string of 32 random lowercase letters. These are unique IDs assigned by the Chrome Web Store to ensure that every extension has a distinct identifier, preventing conflicts between different developers who might name their tools similarly.
Inside each of these ID-named folders, you will find subfolders organized by version numbers (e.g., 1.5.2_0). This structure allows Chrome to maintain the current version of the extension while potentially keeping temporary files from a previous update during the installation process. The actual logic of the extension—the HTML, CSS, and JavaScript files—resides within these version-specific folders.
How to Find the Specific ID for an Extension
Because the folders use random strings of characters, finding a specific extension manually in the file explorer is difficult. To map a specific extension to its folder, follow these steps:
- Open Google Chrome and type
chrome://extensions/into the address bar. - In the top right corner, toggle the Developer mode switch to "On".
- Look at the card for the extension you are searching for. The ID will now be visible (e.g.,
cjpalhdlnbpcdnmeooaehgocnbiicmfoo). - Match this ID string to the folder name in your local system directory.
The Role of the User Profile Folder
In the file paths mentioned earlier, the word Default refers to the primary Chrome user profile. However, Chrome allows users to create multiple profiles for different purposes (such as separating work and personal browsing). If you are using a secondary profile, the extensions will not be in the Default folder.
Instead, look for folders named Profile 1, Profile 2, and so on. The path would then look like: %LOCALAPPDATA%\Google\Chrome\User Data\Profile 1\Extensions. This separation ensures that extensions installed for one user do not interfere with the browsing experience or security settings of another user on the same machine.
How Chrome Loads Extensions from Storage
Chrome does not simply "run" the files in these folders as standalone programs. Extensions are essentially small websites that have been granted special permissions to interact with the browser's API. When Chrome starts, it reads a preferences file (usually a JSON file) that tells it which extensions are enabled and where their source files are located.
The browser then loads the manifest.json file located within the extension's version folder. This manifest is the blueprint of the extension; it tells Chrome:
- Which permissions the extension requires (e.g., access to your tabs, storage, or specific websites).
- Which background scripts should run in the background.
- Which icons to display in the toolbar.
- Which content scripts should be injected into web pages.
Safety and Manual File Modification
While it is possible to access these files, manually editing them is generally discouraged for the average user. Chrome implements a security feature called "Extension Verification." If you modify a file within the extension folder, the browser may detect that the digital signature of the extension has changed. This often results in the extension being disabled automatically with a warning that it may have been corrupted or tampered with.
If you are a developer wanting to test changes, the correct method is to use the "Load unpacked" button in chrome://extensions/. This allows you to point Chrome to a folder you have created yourself, bypassing the official storage directory and the strict signature checks applied to Web Store installations.
Common Misconceptions About Extension Storage
A frequent point of confusion is the difference between the extension's source code and its user data. The folders discussed in this article contain the code that makes the extension work. However, the settings you change, the accounts you log into, and the data the extension saves are not stored in the Extensions folder.
User-specific data is stored in the Local Extension Settings or IndexedDB folders within the User Data directory. For example, if an ad-blocker has a custom list of filtered URLs that you created, those URLs are stored in the profile's database, not within the extension's version folder. This is why you can uninstall and reinstall an extension, but your settings often persist if you are synced with a Google account.
Frequently Asked Questions
Can I back up my extensions by copying these folders?
Copying the folders can save the source code, but it will not back up your personal settings, configurations, or logged-in sessions. To fully back up extensions and their data, it is more effective to use Chrome's built-in Sync feature via a Google account.
Why are there multiple version folders for one extension?
Chrome typically keeps the current version and sometimes a previous version during an update process. This ensures that if an update fails or is interrupted, the browser can revert to a working state without the user losing the extension entirely.
Is it safe to delete these folders manually?
While deleting these folders won't break the browser itself, it will cause the associated extensions to disappear or malfunction. It is always better to remove extensions through the chrome://extensions/ menu to ensure that all associated registry keys and preference files are cleaned up properly.
Where are extensions stored on Linux?
On most Linux distributions, Chrome extensions are stored in ~/.config/google-chrome/Default/Extensions. Similar to Windows and macOS, the Default folder may be replaced by a specific profile folder if multiple profiles are in use.