How to Integrate KeePass With Chrome and Firefox in Ubuntu

We have often said that you should use a complicated and unique password for each and every of your account. However, unless you have a great memory, you are not going to be able to remember them all. That is why tools like Password Manager come in handy. KeePass is a very handy and useful desktop password manager that allows you to record down all your passwords and store them in a safe place. The only troublesome thing about it is that you always have to switch to this app, search and copy the password, before you can paste it into the login form. In this article, we will show you how to integrate KeePass with Chrome and Firefox in Ubuntu.

Advantages of integrating KeePass to browser

The advantage of integrating KeePass to your browser is that you can get it to auto-fill your login form everytime you visit a website. it saves you the effort to switch to and forth between the browser and the password manager. While you can achieve the same functionality using LastPass, you have to know that LastPass stores all your confidential data on their cloud servers. That means, if their servers are down or hacked into, your data are gone.

Isn’t KeePass available for Windows only?

KeePass is mainly for Windows and it makes use of the .NET framework which is difficult to setup in other OS. In Linux, there is a port over of the KeePass 2 which you can install. However, it makes use of mono libraries which many people will frown upon. If you don’t wish to install a bunch of mono libraries in your computer, you can try out KeePassX instead, which is only compatible with KeePass 1.x database format.

This tutorial will deal with the port over version of KeePass 2.

Setting it up

1. Install KeePass 2 in Ubuntu

sudo apt-get install keepass2 mono-complete

Note that the mono-complete module is necessary for the browser integration and it will install a whole lot of mono libraries.

2. Download the KeepassHttp module from its Github page. Extract the zipped files to your Home folder. Open it and you should see a “KeePassHttp.plgx” file. That is the only file we need from this folder.


3. Open a terminal. We need to copy the “KeePassHttp.plgx” file to the KeePass2 plugins folder.

sudo mkdir /usr/lib/keepass2/plugins
sudo mv ~/keepasshttp/KeePassHttp.plgx /usr/lib/keepass2/plugins/

4. Next, open your Keepass 2. If you see a “KeePassHttp Options” under the Tools menu, then the plugin is working.

5. Lastly, install ChromelPass for Chrome or PasslFox for Firefox. Restart the browser if necessary.

6. After the restart, ChromelPass or PasslFox will prompt you to connect with KeePassHttp. This will generate an encryption key which will be stored in your KeePass2 database.


7. Once connected, you will find an option in the context menu that allows you to fill in username and password automatically.


That’s it. Your Keepass is now integrated with Chrome and/or Firefox now.


Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox