TOTP Generator
Turn a Base32 secret into live time based one time codes following RFC 6238.
Generate a TOTP code
Code: —
Valid for: — seconds
Counter: —
How to use the TOTP Generator
- Paste the Base32 secret from your account or authenticator setup.
- Set the period, the number of digits and the hash algorithm.
- Watch the countdown ring and copy the current code before it expires.
Features
- RFC 6238 time based codes
- 6 or 8 digits with SHA-1, SHA-256 or SHA-512
- Live countdown ring and counter display
- Base32 secrets with spaces or dashes are accepted
Advertisement
Frequently Asked Questions
Common questions about the free online totp generator.
A time based one time password is a short number derived from a shared secret and the current
time, and it changes every period, usually 30 seconds.
Paste the Base32 secret shown by your provider, often under manual setup or a QR code link,
and the current code appears immediately.
Check the period, the digit count and the algorithm. Most services use 30 seconds, six digits
and SHA-1, but some differ.
No. The secret stays in the page, is never sent anywhere, and disappears as soon as you close
or reload the tab.
Until the countdown ring empties, which happens every period. Codes are commonly accepted one
step before and after the current one.
It is handy for testing and recovery, but keep using your phone or desktop authenticator for
daily logins because it keeps the secret for you.
Base32 only uses letters and digits that are easy to read aloud and type, which avoids the
case and character confusion of Base64.
Yes. It is completely free, works offline once loaded, and needs no account, no sign-up and
no installation.
Last updated: October 10, 2026