TOTP
Generate a 6-digit TOTP code from a Base32 secret.
Added 2026-10-31
What it does
TOTP generates the current 6-digit code from a Base32 secret or from an otpauth TOTP URL. The step is 30 seconds and the hash is HMAC-SHA1. If the URL names another algorithm, another length, or another period, the page stops. HOTP is rejected. The code and the seconds remaining follow this device's clock, and the code refreshes while the page is open. The secret is not stored and is not sent anywhere. It is not written into analytics. The page does not sign in to the account that issued the secret. A code is only as useful as the clock, so a skewed device clock produces a skewed code.
How to use it
- Paste a Base32 secret or an otpauth://totp URL.
- Read the 6-digit code and the seconds left in this 30-second step.
- The secret stays in this tab. The page does not sign in.
Common mistakes
- Only SHA-1, 6 digits, and 30 seconds. A URL that asks for SHA-256, 8 digits, or a 60-second step is rejected. HOTP is rejected too.
- The clock is this device. The code uses the device time. If that clock is wrong, the code will not match the server.
The secret stays in this tab. It is not stored and not uploaded.