Online 2FA code generator Generated locally. Ready to use.
Generate TOTP time-based codes for free, with Base32 keys and authenticator links supported. No registration; keys are not uploaded.
Refreshes automatically after generation
Complete verification in three steps
Copy the secret from the account's two-step verification settings, or paste an authenticator link.
Click Generate. The verification code refreshes automatically when it expires; no repeated action is needed.
Copy the current verification code into the login verification field for the corresponding account.
Incorrect verification code? Enable automatic date and time on your device, then check the secret. Do not share the secret or use it on public devices.
Standard secrets default to 6-digit codes with a 30-second period. Authenticator links supply their algorithm, digit count and period. Only TOTP is supported, not SMS codes, recovery codes or HOTP.
2FA verification code FAQ
What is a 2FA key, and how does it differ from a six-digit code?
A 2FA secret is the Base32 string provided when enabling two-step verification, used to continually generate time-based codes. A six-digit verification code is a short-lived one-time code and cannot be used as the secret. Store the secret securely and do not share it.
How do I get verification codes from a 2FA key?
Paste the complete Base32 key or otpauth://totp/ authenticator link, click "Get verification code," then copy the current code into the account's login verification field. Plain keys update every 30 seconds by default; links supply their algorithm, digit count, and period.
Why is my 2FA code reported as incorrect?
Enable automatic date and time on your device and confirm that the secret belongs to the account you are logging into. If a code is about to expire, wait for a refresh before copying. If the authenticator link specifies an algorithm, digit count or period, paste the full link. SMS codes, recovery codes and HOTP are not supported.
Does this tool upload or save my 2FA secret?
No. Codes are generated locally using your browser's built-in Web Crypto. Secrets are not uploaded to a server or written to browser local storage. Analytics and support scripts are disabled on this page. Click "Clear" after use, and do not use it on public devices.
Need account usage instructions? See Tutorial or Help center.