Both are free and open source; the difference is where your vault lives. Choose KeePassXC if you want no account and no server at all: it keeps an encrypted KDBX file on your own disk, runs on Linux, macOS and Windows, and syncs only if you put the file in a folder you sync yourself. Choose Bitwarden if you want sync, official phone apps and sharing without managing a file: its free plan syncs unlimited passwords across unlimited devices, it has its own iOS and Android apps, and Premium at $19.80 a year adds a TOTP authenticator, attachments and emergency access (US, November 8, 2026). KeePassXC has no mobile app of its own and points phone users to compatible third-party apps.
Bitwarden and KeePassXC side by side
| Bitwarden | KeePassXC | |
|---|---|---|
| Encryption | Zero-knowledge, end-to-end model: vault data is encrypted on the device with AES-256 in CBC mode with HMAC. The master password is stretched with PBKDF2-SHA256 (600,000 iterations by default) or optionally Argon2id. source | The database is encrypted with AES-256 or Twofish, with the master password strengthened by a configurable number of key transformations. source |
| Open source | The server repository is licensed AGPL-3.0, and the repo also contains a separate Bitwarden license file. source | Licensed under the GNU General Public License version 3. source |
| Platforms | Desktop apps for Windows, macOS and Linux; mobile apps for Apple devices and Android (Google Play and an F-Droid build); browser extensions for Chrome, Edge, Safari, Firefox, Opera, Brave, Vivaldi, DuckDuckGo and Tor Browser; a web vault; and a CLI. source | Runs natively on Linux, macOS and Windows; an AppImage and a Snap are provided for Linux. source |
| Passkeys | Passkeys are stored in login items in the vault. Browser extensions can store and autofill them; iOS requires 17.0 or later and Android 14.0 or later. Passkeys are included in .json exports. source | The user guide lists a passkeys section alongside browser integration, Auto-Type, Secret Service and SSH agent integration. source |
| AI agent access | Two separate tools. The official Bitwarden MCP server (GPL-3.0) exposes vault tools through the Bitwarden CLI, including listing and getting items, plus organization administration through the Public API; it is for local use only, and its README warns that an assistant with access can read and change vault contents. Agent Access (Apache-2.0, early preview; the README says APIs and protocols are subject to change) pairs a remote agent with your unlocked vault over an end-to-end encrypted tunnel; aac run injects the credential into a child process's environment, while aac connect --output json prints it to standard output. source | A command-line tool is documented (keepassxc-cli), and an SSH agent integration exists. No MCP server was found in the documentation. source |
| Developer secrets | Bitwarden Secrets Manager has secrets, projects, machine accounts and access tokens, with a web vault, CLI and SDK. The Bitwarden CLI also supports API-key login for automation. source | Not stated in KeePassXC's documentation |
| Self-hosting | The server can be self-hosted in Docker containers on Windows, macOS and Linux using the provided scripts. The pricing page lists self-hosting under the Enterprise plan. source | Local files only: the database stays on your device, and the guide documents remote database sync. source |
| Free tier | A free plan with unlimited devices and passwords and passkey management. Premium is $1.65 per month billed annually ($19.80). source | Free and open source under GPL-3.0. source |
What are the main differences?
- Where the vault lives
- KeePassXC stores an encrypted database file on your device and has no built-in cloud sync; its FAQ suggests placing the KDBX file in a synced folder such as Dropbox, Google Drive or Nextcloud and keeping any key file separate. Bitwarden syncs through its cloud, or through your own server if you self-host. source
- Phones
- KeePassXC has no mobile app; its FAQ recommends KeePassDX and KeePass2Android on Android and Strongbox and KeePassium on iOS, which read the same file format. Bitwarden publishes its own iOS and Android apps. source
- Price
- KeePassXC is free under GPL-3.0 with no paid tier. Bitwarden's free plan has unlimited passwords and devices; Premium is $1.65 a month billed yearly ($19.80) and Families $3.99 a month ($47.88 a year) for six people. source
- Sharing
- KeePassXC shares groups between databases with KeeShare, which works through files you exchange or sync. Bitwarden shares through organizations: a free one for two users and two collections, or Families for six users with unlimited collections, with access managed per person. source
- Security audits
- An independent consultant, Zaur Molotnikov, audited KeePassXC free of charge in a report completed January 19, 2023. Bitwarden publishes audits every year; in 2025 they included Cure53, ETH Zurich's Applied Cryptography Group, Unit 42 and Fracture Labs. source
- Desktop extras
- KeePassXC includes Auto-Type, an SSH agent integration, Secret Service integration on Linux, passkeys through its browser integration and the keepassxc-cli command line. Bitwarden's desktop app pairs with a CLI that supports API-key login, a separate Secrets Manager and an official MCP server for local use. source
Choose Bitwarden if…
- You want your passwords on your phone through an official app, synced without managing a file.
- You share passwords with family or a team and want access managed per person.
- You want emergency access, so someone you trust can request your vault if something happens to you.
- You want a hosted service but the option to self-host later.
Choose KeePassXC if…
- You want no account, no subscription and no company server holding your vault.
- You already sync files with a service you trust, or keep the database on one computer only.
- You use Linux heavily and want Auto-Type, an SSH agent and Secret Service integration.
- You are happy to pick a third-party KeePass app for your phone.
How do I switch between them?
From Bitwarden to KeePassXC: export from Bitwarden as .json, or as encrypted .json, then in KeePassXC choose Database > Import and pick Bitwarden (.json). KeePassXC asks for the password if you used the encrypted export. Attachments are only in Bitwarden's .zip export, so move them by hand. See how to export from Bitwarden.
From KeePassXC to Bitwarden: export the database to XML or CSV from KeePassXC, then in Bitwarden choose Tools > Import with KeePass 2 (xml) or KeePassX (csv). Exports are unencrypted, so delete them as soon as the import is done.
What if AI agents use your credentials too?
Both are built for people first. If coding agents such as Claude Code, Codex or Cursor also deploy and call APIs for you, compare how each product lets an agent use a credential: see six models compared. BotPassword, which publishes this page, is a password manager built around agents using keys without being handed the values by default; it is in early access. See BotPassword vs Bitwarden and BotPassword vs KeePassXC.
Frequently asked questions
Is KeePassXC more secure than Bitwarden?
They protect different things. KeePassXC keeps your vault off any company server, so there is no cloud copy to steal unless you sync the file yourself. Bitwarden encrypts on your device before syncing, publishes yearly audits and lets you self-host. With either, the master password, and for KeePassXC any key file, is what protects you.
Can I use KeePassXC on my phone?
Not KeePassXC itself; it runs on Linux, macOS and Windows. Its FAQ recommends KeePassDX or KeePass2Android on Android and Strongbox or KeePassium on iOS, which open the same KDBX file.
Does KeePassXC sync between devices?
Not on its own. You put the database file in a folder that your own sync service, such as Dropbox, Google Drive or Nextcloud, keeps up to date.
Is Bitwarden free like KeePassXC?
Bitwarden has a free plan with unlimited passwords and devices. Its TOTP authenticator, file attachments and emergency access need Premium at $19.80 a year. KeePassXC has no paid tier.
Can I import my Bitwarden vault into KeePassXC?
Yes. KeePassXC imports Bitwarden's .json export, including the encrypted variant if you enter its password.