Open-source alternatives to LastPass
The most popular self-hosted, open-source alternatives to LastPass (password management) are Vaultwarden (69,260 GitHub stars), Bitwarden (20,409 GitHub stars) and Passbolt (6,176 GitHub stars). SelfHostHub lists 7 options below, taken from its Password Managers category; 5 support Docker and all of them can run on your own server.
Comparison of self-hosted LastPass alternatives
| Project | GitHub stars | Licence | Language / platform | What it does |
|---|---|---|---|---|
| Vaultwarden | 69,260 | GPL-3.0 | Rust, Docker | Lightweight Bitwarden server API implementation written in Rust. |
| Bitwarden | 20,409 | AGPL-3.0 | Docker, C# | Password manager with a webapp, browser extension, and mobile app. |
| Passbolt | 6,176 | AGPL-3.0 | PHP, deb, K8S, Docker | Collaborative password manager. |
| AliasVault | 3,288 | MIT | Docker | End-to-end encrypted password manager with a built-in email alias generator and server. |
| Teampass | 1,836 | GPL-3.0 | PHP | Password manager dedicated for managing passwords in a collaborative way. One symmetric key is used to encrypt all shared/team passwords and stored server side in a file and the database. works on any server Apache, MySQL and PHP. |
| PassIt | — | AGPL-3.0 | Docker, Python | Simple password manage with sharing features by group and user, but no administration interface. |
| Psono | — | Apache-2.0 | Python | Password manager for companies. |
Star counts and licences come from the awesome-selfhosted dataset and may lag GitHub slightly.
Browse the full categories
Frequently asked questions
What is the best open-source alternative to LastPass?
By GitHub stars, Vaultwarden is the most popular self-hosted alternative to LastPass listed here, followed by Bitwarden and Passbolt. The best fit depends on the features and stack you need.
Is there a free self-hosted alternative to LastPass?
Yes. All 7 projects on this page are open source and can be self-hosted at no licence cost; you pay only for your own server.
Which licences do these LastPass alternatives use?
The most common licences among them are AGPL-3.0 (3), GPL-3.0 (2) and MIT (1).
Can I run a LastPass alternative with Docker?
5 of the 7 alternatives list Docker as a supported platform.