1️⃣ Make sure your KeePass database is accessible
-
Log into your Nextcloud web interface.
-
Locate your KeePass database file (
.kdbx). -
Ensure it’s synced locally to your computer via the Nextcloud desktop client so Firefox plugins can open it directly from your filesystem.
-
On Linux, Windows, or macOS, this will be in your Nextcloud sync folder.
-
-
Do not open it from the public web — you want it stored locally and synced automatically for security.
2️⃣ Install KeePassXC (the recommended KeePass client for browser integration)
-
Download from: https://keepassxc.org/download/
-
Install it on your machine.
-
Open KeePassXC, then load your
.kdbxfile from your Nextcloud sync folder. -
Unlock it with your master password (and key file if you use one).
3️⃣ Enable the Browser Integration feature in KeePassXC
-
Go to Tools → Settings → Browser Integration.
-
Check “Enable KeepassXC browser integration”.
-
Select Firefox and any other browsers you want.
-
Click OK.
4️⃣ Install the Firefox KeePassXC-Browser extension
-
Install from: https://addons.mozilla.org/firefox/addon/keepassxc-browser/
-
After installation:
-
Click the KeePassXC icon in your Firefox toolbar.
-
Click Connect.
-
Approve the connection request in KeePassXC.
-
5️⃣ Using it to autofill passwords
-
When you visit a login page:
-
Unlock your KeePassXC database if it’s locked.
-
The Firefox extension will show a key icon in the username/password field.
-
Click it, select the account, and it autofills.
-
-
Any new logins you create can also be saved directly to the database.
6️⃣ Security tips
-
Keep your Nextcloud client logged in so
.kdbxis always up-to-date on all devices. -
Always close KeePassXC when not using it (or set it to lock after a short idle time).
-
If using multiple devices, repeat this setup on each one.

