Tested tool guide
Tested browser tools
Checked August 16, 2026
What TOTP Code Generator does, with a checked example
This tool computes the six-digit code an authenticator app would show, from the base32 secret key you saved when you enrolled an account. Generation follows the standard TOTP scheme: the secret and the current time are combined in 30-second windows, so the code changes twice a minute and the math needs no network connection. What trips people up is that the code is deterministic, not random - the same secret yields the same code at the same moment on any device, and there is nothing to resend. If a code is rejected, the problem is the secret, the clock, or the window, not the tool.
Worked example
A concrete input and expected output from the current implementation.
Input
GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ - the base32 form of the RFC 6238 test secret '12345678901234567890'
->
Expected output
005924 - the code for the window at Unix time 1234567890 (counter 41152263, 2009-02-13 23:31:30 UTC); the page shows whichever window is current when you generate
The code is a function of secret and time, so the live value rolls over every 30 seconds and cannot be quoted here. This pair is the published RFC 6238 test vector for that secret and counter, so it is exactly what the tool produces whenever the window reaches that counter; the leading zero shows the zero-padding step.