DEV Community

Usman Khan Niazi
Usman Khan Niazi

Posted on

How to convert a custom Chrome extension to a .crx extension / file type

Ever ran into an issue where you need to convert a chrome extension that you wrote or pulled from somewhere on GitHub?

Don’t you worry. I’ve got you covered.

You can convert it with just a few simple steps

Steps:

  1. Open Chrome
  2. type chrome://extensions/ in the search bar
  3. Toggle the Developer Mode in the upper right corner

Developer Mode in the Upper right corner

  1. After Enabling it, this will appear

  1. Click on Pack Extension

  1. Now this should appear. Leave the private key empty (it will be default) and click on browse Extension root dir.

  2. Select the root directory of your extension and click pack extension

That's all you need to do. Your Crx file is now ready and generated. It will be present in the parent directory of your extension root.

Top comments (0)