TOTP Generator
Generate Time-based One-Time Passwords for two-factor authentication.
Free online tool. No signup required. All processing runs in your browser.
About this tool
Enter your TOTP secret (Base32, as shown when enabling 2FA) to generate the current 6-digit code. Useful for testing or when you cannot use an app.
What is TOTP Generator?
TOTP (Time-based One-Time Password) is a 6-digit code that changes every 30 seconds, used by authenticator apps for 2FA. It is based on a shared secret and the current time.
How to use TOTP Generator
- Paste your TOTP secret (Base32).
- View the current code and countdown.
- Copy the code when needed.
Examples
Example input
JBSWY3DPEHPK3PXP
Example output
123 456 (refreshes every 30s)
FAQ
Where do I get the secret?
When you enable 2FA, the site or app may show a secret key; add it here to generate codes. Keep it private.
Is this secure?
Generation runs in your browser; the secret is not sent anywhere. Prefer an authenticator app for daily use.