You might be using Google Chrome Extensions to increase the functionality of your browser. These small software programs enable you to have batter online experience. If you try different extensions on Google Chrome, what about the idea of distributing your favorite extension to friends via messengers and email? There is a simple process by which you can create .crx file and export Google Chrome Extension.
In this blog post we will provide you full guide to pack Google Chrome Extension as well as to upload extension which you have previously packed. For the first time you may face some of the common errors, we will also discuss those errors in advance.
How to Export Google Chrome Extension
Launch Google Chrome from which you want to export installed extension. Type “chrome://extensions” in the address bar of Chrome to access Chrome extensions section.
Enable the “Developer mode” of Chrome. Click on “Pack extension”.
On the other hand open File Explorer and access the path (C:\Users\UserName\AppData\Local\Google\Chrome\User Data\Default\Extensions) where the Chrome extensions are stored.
Select the extension which you want to share. You can check the extension ID from Google Chrome which will help you to easily find out desired extension. Copy the path from the address bar.
Now paste the path in “Extension root directory” textbox. The option of “Private key file” is optional. You don’t need to specify the path for Private key file for the first time, but for the next time you have to reuse the existing Private key. Now click “Pack Extension” button.
If you receive the message resembling to below screenshot, it means extension is successfully exported to displayed path. The two files will be created, one is with .crx extension and another is with .pem.
The crx file is that file which you can share with other friends and pem file contains private key which should be kept secret. You can share crx file with other users of Chrome via messaging apps or email.
Also read: How to Backup Google Chrome Bookmarks
How to Upload Google Chrome Extension
To upload Chrome extension is much simpler than to export it. Just click, drag and drop .crx file to Google Chrome browser.
You will receive the confirmation message on the bottom area of the browser window. Click Continue to confirm the installation of Chrome extension.
That’s it. The extension will be installed. You can check it on your Chrome browser.
Common Errors You May Face While Packaging Google Chrome Extension
There are chances of errors which can be occurred when you export Google Chrome Extension.
• Manifest file is missing or unreadable: This error will be displayed when you don’t select the folder of extension containing manifest.json file. Make sure you have specified that folder in path.
• A private key for specified extension already exists: This error occurs because you don’t have specified the path of private key file to reuse it (for the first time you don’t need to specify the path). You can also delete the existing private key file to recreate it.
• There is already a CRX file present with this name: It shows that you already have crx file. You need to click on “Proceed anyway”. The existing file will be updated.
If you ever find the exceptional error when you export Google Chrome extension then write us in the comment section. We will assist you in every possible manner.