Chapter 3 · 3.2
KeePassXC in your browser, on your phone and on more computers
KeePassXC doesn't have its own server. Your database is a file. To use it in your browser, you install an extension. To use it on your phone and other computers, you put the file in a place that syncs, such as your Nextcloud.
In your browser: KeePassXC-Browser
- Install the KeePassXC-Browser extension in Chrome, Firefox, Edge, Brave or Vivaldi. You'll find the links on keepassxc.org.
- In KeePassXC, open Tools, Settings, Browser Integration.
- Tick Enable browser integration, tick your browser and click OK.
- Make sure your database is open and (re)start your browser.
- Click the KeePassXC-Browser icon and click Connect.
- KeePassXC asks for a name for this connection. Choose a name for each browser and computer, for example firefox-laptop, and click Save and allow access.
On a login page, the extension now fills in your details. KeePassXC must be open and unlocked for this. The extension icon shows whether it is.
Please note: Don't use the same name for a connection twice. The old connection will be overwritten and will stop working. On Linux, browsers installed as Flatpak or Snap usually don't work with the extension, except Firefox as a Snap on Ubuntu.
On more computers: via your Nextcloud
- Install the Nextcloud app on your computers (see Why the desktop app? Browser, app or network drive).
- Put your
.kdbxfile in a folder that syncs. - On each computer, open the same file from that folder in KeePassXC.
Your database is always encrypted. Nextcloud only sees an encrypted file. The versions in Nextcloud also give you an extra backup: you can restore an older version.
Please note: If you change your database on two devices at the same time before they have synced, you'll get a conflict file. In that case, open your database and choose Database, Merge database. Select the conflict file. KeePassXC keeps the newest version of each entry. Then delete the conflict file. You can prevent this by only opening your database on the other device once the file has been updated.
On your phone
KeePassXC doesn't have its own app for your phone. The makers of KeePassXC recommend these apps, which can open the same .kdbx file:
- Android: KeePassDX or KeePass2Android.
- iPhone and iPad: Strongbox or KeePassium.
These apps are made by other developers. Read what they can do before you choose one.
This is how you open your database on your phone:
- Install the Nextcloud app on your phone and log in (see Which apps do you need on your phone and tablet?).
- In the KeePass app, open your existing database and select the file using your phone's file picker. You'll see your Nextcloud listed there.
- Or connect the KeePass app directly to your Nextcloud using WebDAV, if your app supports it. In that case, use an app password (see App passwords: when and how), not your regular password.
Tip: Try it with a copy of your database first. Check that a change on your phone also shows up on your computer. Only once that works properly should you use your real database.
Sharing with others
KeePassXC can share a group of entries through a separate file (KeeShare). That works, but it's less straightforward than a shared vault in Bitwarden or Vaultwarden. Read more about this in Sharing passwords with your team or family.
