Open Source Password Managers & 2FA Apps

For security software, open source code is a real advantage: anyone can audit how your secrets are protected. These password managers and two-factor authentication apps replace 1Password, LastPass, Dashlane, Authy and Google Authenticator.

14 projects · updated December 2026

Compare by product

Comparison table

Project Licence Type Self-host Cloud option GitHub stars Replaces
Bitwarden GPL-3.0 Self-hosted ✓ Yes ✓ Yes ★ 14.4k 1Password, LastPass, Dashlane
KeePassXC GPL-3.0 Desktop app — — ★ 30.4k 1Password, LastPass, Dashlane
Vaultwarden AGPL-3.0 Self-hosted ✓ Yes — ★ 72.1k 1Password, LastPass, Dashlane
Pi-hole EUPL-1.2 Self-hosted ✓ Yes — ★ 62.4k NextDNS
Headscale BSD-3-Clause Self-hosted ✓ Yes — ★ 46.5k Tailscale
AdGuard Home GPL-3.0 Self-hosted ✓ Yes — ★ 39.1k NextDNS
Infisical MIT Self-hosted ✓ Yes ✓ Yes ★ 31.6k HashiCorp Vault, Doppler
NetBird BSD-3-Clause Self-hosted ✓ Yes ✓ Yes ★ 31.6k Tailscale
Ente Auth AGPL-3.0 Mobile app — ✓ Yes ★ 30.8k Twilio Authy, Google Authenticator
Cryptomator GPL-3.0 Desktop app — — ★ 16.6k NordLocker
Aegis Authenticator GPL-3.0 Mobile app — — ★ 13.7k Google Authenticator, Twilio Authy
OpenBao MPL-2.0 Self-hosted ✓ Yes — ★ 9.5k HashiCorp Vault
Passbolt AGPL-3.0 Self-hosted ✓ Yes ✓ Yes ★ 6.3k 1Password, LastPass
2FAS Auth GPL-3.0 Mobile app — — ★ 1.6k Twilio Authy, Google Authenticator

All 14 projects

Bitwarden

GPL-3.014.4k

Open source password manager for everyone.

Replaces 1Password, LastPass, Dashlane

Self-hostedCloud option
Self-hostedPasswords & 2FA

Vaultwarden

AGPL-3.072.1k

Lightweight Bitwarden-compatible server.

Replaces 1Password, LastPass, Dashlane

Self-hosted
Self-hostedPasswords & 2FA

Infisical

MIT31.6k

Secrets management platform for developers.

Replaces HashiCorp Vault, Doppler

Self-hostedCloud option
Self-hostedPasswords & 2FA

NetBird

BSD-3-Clause31.6k

WireGuard overlay network with SSO and access control.

Replaces Tailscale

Self-hostedCloud option
Self-hostedPasswords & 2FA

Ente Auth

AGPL-3.030.8k

Free 2FA app with end-to-end encrypted sync.

Replaces Twilio Authy, Google Authenticator

Cloud option
Mobile appPasswords & 2FA

Passbolt

AGPL-3.06.3k

Password manager built for teams.

Replaces 1Password, LastPass

Self-hostedCloud option
Self-hostedPasswords & 2FA

2FAS Auth

GPL-3.01.6k

Free, open source two-factor authenticator app.

Replaces Twilio Authy, Google Authenticator

Mobile appPasswords & 2FA

Frequently asked questions

What are the best open source passwords & 2fa tools?

Popular open source options include Bitwarden, KeePassXC, Vaultwarden and Pi-hole. Together they replace 1Password, LastPass, Dashlane, NextDNS and Tailscale.

Which open source passwords & 2fa tools can I self-host?

Bitwarden, Vaultwarden, Pi-hole, Headscale, AdGuard Home and Infisical are server applications you can install on your own server.

Which open source passwords & 2fa tools run as an app?

KeePassXC, Ente Auth, Cryptomator, Aegis Authenticator and 2FAS Auth run directly on your computer or phone.

Other categories

Browse 350+ open source alternativesSearch by product, category or licence