LastPass alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| Bitwarden | GPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 14.4k |
| KeePassXC | GPL-3.0 | Desktop app | — | — | ★ 30.4k |
| Vaultwarden | AGPL-3.0 | Self-hosted | ✓ Yes | — | ★ 72.1k |
| Passbolt | AGPL-3.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 6.3k |
The 4 open source alternatives to LastPass
Bitwarden is a password manager with a generous free plan, apps for every platform and regular third-party security audits. You can use Bitwarden's cloud or self-host the server.
- Unlimited passwords on unlimited devices (free)
- Passkeys and two-factor authentication
- Secure sharing for families and teams
- Independent security audits
KeePassXC stores your passwords in an encrypted local database file that you control. There is no cloud: you can sync the file however you like. It has browser integration, TOTP codes and passkey support.
- Local encrypted database (KDBX)
- Browser extension for autofill
- TOTP and passkey support
- Windows, macOS and Linux
Vaultwarden is an unofficial, lightweight implementation of the Bitwarden server API in Rust. It works with all official Bitwarden apps and extensions and runs on very small machines such as a Raspberry Pi.
- Works with official Bitwarden apps
- Tiny resource usage
- Organisations, sharing and attachments
- Single Docker container
Passbolt is a team password manager from Luxembourg based on OpenPGP encryption. It focuses on secure credential sharing in organisations, with groups, permissions and audit logs.
- Built for team sharing
- OpenPGP-based encryption
- Browser extensions and mobile apps
- Self-hosted or cloud
How to choose an open source alternative to LastPass
Choose a manager whose code is public and audited, and check that it can import a LastPass CSV export.
If you want your data on your own server, look at Bitwarden, Vaultwarden and Passbolt. If you'd rather just install an app, KeePassXCruns directly on your device. Don't want to run a server? Bitwarden and Passboltoffer an official hosted version.
Not sure where to start? Browse all passwords & 2fa projects.
LastPass alternatives: FAQ
What is the best open source alternative to LastPass?
Bitwarden is the most complete open source alternative to LastPass on our list, followed by KeePassXC and Vaultwarden. The best choice depends on what you need: Choose a manager whose code is public and audited, and check that it can import a LastPass CSV export.
Is there a free alternative to LastPass?
Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Bitwarden and Passbolt, also sell an optional hosted version if you don't want to run it yourself.
Can I self-host an alternative to LastPass?
Yes: Bitwarden, Vaultwarden and Passbolt can all be installed on your own server, so your data stays on infrastructure you control.
Is there an open source LastPass alternative I can install as an app?
KeePassXC (desktop app) runs directly on your device, with no server needed.
Why switch from LastPass to open source software?
LastPass is proprietary software owned by LastPass (GoTo): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as GPL-3.0 and AGPL-3.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.