Formatting
An authenticator code is a six-digit number that changes every 30 seconds, computed from a shared secret and the time. This page does that calculation for a Base32 secret or an otpauth://totp link. The opening settings are SHA-1, 6 digits, and a 30-second period, which is what almost every site emits. SHA-256, SHA-512, 8 digits, and a 60-second period are there for the accounts that say so in the link. If you paste an otpauth URI, the algorithm, digits, and period are read from the link.
You can also mint a new 20-byte secret, show the setup URI, or draw a setup QR so another authenticator can enroll. The QR is the same idea as the Wi-Fi code: a phone camera reads it, and here the payload is the otpauth link rather than WIFI:. The secret is as sensitive as the password. The page does not store it. Pasting a live bank secret onto a shared screen is publishing it to everyone who can see the screen.
Codes depend on the clock. A machine whose time is minutes off will disagree with the site. You can type a Unix timestamp to compute the code for a specific moment, which is how you check a vector. Leave it empty to use now.
A Base32 secret, output set to code, SHA-1, 6 digits, period 30, timestamp empty.
Six digits for the current 30-second window. The same secret in the next window produces a different code. A new secret action instead returns 20 random bytes encoded as Base32.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
No. It sits in the field while you use it. Clear the field when you are done. A secret left on a shared computer is a second factor anyone at that desk can mint.
The clock is skewed, the period or digits do not match the account, or the window rolled over while you typed. Check the machine time. Most sites also accept the previous 30-second code.
An otpauth://totp link with the secret, the account, and the issuer. A phone camera or an authenticator app reads it the way it reads any other QR. Anyone who scans it can mint codes.
Only time-based otpauth secrets with SHA-1, SHA-256, or SHA-512, 6 or 8 digits, and a positive period. Other one-time-password dialects are rejected.
Twenty random bytes, shown as Base32, suitable for enrolling an account you administer. It is not a code. You still have to register that secret with the service, usually by scanning the setup QR.