2FA Code Generator (TOTP)
Show the current 6-digit sign-in code for a 2FA secret, or create a new secret with a QR code for your app.
How to use 2FA Code Generator (TOTP)
Time-based codes (TOTP, RFC 6238) are what authenticator apps show. They are made from a shared secret and the current time, so this page can compute the same code without any connection. Use it to test a 2FA setup or as a backup when you have the secret.
- 1Open the tool and add your input.
- 2Work with the options; everything happens on this page.
- 3Save or copy the result when you are done.
Also useful for: totp · 2fa code · authenticator · one-time password · google authenticator
- Free, no sign-up or watermark
- What you type is not sent anywhere
- Works in 12 languages
Frequently asked questions
Is 2FA Code Generator (TOTP) free?
Yes. It is free to use, with no sign-up and no watermark.
Is my input sent anywhere?
No. 2FA Code Generator (TOTP) works inside your browser tab. What you type is not sent to a server or saved by the site.
Are there limits?
No account and no daily limits. Only your device’s memory sets a limit for very large inputs.
Where is my secret saved?
Nowhere. It stays in this tab’s memory and is gone when you close or reload the page.
Why does my code not match the app?
Check that your device clock is correct and that the digits, period and algorithm match the service’s settings (most use 6 digits, 30 seconds and SHA-1).
Something not working in this tool? Report it by email · Request another tool