Generate secure TOTP (Time-based One-Time Password) codes instantly. Paste your secret key and get your 2FA authentication codes with real-time countdown.
Usually provided as a Base32 string when setting up 2FA
All calculations happen in your browser. Your secret keys never leave your device.
Automatic code refresh every 30 seconds with visual countdown timer.
Works with Google Authenticator, Authy, and all TOTP-compatible apps.
Two-Factor Authentication (2FA) adds an extra layer of security to your accounts by requiring two different authentication factors: something you know (password) and something you have (your phone or device).
When setting up 2FA, you'll see a QR code and usually a text version of the secret key. Copy this secret key (it looks like: JBSWY3DPEHPK3PXP).
Enter your secret key in the input field above. The tool will automatically generate your current 2FA code.
Copy the 6-digit code and use it to complete your 2FA login. The code refreshes automatically every 30 seconds.
Yes, this tool is completely client-side. Your secret keys never leave your browser, and all TOTP calculations happen locally on your device.
This tool is useful for backup access, testing, or when you need to generate codes on a device that doesn't have your authenticator app installed.
Make sure you're using the correct Base32 secret key (not the QR code). Remove any spaces and ensure all characters are valid Base32 (A-Z, 2-7).
The codes are generated using the same TOTP algorithm as standard authenticator apps, ensuring 100% compatibility and accuracy.