A worked example, rendered from real sample data. Sign in to run the tool on your own input.
JBSWY3DPEHPK3PXPSecret: 10 bytes of key material
Algorithm: HMAC-SHA1, 6 digits, 30s step
Time: 2026-09-20T12:07:34.000Z
Counter: 59663535 (valid for another 26s)
Previous: 278250 (counter 59663534)
Current: 604588 (counter 59663535)
Next: 499551 (counter 59663536)
Provisioning URI:
otpauth://totp/DevToolsSurf?secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&period=30
Notes:
- Secret is only 10 bytes. RFC 4226 requires at least 16 and recommends 20.
Generate time-based one-time passwords from a secret key. Part of the DevTools Surf developer suite. Browse more tools in the Security / Crypto collection.