TOTP Code Generator
See the 6-digit code an authenticator app would show for a secret key. Handy for testing your own login code.
How it works
Paste a Base32 secret and see the 6 digit code an authenticator app would show right now, with the seconds left. It follows RFC 6238 with a 30 second step.
Worked example
The RFC test secret GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ gives a new code every 30 seconds.
Good to know
- Use it to test your own login code, not to store real account secrets on a shared computer.
- If codes do not match, check that your device clock is correct.
Common questions
- Is my secret sent anywhere?
- No. The code is worked out in your browser.
- Why does the code change?
- It depends on the time, so it changes every 30 seconds.
- What if my secret has spaces?
- Spaces and lower case letters are ignored.