User Agents

Web browsers and everyday web tech, explained

Edge Browser Extension File Locations and Management

· 6 min read · Extensions

In this article
  1. Understanding the Directory Structure
  2. How to Find Your Specific Extension ID
  3. The Role of the Manifest File
  4. Common Problems and File Corruption
  5. Security Risks of Manual File Access
  6. Comparing Edge and Chrome Extension Storage
  7. Frequently Asked Questions

Microsoft Edge stores extension files in a specific folder within the user's local app data directory, typically located at %LocalAppData%\Microsoft\Edge\User Data\Default\Extensions. Within this directory, each extension is stored in its own subfolder named after its unique 32-character extension ID, which contains the actual source code, manifests, and assets of the add-on.

Understanding the Directory Structure

To locate these files, you must navigate the Windows file system to the AppData folder, which is hidden by default. The path is structured to separate the browser's core application files from the user-specific profile data. Because Edge is based on the Chromium engine, it follows the same organizational logic as Google Chrome, though it resides in a different root folder.

When you enter the Extensions folder, you will not see names like "uBlock Origin" or "Grammarly." Instead, you will see folders with alphanumeric strings such as cjpalhdlnebjsxmk1n111111111111111. These IDs are the primary identifiers used by the browser to map the installed extension to its settings and permissions. Inside each of these ID-named folders, you will find version numbers (e.g., 1.54.0_120), and inside those version folders are the actual .js (JavaScript), .json (manifest), and .html files that make the extension function.

How to Find Your Specific Extension ID

Since the folders are named with random strings, finding a specific extension's files requires a way to link the human-readable name to the ID. There are two primary ways to achieve this:

  1. Open Microsoft Edge and navigate to edge://extensions in the address bar.
  2. Enable "Developer mode" using the toggle switch located in the bottom-left corner of the page.
  3. Once Developer mode is active, each installed extension card will now display its unique ID directly beneath the version number.
  4. Copy this ID and search for the corresponding folder in the %LocalAppData% path mentioned previously.

This process is essential for developers who want to inspect how an extension interacts with the DOM or for advanced users who wish to manually back up the source code of a tool that is no longer available in the official store.

The Role of the Manifest File

The most critical file within any Edge extension folder is the manifest.json. This file acts as the blueprint for the extension. It tells the browser what the extension does, what permissions it requires, and which scripts should run in the background versus on specific webpages. If you are exploring the extension files, the manifest is the best place to start to understand the tool's capabilities.

  • Permissions: The manifest lists which websites the extension can access and whether it can read your browsing history or access your webcam.
  • Background Scripts: It identifies the service workers or background pages that keep the extension running even when you aren't actively clicking its icon.
  • Content Scripts: It defines which JavaScript files are injected directly into the webpages you visit to modify the site's appearance or behavior.
  • Version Control: The manifest tracks the current version of the extension, which the browser checks against the store to determine if an update is available.

Common Problems and File Corruption

While users rarely need to touch these files, certain scenarios make accessing them necessary. One common issue is "extension corruption," where an update fails halfway through, leaving the browser unable to load the tool. In some cases, manually deleting the version folder within the extension directory and restarting the browser forces Edge to re-download a clean copy of the extension.

Another common problem occurs when users try to manually edit the .js files to change the behavior of an extension. While this is possible, Edge employs a checksum system. If the browser detects that the files on disk have been modified and no longer match the signed version from the store, it may disable the extension for security reasons, citing that it is "corrupted" or "modified." To bypass this, a user would need to load the modified folder as an "Unpacked extension" via the Developer mode menu, rather than relying on the official installation path.

Security Risks of Manual File Access

Accessing and modifying extension files carries inherent security risks. Extensions have significant power over your browsing experience, including the ability to read passwords, cookies, and personal data if they have the correct permissions. Malicious actors sometimes target the extension directory to inject "side-loading" scripts.

If you find files in your extension folder that you did not install, or if an extension begins behaving erratically after you have manually edited its files, it is safest to remove the extension entirely and reinstall it from the official Microsoft Edge Add-ons store. Never copy .js files from untrusted sources into your extension folders, as this is a primary method for installing browser-based malware that can steal session tokens or redirect your search queries to fraudulent sites.

Comparing Edge and Chrome Extension Storage

Because both Edge and Chrome are built on Chromium, their storage logic is nearly identical. The only significant difference is the root path. Chrome uses %LocalAppData%\Google\Chrome\User Data\Default\Extensions, while Edge uses the Microsoft\Edge path. Both use the same 32-character ID system and the same version-based folder hierarchy.

This similarity allows developers to port extensions between the two browsers with minimal effort. However, the way they handle "sync" differs slightly. While the files are stored locally on your hard drive, the list of which extensions you have installed is synced to your Microsoft account (in Edge) or Google account (in Chrome). When you log into a new computer, the browser doesn't copy the files from your old machine; instead, it reads the synced list and downloads fresh copies of those extensions from the respective store into the local directory.

Frequently Asked Questions

Can I move the extension folder to another drive?

No, you cannot simply move the Extensions folder to another drive. The browser expects the files to be in the specific AppData path. If you move them, the extensions will stop working. To move your entire browser profile, you would need to use a symbolic link (Symlink) via the Command Prompt, which tricks the system into thinking the files are still in the original location while they are physically stored elsewhere.

Why are there multiple version folders for one extension?

Edge often keeps the previous version of an extension for a short period after an update. This allows the browser to maintain stability during the transition or roll back if the new version causes a crash. Eventually, the browser cleans up these old version folders, leaving only the most current one.

Is it safe to delete files in the Extensions folder?

Deleting files manually while the browser is running can lead to crashes or "Extension failed to load" errors. If you want to remove an extension, it is always better to do so through edge://extensions. If you must delete files manually to fix a bug, ensure Edge is completely closed first.

Where are the extension settings and data stored?

The extension files (the code) are in the folder described above, but the extension data (your saved preferences, account logins, and custom settings) is stored in the Local Extension Settings and IndexedDB folders within the user profile. These are separate from the source code and are stored in a database format rather than plain text files.

How do I back up an extension that is no longer in the store?

If an extension is removed from the store, you can back it up by copying the folder associated with its ID. Copy the version-numbered folder (e.g., 1.2.3_0) to a safe location. To reinstall it later, go to edge://extensions, enable Developer mode, and click "Load unpacked," then select the folder you backed up.