Sign in with a backup code or another method you enrolled, such as a security key, a second phone or a passkey. If you have none, use each service's account recovery process, which can take days. Once you are back in, remove the old authenticator, set up 2FA again and save new backup codes.
Free, no sign-up
Secrets stay in your browser
RFC 6238 self-test built in
Works on mobile
First hour
If the phone was stolen, use your phone maker's find-my-device service to lock or erase it.
Call your mobile carrier to block the SIM, so nobody can receive your SMS codes.
Start with your main email account, because it can reset most other accounts.
Ways back in, in order
Backup codes you saved when you set up 2FA.
Another enrolled method: a second phone, a security key, a passkey on another device, or SMS to a number you still control.
Cloud sync in your authenticator app, if you had it turned on. Some apps can restore accounts after you sign in on a new phone.
A saved copy of the secret or setup QR in a password manager. If you have one, add it in the Live codes tab to get a code right now.
The service's account recovery form. Give as much detail as you can and expect a waiting period.
After you are back in
Remove the old authenticator from each account's security settings.
Set up 2FA again on your new device. This creates a new secret.
Generate and store a new set of backup codes. The old set may have been on the lost phone.
Add a second method, such as a security key or passkey, so one lost device is not enough to lock you out again.
What no tool can do
Codes come from the secret. Without the secret, a backup code or the service's help, nobody can make valid codes for your account, and any site that claims to is a scam.
Lost the phone with your authenticator app: questions and answers
Can I recover Google Authenticator codes without the old phone?
Only if you had cloud sync turned on in Google Authenticator, or saved the secrets somewhere else. Otherwise use backup codes or each service's recovery process.
Can AltF Authenticator recover my codes?
Only if you still have the secret or the setup QR code. It cannot make codes from nothing.
How do I avoid this next time?
Save backup codes offline, enrol a second method, and keep a copy of each secret in a password manager or an authenticator with encrypted backup.
Start from what happened
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.
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.
Random one-time codes for your own app or for a sheet you keep offline. These are not registered with any service: for Google, GitHub and others, use the codes their security page gives you.
50 bits per code, from a 32-character alphabet without look-alikes (no 0/O or 1/I). Store them hashed on your server, like passwords.
Keep your real backup codes safe
Download or print the real backup codes each service gives you when you turn on 2FA. Those are the ones that unlock your account.
Keep one copy offline (paper in a safe place) and one in your password manager, never only on the phone that has the authenticator.
Each code works once. Cross it out when used and make a new set when you run low.
If you think someone saw your codes, regenerate them in the service's security settings: the old set stops working.
Before you change or wipe a phone, move your authenticator accounts first, then test a code from the new phone.
Made with your browser's cryptographic random generator. Nothing is stored or sent.