What is the 2FA Code Generator (TOTP)?
Two-factor apps make a new 6-digit code every 30 seconds from a secret key. Paste the Base32 secret and see the current code with a countdown, exactly like Google Authenticator would show.
Useful for testing 2FA in your own apps or checking a secret before you add it to a phone. Never paste secrets for real accounts into sites you do not trust.
Features
Live code
Updates every 30 seconds.
Private
The secret stays in your browser.
How to use the 2FA Code Generator (TOTP)
- 1
Paste the secret key the site gave you when you set up 2FA.
- 2
Press Show code.
- 3
The code changes every 30 seconds; the bar shows the time left.
Who it is for
Developers
Test 2FA logins.
Tips for better results
- If codes do not match, check your device clock. TOTP depends on the exact time.
Questions people ask
Is it free?
Yes, free and private.
Is what I type sent anywhere?
No. Everything runs in your own browser with its built-in cryptography. Nothing is sent to our server or saved.
Is it safe to paste my 2FA secret?
It never leaves your browser, but anyone who sees the secret can make your codes. Use it on your own device and keep the secret private.
The code is wrong.
Check your device clock is correct; TOTP codes depend on the exact time.