2FA / TOTP Code Generator

Generate 2FA, TOTP, and OTP verification codes locally in your browser from a Secret or otpauth URI.

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.

Paste a Base32 Secret or an otpauth:// URI to generate 2FA, TOTP, and OTP verification codes directly in the current browser.

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

Input Type -
Issuer -
Account -
Secret Length -

FAQ