LockhelmIntroductions to password, identity and access tools

Multi-factor authentication · 6 tools

Top 6 open-source 2FA tools for keeping codes under your own control with encrypted backups

By the Lockhelm editorial team · Published · Updated · Facts checked 21 November 2026 (Asia/Dhaka)

If you want your 2FA codes under your own control, start with Aegis Authenticator, Ente Auth and 2FAS. Each is open source and documents a way to back up or move your tokens. This shortlist is for privacy-minded users who want encrypted, portable backups and do not want to be tied to one vendor.

At a glance: the shortlist in order of fit for this use case
#ToolBest forKey featurePlatforms / deploymentPricingMore
1Aegis AuthenticatorBeemdevelopmentAndroid users who want a dedicated open source authenticatorSecure vault with optional biometric unlockAndroidSee vendor pricing pageOfficial site
2Ente AuthEnteUsers who want encrypted sync across all their devicesEnd-to-end encrypted cloud backupsMobile, desktop and webSee vendor pricing pageIntroduction
32FAS2FASMobile users who want local-first storage with self-hostingEncryption on the device, so only the user holds the keysiOS and Android, with a web browser extensionSee vendor pricing pageIntroduction
4KeePassXCKeePassXC TeamDesktop users who want an offline encrypted file they fully controlOffline encrypted file stored anywhere, including cloud storageWindows, macOS and LinuxSee vendor pricing pageIntroduction
5BitwardenBitwarden Inc.Users who want an open source vault with a self-hosted optionPublicly available codebaseAutofills on any device; cloud or self-hosted storageSee vendor pricing pageIntroduction
6Proton PassProton AGUsers who want 2FA codes inside an encrypted password managerStores, autofills and displays 2FA codesiOS, Android, Windows, macOS, Linux, the web and major browser extensionsSee vendor pricing pageIntroduction

1 Aegis Authenticator

By Beemdevelopment

Aegis Authenticator is an open source Android app for managing 2-step verification tokens. It positions itself as an alternative to Google Authenticator and Authy.

Why it is here: It comes first because it is a dedicated, open source authenticator whose documented focus is backups, import and export, which are the core of this use case.

Best for
Android users who want a dedicated open source authenticator
Key features
  • Secure vault with optional biometric unlock
  • Imports and exports from many 2FA apps
  • Automatic backups
  • Themes, view modes and icon packs
Limits
Documented for Android only; teams or individuals who need iOS, desktop or web access should look at other tools in this list. Check the vendor documentation for details of backup encryption.
Platforms / deployment
Android
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

2 Ente Auth

By Ente

Ente Auth is an open source, cross-platform 2FA authenticator with end-to-end encrypted cloud backups. Its cryptography has been externally audited.

Why it is here: It sits second because it pairs open source code and documented export and import with encrypted sync across mobile, desktop and web.

Best for
Users who want encrypted sync across all their devices
Key features
  • End-to-end encrypted cloud backups
  • Codes sync across devices, end-to-end encrypted
  • Data export and import without lock-in
  • Add tokens by QR scan, manual secret or bulk import
  • Fully open source backend
Limits
Backups are stored in the vendor's cloud, which is documented as open source and end-to-end encrypted. Users who want no cloud component at all should check the vendor documentation for local-only options.
Platforms / deployment
Mobile, desktop and web
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

3 2FAS

By 2FAS

2FAS is an open-source, local-first authenticator and password manager focused on privacy. Tokens and passwords are stored locally and encrypted on the device.

Why it is here: It follows because its local-first design, public source and cryptography white paper suit users who want keys held only by themselves.

Best for
Mobile users who want local-first storage with self-hosting
Key features
  • Encryption on the device, so only the user holds the keys
  • Cloud and manual backup options
  • Self-hostable vault
  • Public source code and a cryptography white paper
  • Groups, badges, icons and labels for tokens
Limits
Documented with native iOS and Android apps plus a browser extension for sharing selected passwords. Users who need a full desktop or web authenticator should check the vendor documentation.
Platforms / deployment
iOS and Android, with a web browser extension
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

4 KeePassXC

By KeePassXC Team

KeePassXC is an open-source, cross-platform password manager that keeps credentials in an offline encrypted file. The source is under GPLv3 and hosted on GitHub.

Why it is here: It sits here because its offline encrypted file can be stored anywhere and involves no remote servers, which fits users avoiding lock-in, though it is a password manager rather than a dedicated authenticator.

Best for
Desktop users who want an offline encrypted file they fully control
Key features
  • Offline encrypted file stored anywhere, including cloud storage
  • No data stored on remote servers
  • GPLv3 source code on GitHub
  • Version 2.7.9 received a Security Visa from ANSSI
  • Version 2.8.0 adds remote database sync and quick unlock options
Limits
Documented for Windows, macOS and Linux; the official pages we used do not describe mobile apps. The facts we gathered do not describe 2FA code handling, so check the vendor documentation if that is your main need.
Platforms / deployment
Windows, macOS and Linux
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

5 Bitwarden

By Bitwarden Inc.

Bitwarden is an open source, end-to-end encrypted password manager for individuals, teams and enterprises. Its codebase is publicly available.

Why it is here: It sits fifth because its open code and self-hosting option suit users who want control, but the documentation we gathered centres on passwords and secrets rather than authenticator codes.

Best for
Users who want an open source vault with a self-hosted option
Key features
  • Publicly available codebase
  • Cloud or self-hosted data storage
  • Encrypted vault data stored locally with offline read access
  • Autofill on any device
  • Send with AES-256 end-to-end encryption
Limits
The facts we gathered do not describe 2FA code generation, so users who need it should check the vendor documentation. It is also aimed broadly at individuals, teams and enterprises rather than only at authenticator use.
Platforms / deployment
Autofills on any device; cloud or self-hosted storage
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

6 Proton Pass

By Proton AG

Proton Pass is an open-source, end-to-end encrypted password manager from Proton. It stores and syncs passwords, passkeys, email aliases and more across devices.

Why it is here: It closes the list because it documents storing, autofilling and displaying 2FA codes on many platforms, but its approach is a hosted service within a wider password-manager suite.

Best for
Users who want 2FA codes inside an encrypted password manager
Key features
  • Stores, autofills and displays 2FA codes
  • Zero-knowledge, end-to-end encryption
  • Passwords can be imported from browsers or other password managers
  • Available on iOS, Android, Windows, macOS, Linux and the web
  • Passkey support
Limits
Documented as a hosted, synced service; the facts we gathered do not describe self-hosting or a standalone code export format. Users who need those should check the vendor documentation.
Platforms / deployment
iOS, Android, Windows, macOS, Linux, the web and major browser extensions
Pricing
See vendor pricing page (not quoted here; facts checked 21 November 2026, Asia/Dhaka)

How we chose these tools

We looked at three things: fit with the use case of keeping 2FA codes under your own control, the capabilities each vendor documents (open code, encrypted backup, import and export), and the deployment and platform information on official pages. Tools that are full password managers rather than dedicated authenticators are included only where their documentation supports the use case, and each entry states where the documentation stops.

All facts come from official vendor pages, each recorded with a check date. The order reflects editorial fit for this use case: how openly the code is published, how clearly encrypted backup and export are documented, and how widely the tool runs across platforms. It is not a claim that any tool is better overall. The list is built from documentation, not product trials, so where a page is silent we say so and suggest checking the vendor documentation.

Order used in this guide: Ordered by openness of the code, strength of encrypted backup and export, and cross-platform support.

Frequently asked questions

Which open-source 2FA apps support encrypted backups?

Ente Auth documents end-to-end encrypted cloud backups, and 2FAS documents on-device encryption with cloud and manual backup options. Aegis Authenticator documents automatic backups, and KeePassXC keeps data in an offline encrypted file.

Can I move my 2FA codes between apps without lock-in?

Aegis Authenticator can import and export from many 2FA apps, and Ente Auth documents export and import without lock-in. Proton Pass documents imports from browsers and other password managers.

Is there an open-source authenticator that works on desktop and web?

Ente Auth is documented with apps for mobile, desktop and web. Proton Pass lists iOS, Android, Windows, macOS, Linux, the web and browser extensions, and KeePassXC runs on Windows, macOS and Linux.

Can I keep my 2FA data off a vendor's servers?

KeePassXC states that no data is stored on remote servers and keeps credentials in an offline encrypted file. 2FAS stores tokens locally and lets users self-host their vault, and Bitwarden offers a self-hosted instance.

Has any of these tools had its security externally checked?

Ente Auth states its cryptography has been externally audited. KeePassXC version 2.7.9 received a Security Visa from ANSSI, the French National Cybersecurity Agency, and Bitwarden says its security claims are independently verified.

Sources. Facts on this page come from each vendor's official pages, checked on the dates shown (Asia/Dhaka):

Lockhelm is independent and not affiliated with the vendors listed. No vendor paid for inclusion or position. Product names belong to their owners. Features and prices change; confirm details on each official website.