2FA / TOTP Code Generator
Enter a Base32 Secret or otpauth URI to generate 2FA, TOTP, and OTP codes locally in your browser for two-step verification checks and temporary troubleshooting.
Security Notes
- Codes are generated locally in your browser by default and are not submitted to the server for calculation.
- The page does not store your Secret in the URL, local storage, or cookies. Refreshing the page clears it.
- Both the 2FA Secret and the current code are sensitive. Avoid using this tool on shared or public devices.
- If you do not trust the current browser environment, do not enter a production account's 2FA Secret here.
Enter a Base32 Secret or an otpauth:// URI to generate two-step verification codes locally in your browser and view the remaining time. Nothing is sent to the server.
Most services work with the default settings: SHA1, 6 digits, 30 seconds. If you paste an otpauth URI, the page will auto-detect the actual configuration.
Advanced Options
Only change these fields when the service explicitly gives you a different algorithm, digit length, or period.
------
Refresh in 30s
Was this tool helpful?
Your feedback helps us decide which tools to improve first.
If you can, tell us the main reason:
Common use cases
- Use this page to confirm that an account still produces the same code before moving it to a new phone, authenticator app, or password manager.
- When someone reports that a 2FA code is wrong, this page helps you check whether the algorithm, digit length, period, or otpauth parameters were entered incorrectly.
- If you only have a Base32 Secret or otpauth URI available and your authenticator app is not nearby, this page can be used for a short-lived check in a trusted browser.