Skip to content

Instantly share code, notes, and snippets.

@devinschumacher
Created March 28, 2025 01:03
Show Gist options
  • Save devinschumacher/19542ff7e6b0cd3ad8273f7871a42531 to your computer and use it in GitHub Desktop.
Save devinschumacher/19542ff7e6b0cd3ad8273f7871a42531 to your computer and use it in GitHub Desktop.
How to find & view/download chrome extensions source code to your local computer

How to find & download chrome extensions to your local computer

On macOS your Chrome extensions are stored in your Chrome profile’s Extensions folder.

Typically, you first need to know which profile you’re using.

Steps

  1. Get the chrome extension ID
  2. Get your chrome Profile ID
  3. Navigate to your extensions folder on your computer
  4. Open / Download!

Get the extension ID

  1. First you need to know the extension ID, so get the by going to: chrome://extensions

You will see the extension ID on the extension box: image

Determine Your Chrome Profile (User ID)

  1. Open Chrome and type chrome://version in the address bar.
  2. Look for the Profile Path entry.

It will look like this:

image

Profile Path /Users/devin/Library/Application Support/Google/Chrome/Profile 197

Boom! The profile I am logged in with is Profile 197. Thats my user id.

Navigate to the Extensions Folder in Terminal

  1. Open terminal application
  2. Paste in command (replace the number of the profile with your real profile number)
cd ~/Library/Application\ Support/Google/Chrome/Profile\ 197/Extensions
  1. Open/download the folder (replace <extension-id> with the ID you got in the beginning
open <extension-id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment