🔐

TOTP / 2FA Code Generator

Generate 6-digit authenticator codes from a secret key. Works 100% offline — your secret never leaves your browser.

100% OfflineRFC 6238

🔑 Secret Key

Found in your account's 2FA setup page — usually shown as "Can't scan QR? Use this key instead."
Invalid Base32 secret. Use only A–Z and 2–7.
🛡 Your secret key is never sent to any server. All computation happens locally in your browser using the Web Crypto API.
Current Code
— — —
—s
✓ Copied!
Next Code (in s)
— — —
Recent Codes (last 3 windows)

⏱ TOTP codes change every 30 seconds (RFC 6238). This tool is compatible with Google Authenticator, Authy, Microsoft Authenticator and any TOTP-compliant app. The code shown is valid for the current 30-second window.