I lost my phone
Use a backup code or another enrolled method to sign in, then remove the old authenticator and set up 2FA again on your new device.
AltF Authenticator
TOTP, the time-based one-time password, is the method behind most authenticator apps. Your app and the service share a secret, and both combine it with the current time to make the same short code every 30 seconds. It is defined in RFC 6238, which builds on HOTP in RFC 4226.
The app never asks the server for a code. It only needs the secret and an accurate clock, so it works in airplane mode. That is also why a wrong clock is the most common reason codes fail.
It stops someone who only has your password, for example from a data breach, from signing in. It is not phishing-resistant: a fake login page can ask for your code and use it straight away. Passkeys and hardware security keys are tied to the real website, so they resist that attack. TOTP is still much stronger than a password alone and generally stronger than SMS codes.
Add a secret, an otpauth:// link or a QR screenshot. Codes are calculated on this device with the Web Crypto API and refresh every period.
No accounts yet
Try the RFC demo secret to see how it works.
Secrets stay in this tab. No request made by this page contains a secret or a code, and nothing goes to analytics. Saving is optional and encrypted on this device; set a passphrase or wipe it in the 2FA Authenticator vault tool.
Google Authenticator is one app that uses TOTP. Microsoft Authenticator, Authy, 1Password, Bitwarden and many others use the same standard, so the same secret works in any of them.
A random 6-digit code has a one in a million chance per try. Services limit attempts, so guessing is not practical.
You cannot make codes any more. Use a backup code or the service's recovery process, then set up 2FA again.
Usually yes. SMS codes can be stolen by SIM swap or interception, while TOTP codes are made on your device. Passkeys are stronger than both.
Use a backup code or another enrolled method to sign in, then remove the old authenticator and set up 2FA again on your new device.
Check your device clock first. If it is right, verify the code against the secret to see whether it matches a nearby time step.
Export from the old app, import on the new one, and check every account works before you wipe the old phone.
Generate a secret, show it as an otpauth:// QR code, and test your server's verification against the RFC vectors.
Store recovery codes offline, away from the phone that holds your authenticator, and mark each one as used.
Add the same secret here and compare codes, or run the RFC self-test to confirm the maths on this device.
AltFTool never receives your secrets or codes. The only network request any tab makes is the clock check, which asks AltFTool's server for the time and carries nothing else.