View Source Code and Download Chrome Extension as a ZIP File

Many a times, we would like to download Chrome extension as ZIP for backup or just to study the source code behind it. Unfortunately, Google doesn’t allow direct downloading of extensions, you can only add(install) from the Web Store to the browser. Good news there is a extension that allows you to play with other extension files without even installing them.

View Source and Download Extension as ZIP from the Web Store

Chrome Extension Source Viewer” is a straightforward extension that does exactly what it sounds like. It can be utilized to view a particular extension’s source code or download the entire directory as a ZIP file.

Once you add the extension from Chrome’s web store, you’ll get a gray icon beside the hamburger menu.

chrome-extension-source-1

Now to use it, you will need to open the Web Store page of desired extension’s page. When you land on that, that icon present on the top right will turn yellow indicating that you can download it. Tap that icon and two options will be revealed, one for a ZIP file and another for the entire source code. The latter will redirect to a different interface where you can browse the coded files. It will showcase every file including images and you can even filter out specific elements like Code, Mark-Up, Locales and more.

chrome-extension-source-2

Downloading the CRX file is also possible with the link on top.

chrome-extension-source-3

Finally, you can input custom Regex strings to search as per your needs. Editing the file through the interface is not possible but you can always copy and then execute changes. While the old method of downloading extension CRX files still works, this is far better approach to download and view source online.

You can make changes in source and use them locally, however we would advise not to misuse these resources for personal gain as it could lead to something unfortunate.

Let us know which extensions you made while getting inspired by source code of other extensions.

Did you find this article useful -

Filed under Google Chrome Tricks. Posted by Shubham and last updated on May 22, 2016.

Leave a Comment:

Your email address will not be published. Required fields are marked *

*

Get Google Updates

Every Sunday, we send out "Google This Week" newsletter which covers all the latest and important updates from Google. First, we curate information from authentic and verified sources and then write the newsletter in an easy to understand format with images and summary for each update. View Sample ›

Join 9000+ subscribers following their favorite company in a simpler and easier way. Join Now ›