KeePassXC vs Vaultwarden: an encrypted file or your own server
A KeePassXC vault is a single encrypted file. Vaultwarden is an unofficial, lightweight server that works with Bitwarden’s official apps: your vault sits in a database on a machine you run, and the apps sync with it. Both are free and open source, both decrypt your passwords only on your own devices, and both leave the backups to you. Where your passwords live between uses is what separates them, and it decides almost everything else: how your phone gets them, whether your partner can share them, and what you have to keep running.
The short answer: if more than one person will use the vault, or you want polished phone apps, run Vaultwarden. If it’s just you and you’d rather not look after a server, or you need to change passwords while offline, KeePassXC is simpler and has fewer parts that can fail.
1–5 per criterion · select a score for its reasoning and any sources
| # | Product | Overall | Apps and autofill | Setup and upkeep | Sharing with family or team | Security assurance | Admin controls at no cost | Maintenance and support | Cost for a family or small team |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Vaultwarden | 4.3 | 5 | 4 | 5 | 4 | 4 | 3 | 5 |
| 2 | KeePassXC | 3.0 | 3 | 5 | 2 | 3 | 1 | 3 | 4 |
How each criterion is scored
Apps and autofill
How well you can use the vault on every device you own, judged from the official browser extensions, desktop and mobile apps, command-line tool and passkey support the project or its usual clients provide, and from what users say about autofill.
- 5 Official browser, desktop, mobile and command-line clients with autofill and passkey storage, widely used and well regarded
- 4 Official browser, desktop and mobile apps with autofill, missing one feature readers notice
- 3 Browser extension and mobile access, but with a clear gap such as a separate third-party mobile app, weak autofill or an extension you must use for everything
- 2 A desktop app and a browser extension, with no mobile app
- 1 A web page or desktop app only, with no browser autofill
Setup and upkeep
What you have to run and look after: containers, database servers, memory, a mail server, certificates, and how backups work.
- 5 No server at all; an app and a file
- 4 A single small container with no separate database server, plus HTTPS
- 3 One application plus one database server or a few containers, with moderate memory, or a lighter install option next to a heavy default
- 2 Several containers or a database server on a server with 2 GB or more of memory, plus extra requirements such as a mail server
- 1 A heavy stack of many services that needs a large server
Sharing with family or team
Whether several people can use the same logins, and how much control there is over who can read or change each one.
- 5 Groups and collections with per-person roles and permissions, and extras such as emergency access or sharing logs
- 4 Shared folders or collections with groups and different permission levels
- 3 Shared folders for several users with a single level of access
- 2 People share one database file or one group of logins, with no separate permissions
- 1 One person only
Security assurance
How much independent review the software has had, how its encryption works, and the second sign-in factors it supports.
- 5 Frequent audits by several firms, public reports, a cryptography review, and a bug bounty
- 4 Several independent audits and hardware-key support
- 3 One recent independent audit or a government certification, or audited client code with a smaller review of the server
- 2 One old audit, or a vendor's own claims only
- 1 No independent audit and no certification
Admin controls at no cost
How many of four administration features you get without a paid plan: single sign-on, directory sync or provisioning, audit or event logs, and policies such as enforced two-step login.
- 5 All four, for any team size
- 4 Three or four of the four, for a small team or the project's free tier
- 3 One or two of the four
- 2 Basic user and group management only
- 1 None, and no multi-user administration
Maintenance and support
Who maintains the software, how often it ships updates, and what help you can get if the install breaks.
- 5 A company maintains it with frequent releases and support included for self-hosters
- 4 A company maintains it and sells support, with steady releases
- 3 Steady releases with community-only help
- 2 Community-only help and slow releases
- 1 Stalled project with no recent releases
Cost for a family or small team
What a household of six or a team of ten pays to run it with sharing turned on, beyond hosting costs.
- 5 Free with sharing included
- 4 Free software, with one small flat fee or paid extras on a phone
- 3 A per-user plan under $5 a month
- 2 A per-user plan of about $5 or more a month
- 1 A paid plan with a high minimum, such as several hundred dollars a year
Vaultwarden comes out ahead on nearly every row of the scores table above, and that’s fair for the readers it was built for. Bitwarden’s apps beat KeePassXC’s mix of third-party phone apps, and accounts with permissions beat handing someone a file. KeePassXC wins the row that decides it for some readers: it has no server at all.
What each one asks you to run
| KeePassXC | Vaultwarden | |
|---|---|---|
| What you run | A desktop app, plus a sync tool such as Syncthing or Nextcloud | A container behind HTTPS, on a machine that stays on |
| Phone apps | Third-party apps that open the same file | Bitwarden’s official iPhone and Android apps |
| Editing offline | Yes, wherever you have the file | Read-only until the app reaches your server |
| Sharing | The whole file and its password, or one group of entries through KeeShare | Organizations and collections, with roles for each person |
| Backups | Copy one file | Copy the server’s data folder, including its database |
| License | GPLv3 | AGPL-3.0 |
Phones decide it for most people
Bitwarden’s apps are the main reason people run Vaultwarden. You point the official browser extension, desktop app or phone app at your server’s address, and you get autofill, passkey storage, sync across every device, and fingerprint or face unlock, the same as on Bitwarden’s own cloud. Features Bitwarden charges for on its own service, such as storing two-factor codes, come free with Vaultwarden.
KeePassXC has no phone app of its own. On Android, KeePassDX and Keepass2Android open the same file and fill passwords; on iPhone, Strongbox and KeePassium do, with some features behind a paid tier. They work well, but you’re now relying on a second app from a different team, and your sync tool has to deliver the latest file to the phone before you open it. On a computer, browser autofill works only while KeePassXC is running.
Sync: conflicts on one side, a server on the other
KeePassXC doesn’t sync anything itself. Your sync tool copies the encrypted file around without being able to see inside it, so when two devices change the file before either copy arrives, you end up with two versions. KeePassXC can merge them entry by entry, matching each entry’s ID and when it was last changed, but someone has to notice the conflicting copy first. One user on Lemmy, a Reddit-like forum, said they’d “run into this several times with Keepass + Nextcloud”. Locking the vault when you’re done and letting each change sync right away keeps conflicts rare.
Vaultwarden has nothing to merge, because every app writes to the same server. The price is that the server has to be reachable. When a Bitwarden app can’t reach your server, on a plane or away from home with the server behind a VPN, it still shows your saved passwords but won’t let you add or edit any until it reconnects. With KeePassXC you can change anything wherever you have the file.
That limit catches out a common cautious setup: Vaultwarden at home, reachable only through a VPN. It works, but a phone that’s off the VPN can’t save the login you just created. If you sign up for things on your phone while you’re out, either leave the VPN on or put Vaultwarden on the internet and keep it updated.
Sharing with a household or team
Sharing is where Vaultwarden pulls furthest ahead. You create an organization, put shared logins into collections, and decide who can see or edit each one; groups, emergency access and event logs are there once you turn them on. Each person has their own account and master password, so a teenager can have the streaming logins without seeing the bank.
KeePassXC has no accounts. Sharing means giving someone the file and its master password, which its own guide reserves for people you completely trust, such as a spouse. KeeShare can pass one group of entries between separate files, but it has no per-person permissions, and everyone still needs their own sync set up. In a family, that makes you the person who installs Syncthing on every phone and notices when someone switches it off.
Security: no server, or a well-reviewed one
Both encrypt on your device. Vaultwarden’s server stores only encrypted vaults, and the encryption happens in Bitwarden’s audited apps, so a copy of the server’s database is useless without the master passwords. Still, it’s a service you run and probably expose to the internet, which means a login page for attackers to try and updates you can’t put off. KeePassXC gives attackers nothing but the file. It has had one independent audit, in 2023, and a security certification from France’s national cybersecurity agency; Vaultwarden has had several audits, some of them public.
Hardware keys work differently in each. KeePassXC can require a YubiKey to decrypt the file itself, so someone who steals the file and learns your password still can’t open it without the key; if you lose every key and never kept a copy of its secret, you lose the vault too. Vaultwarden supports authenticator apps, FIDO2 security keys, YubiKey and Duo as a second step when you sign in to your account. That protects the login, not the encryption of the vault.
With KeePassXC, a forgotten master password is final. With Vaultwarden it’s final too, unless you’ve set up an organization with account recovery turned on, which lets an admin reset a member’s master password (the server needs to be able to send email for it). For parents managing their kids’ accounts, that alone can settle the choice.
Thinking in years: upkeep, backups and leaving
Over the years, KeePassXC asks you to install updates and keep copies of one file. KDBX, the file format, is open and read by apps on every major platform, so if KeePassXC stopped tomorrow your vault would still open elsewhere. A security professor at JKU Linz, an Austrian university, describes his disaster plan as the file on a USB stick: with the file and the passphrase, “no further recovery steps are necessary.”
Vaultwarden asks for more. You update the container, keep the HTTPS certificate valid, and back up the data folder in a way that doesn’t catch the database mid-write. It’s an unofficial project, not affiliated with Bitwarden, run by a small group of maintainers, with help only through its forum, chat and issue tracker. It also depends on apps it doesn’t control: when Bitwarden changes them, Vaultwarden has to follow, so a server you haven’t updated in a while can run into trouble with newer apps. The project has kept pace for years, but you’re relying on two teams instead of one.
Moving between them is easier than you’d expect. KeePassXC imports Bitwarden’s export file directly, so leaving Vaultwarden takes an export and an import. Going the other way, Bitwarden’s importer reads the XML or CSV files KeePassXC exports, but attachments don’t come along and have to be moved by hand.
Plenty of people run both
A Vaultwarden server has secrets of its own: the admin page’s token, the login for the machine it runs on, your backup passphrase, and each account’s two-step login recovery code. If they live only in Vaultwarden, you can’t reach them when the server is down, which is exactly when you need them. That’s why some self-hosters run Vaultwarden for everyday logins and keep a small KeePassXC file for the handful of passwords that unlock everything else. The JKU professor moved most of his passwords to Vaultwarden for his family and work group, but planned to keep “a core KDBX file” for those.
Which should you pick?
- A household or small team sharing logins: Vaultwarden. Separate accounts, shared collections and good phone apps are worth looking after a server.
- Already using Bitwarden’s apps: Vaultwarden. You keep the same apps and point them at your own server, so nobody has to relearn anything.
- Just you, with no wish to run a server: KeePassXC, synced with Syncthing or a cloud drive you already use, plus a KeePass app on your phone.
- You add or change passwords offline: KeePassXC. Bitwarden’s apps go read-only whenever they can’t reach your server.
- Already running Vaultwarden: keep it, and add a small KeePassXC file for the server’s own passwords and recovery codes.
The scores make Vaultwarden look like the clear winner, and for anyone sharing a vault it is. What it buys is convenience for more people; what it costs is a server that has to stay up, stay updated and stay reachable. KeePassXC is the opposite trade: clumsier on phones and almost useless for sharing, but one file you can copy, back up and open anywhere for as long as you need it. If you can’t decide, start with the one that matches how many people will use it, and remember that moving to the other later takes an export and an import.
Frequently asked questions
Do I have to put Vaultwarden on the internet?
No. You can keep it on your home network and reach it from outside through a VPN such as WireGuard or Tailscale. The tradeoff is the one described above: a phone that isn’t on the VPN can show your passwords but can’t save new ones. The web vault needs HTTPS even at home, so you still need a certificate.
Is Vaultwarden the same as Bitwarden’s self-hosted server?
No. Bitwarden sells its own self-hosted server, which is heavier and puts shared vaults behind a paid license. Vaultwarden is an independent rewrite that works with the same apps and includes sharing for free. The self-hosted password managers ranking compares the two.
