OTP manager
Generate and validate one-time passwords for two-factor authentication.
Input
No value
Output
Guide
What is TOTP?
TOTP (time based one time password) is how most authenticator apps make their codes for two factor authentication. When you turn it on, the service gives you a secret key, usually as a QR code. Your app combines that secret with the current time to make a 6 digit code that changes every 30 seconds. The service does the same math on its side, so the codes match without your phone ever talking to the server.
Tool description
The OTP manager starts with a random secret and shows its current code in Token, with a bar that counts down to the next one. Paste your own secret instead to see its codes. Spaces and lower case letters are fine, since apps often show the secret in groups of four. Regenerate secret makes a new random one.
The URI field holds the otpauth link that authenticator apps read, and the QR code below holds the same link. Scan it with an app such as Google Authenticator or Microsoft Authenticator and the app adds an account named guest for rapidtoolset.com that shows the same codes as the page.
Under Verify a code, type a code to check it against the secret. The code of the previous 30 seconds still passes, in case it ran out while you typed it.
Features
- Makes a random Base32 secret, or reads one you paste
- Shows the current code, the otpauth URI and a QR code for authenticator apps
- Checks whether a code is valid for the secret right now
Good to know
- Codes use the settings most services use: SHA-1, 6 digits and a new code every 30 seconds. A service that uses 8 digits or another algorithm gets different codes.
- The codes depend on your device's clock. If they don't match your app, check that the clock is set automatically.
- Everything runs in your browser and nothing is sent anywhere. Still, anyone who has a secret can make its codes, so use test secrets here and treat real ones like passwords.