Google Authenticator
Enter your 32 digit 2FA secret and get the current code.
Frequently Asked Questions
Helpful answers about Google Authenticator, 2FA secrets, and online 2FA code generation.
What is a 2FA secret key?
A 2FA secret key is a private setup code used by authenticator apps to generate temporary login codes. It is usually a Base32 text string and may look like random letters and numbers.
How do I get a Google Authenticator code online?
Paste your 2FA secret key into the tool and click Get Code. The page generates the current six digit TOTP code, similar to Google Authenticator.
Does this work with Google 2FA?
Yes. This tool works with standard TOTP-based 2FA secrets used by Google Authenticator and many other authenticator apps.
Can I use this for Facebook 2FA?
If your Facebook account provides a standard 2FA secret key, this tool can generate the matching six digit authentication code.
Is my 2FA secret stored?
No. In browser mode, the code is generated locally in your browser. The page does not need to save your secret key to generate the code.
Why does the 2FA code change every 30 seconds?
Most authenticator codes use the TOTP standard, which creates a new login code every 30 seconds based on your secret key and the current time.
What should I do if the code does not work?
Check that the 2FA secret is copied correctly, remove extra spaces, and make sure your device time is accurate. TOTP codes depend on correct time synchronization.
Can I generate codes for multiple services?
You can use the tool for any service that provides a compatible TOTP secret key, including email, social media, hosting, and business accounts.
Is this the same as an authenticator app?
It performs the same TOTP code calculation, but it runs inside a web page. For long-term account security, keep backup codes and use a trusted authenticator app where possible.
Is it safe to share my 2FA secret key?
No. Treat your 2FA secret like a password. Anyone with your secret key may be able to generate your login codes.