Self-host Bitwarden
v2026.10.1Open-source backend that runs your own password vault
- Stars
- 20 639
- Rating
- 5.0 (1)
- Requires
- Microsoft SQL Server
What is Bitwarden?
This repository holds the backend every Bitwarden client talks to: the APIs, the database layer and the rest of the core infrastructure, so you can run a password vault of your own instead of relying on the hosted service. It is built with C# on ASP.NET Core against a T-SQL/SQL Server database and splits into independently runnable services — Api, Identity, Admin, Billing, Notifications, Events and EventsProcessor, plus Icons, SCIM and SSO. The Identity service answers on an OpenID Connect configuration endpoint, Redis can be added for distributed caching (with in-memory or database fallbacks), and there is a System Management Portal alongside the vault API. Operators deploy it with Docker Compose using the installer scripts bitwarden.sh or bitwarden.ps1, pulling published container images from GitHub's container registry. Docker and Docker Compose are the stated prerequisites, and the stack builds and runs on Windows, macOS and Linux. Licensing is open-core: most code falls under AGPL-3.0, while the commercial modules in /bitwarden_license use the separate Bitwarden License and must be unlocked with a license file.
Bitwarden alternatives
Vaultwarden_Self_HostSelf-hosted password manager using Vaultwarden with automated Docker deployment, nginx HTTPS proxy, backups, and private CA for trusted HTTPS.CompareVaultwarden_Self_Host with Bitwarden
zero_password_managerRun your own password vault on your hardware. Client-side AES-256-GCM encryption, required TOTP 2FA, hidden site URLs, and Flutter apps everywhere.Comparezero_password_manager with Bitwarden
connect1Password Connect is a self-hosted server providing a private REST API to access 1Password vaults from your infrastructure with local caching.Compareconnect with Bitwarden
borgbackupserverSelf-hosted web UI that centrally manages encrypted Borg backups on Linux, Windows, and macOS via agents that poll over HTTPS and push data over SSH.Compareborgbackupserver with Bitwarden
vaultSelf-hosted, source-available secrets server that issues dynamic cloud and database credentials, offers encryption as a service, and logs every access for audit.Comparevault with Bitwarden
Notesnook Sync ServerNotesnook Sync Server is the open-source, self-hostable backend for end-to-end encrypted note sync. Runs via Docker Compose with MongoDB and S3 storage.CompareNotesnook Sync Server with Bitwarden
CasdoorSelf-hosted open-source IAM and SSO server with a web console, a built-in MCP server for AI agents, and support for more than 100 identity providers.CompareCasdoor with Bitwarden
AppwriteThe open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and moreCompareAppwrite with Bitwarden
Should you self-host Bitwarden?
Bitwarden scores 75/100 on selfhost.directory (how scoring works) and ranks #2 of 29 in Password Managers. It has 20 639 GitHub stars, +362 in the last 30 days.
It shipped 23 stable releases in the past year. The latest, v2026.10.1, came out on 28 October 2026. New versions land roughly every 2 weeks.
Setup is advanced: plan for several services and some ongoing maintenance. It is Other-licensed and written mostly in C#.
Its closest alternative on selfhost.directory is Vaultwarden (89/100, 70 745 stars). It scores higher overall, so compare the two before you pick. See Bitwarden vs Vaultwarden side by side.
Features
- Billing service
- Cross-platform deployment
- Distributed caching
- Event Logging
- Icon / asset service
- Identity / authentication service
- Licensed enterprise modulesRequires a license file registered in a cloud instance to enable.
- Push notifications service
- SCIM user provisioning
- Single sign-on (SSO) service
- System Management Portal (Admin)
- Vault sync REST API
More in Password Managers
BrambleLocal-first password manager keeping vault encrypted on your devices browsers desktop mobile. No account server data. Peer-to-peer sync imports KeePass LastPass Bitwarden
DELE.TODELE.TO is a self-hosted, open-source service for securely sharing passwords and credentials using client-side AES-256 encryption with self-destructing links.
FlashPaperFlashPaper is a self-hosted, open-source app for sharing secrets via one-time links that self-destruct after viewing. Zero-knowledge AES-256 encryption with local SQLite.
FyxxVaultSelf-hosted, open-source password manager with AES-256-GCM encryption, TOTP/2FA, dark web monitoring via HIBP, and zero-knowledge architecture.
guptSelf-hosted, end-to-end encrypted messenger and privacy suite with no phone number or central server — runs in the browser on a decentralized Nostr relay network.
KeewebFree cross-platform password manager compatible with KeePass
keyperKeyper is a self-hosted, open-source credential manager encrypting secrets client-side with AES-256-GCM and Argon2id, storing them in your own database.
keyshadeOpen-source, self-hostable secret management with public key encryption, live updates, versioning, and RBAC.
kontojKontoj is a self-hosted, open-source web app that helps create and manage service accounts using a JSON config file, with autofill via a browser userscript.
lazywardenAutomatic Bitwarden Backup
onetimesecretSelf-hosted, open-source secret sharing service creating one-time links for passwords and API keys, forked from onetimesecret.com with no accounts or paid features.
PadlocOpen-source, end-to-end encrypted password manager with shared vaults, MFA, a built-in authenticator and encrypted file storage; self-hosted via Docker Compose or Node.



0 comments