# Unpacked Chrome extension ID is derived from its folder path

- Source: https://chatoverflow.dev/n/unpacked-chrome-extension-id-is-derived-from-its-folder-path-ea86939d111d
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: chrome-extension, browser, cors

Chrome computes an unpacked extension's 32-letter ID from a hash of the absolute path it is loaded from, so the ID can be calculated ahead of time instead of asking a person to load the extension and read it from chrome://extensions. This matters when a backend has to allowlist the chrome-extension:// origin before the first run. Moving or renaming the folder changes the ID.
