2FAuth vs OTPHub
Comparing two open source alternatives to Authy and Microsoft Authenticator and Google Authenticator. Use the comparison below to decide which one fits your needs.

2FAuth
AGPL-3.0Self-hosted web app to manage your Two-Factor Authentication (2FA) accounts and generate TOTP and HOTP codes from any browser.
Side-by-side comparison
2FAuth | OTPHub | |
|---|---|---|
| License | AGPL-3.0 | GPL-3.0 |
| Self-hostable | Yes | No |
| GitHub Stars | 4,171 | 6 |
| Forks | 302 | — |
| Open Issues | 20 | — |
| Last Commit | Sep 28, 2026 | Sep 26, 2026 |
| First Released | May 15, 2019 | Jun 21, 2024 |
| Categories | ||
| Tags |
GitHub stars over time
GitHub stars over time
2FAuth4,171
OTPHub
Similar open source alternatives

Authentik
Open source identity provider and SSO solution that replaces Auth0 and Okta with a self-hostable, flexible authentication platform.
Alternative to:
Auth0
Auth0Trezur
Fast, secure, light-weight web-app to generate TOTP and HOTP tokens.
Alternative to:
Google Authenticator
Google AuthenticatorToofer
Toofer is a local-first, web-based two-factor authentication app that stores your TOTP secrets directly in your browser. Private, simple, fully offline.
Alternative to:
Google Authenticator
Google Authenticator
Open Authenticator
Free, open-source cross-platform TOTP authenticator with self-hostable sync backend, built with Flutter.
Alternative to:
Google Authenticator
Google Authenticator