TOTP Generator
NewSecurityEnter the Base32 secret of an authenticator app and get the current 6-digit time-based one-time password (RFC 6238). Useful for testing your own keys or apps that cannot install a full authenticator. The code is computed in your browser with the Web Crypto API.
Enter at least 10 characters from your 2FA secret key.
Computes a TOTP (RFC 6238) code locally with the Web Crypto API. Only use keys you trust on this page, although nothing leaves your browser.
Where does the code come from?
Your Base32 secret is decoded and combined with the current Unix time divided into 30-second steps. A one-way HMAC-SHA1 signature produces a 6-digit code that matches exactly what your authenticator app shows.
Is it safe to use?
The whole calculation uses the Web Crypto API inside your browser page. The secret never leaves your device, which makes this a trustworthy way to test your own 2FA keys on this site.
Frequently Asked Questions
What is TOTP Generator?
Generate the current 6-digit 2FA code from a Base32 secret key, locally.
How do I use TOTP Generator?
Type or paste your data into the field on this page and press the button. The result is calculated instantly in your browser — nothing is uploaded.
Is TOTP Generator free?
Yes, TOTP Generator is completely free. No signup, no downloads and no usage limits.
All guides
Similar tools
View all toolsPopular tools
View all toolsWant to share what you created? Try linklyhub.com for a short, clean link.