Offline TOTP & HOTP Codes
RFC 6238 and RFC 4226 compliant verification codes supporting SHA-1, SHA-256, SHA-512 and 6- or 8-digit tokens. Works with zero internet connection.
Open-Source Desktop 2FA Authenticator for Windows
Generate RFC-compliant TOTP and HOTP codes right on your PC, migrate accounts from Google Authenticator in seconds via QR code, and optionally sync with zero-knowledge end-to-end encryption.
Independent software maintained by KESTON (keston.dev). DeskAuth is not affiliated with, endorsed by, or sponsored by Google LLC.
DeskAuth works completely offline out of the box. Cloud sync and inbox code extraction are strictly opt-in and controlled directly by you.
RFC 6238 and RFC 4226 compliant verification codes supporting SHA-1, SHA-256, SHA-512 and 6- or 8-digit tokens. Works with zero internet connection.
Batch import and export accounts using standard otpauth-migration QR codes via webcam, on-screen capture, clipboard paste, or image files powered by offline ZXing-C++ WASM.
Secrets are sealed in vault.json with a random 256-bit DEK and AES-256-GCM, protected by Windows DPAPI or an optional scrypt master password with idle auto-lock and clipboard auto-clear.
Sync across your Windows PCs using your own Google Drive hidden appDataFolder. Payloads are encrypted on your PC (scrypt + AES-256-GCM) with your passphrase before upload.
Optionally connect Gmail (read-only) or IMAP to surface email verification codes, 2FA setup QR codes, and security alerts locally in RAM — never saved to disk or uploaded.
Click any card to copy, summon instantly with Alt+Shift+A, access pinned codes from the system tray, toggle light/dark Material 3 themes, and export encrypted .deskauth backups.
Your authenticator secrets stay on your Windows machine. When you opt into Google sign-in, DeskAuth connects directly from your device to Google APIs via loopback OAuth 2.0 with PKCE (S256).
vault.json sealed with random DEK + AES-256-GCMscrypt master passwordcontextIsolationstateappDataFolderDeskAuth never asks for Google permissions unless you explicitly choose to sign in for cloud sync or the optional Gmail verification inbox. Every scope is minimized to a single user-facing feature.
| OAuth Scope | Requirement | Exact Purpose & Data Boundary |
|---|---|---|
openidemailprofile | Sign-in only | Displays your signed-in account name and email address inside DeskAuth settings so you can verify which Google account is connected. |
https://www.googleapis.com/auth/drive.appdata | Opt-in · Sync | Reads and writes a single end-to-end encrypted sync file (deskauth-sync.json) inside the app's private hidden Google Drive folder (appDataFolder). DeskAuth cannot see, read, or modify any other file in your Drive. |
https://www.googleapis.com/auth/gmail.readonly | Strictly optional · Read-only | Requested only if you explicitly enable the Gmail verification inbox. Fetches recent inbox messages in read-only mode and processes them strictly in local RAM to surface one-time login codes, 2FA setup QR codes, and security alerts. DeskAuth never sends, modifies, deletes, persists to disk, or transmits email content to any server. |
DeskAuth's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
Google Workspace API data (Drive and Gmail) is never sold, never used for advertising, never read by humans, and never used to develop, improve, or train generalized AI or ML models. See the complete Privacy Policy and Terms of Service.
Every line of DeskAuth — including the OAuth loopback flow, Drive encryption layer, Gmail read-only parser, and local vault cryptography — is publicly auditable under the MIT License.
DeskAuth Community is permanently free and MIT open source for personal use. If your e-commerce, agency, or engineering team shares dozens of logins and verification emails across staff, reserve early access to DeskAuth Team or request a self-hosted Docker deployment.
Leave your Telegram, email, or WhatsApp — direct reply from the maintainer within 2 hours (UTC+8).