TOTP Generator

Generate time-based one-time passwords for debugging 2FA setups.

Enter a Base32 secret and click Generate.

Step by step

How to use TOTP Generator

  1. 1

    Enter a Base32 secret and confirm the time-based one-time-password settings.

  2. 2

    Generate the current code while watching the remaining validity window.

  3. 3

    Compare the code with the authenticator or service being debugged.

Capabilities

What this tool handles

  • SHA-1 HMAC from scratch
  • Standard Base32 secrets
  • Live countdown timer

Common uses for TOTP Generator

  • Check Base32 decoding and clock alignment during a test 2FA integration.
  • Generate known TOTP examples for development and interoperability testing.

What to check before using the result

A TOTP secret grants the ability to generate future codes. Use only test secrets here and store real enrolment secrets in an appropriate secure system.

Privacy and accuracy

Questions about TOTP Generator

Does this tool upload my input?

The conversion or analysis runs in your browser. The application does not intentionally send the value you enter to a processing API. Standard hosting infrastructure can still receive request metadata when the page loads; see the privacy page for details.

Can I rely on the output without checking it?

Use the result as a focused development aid and verify it in the system where it will be used. Test representative edge cases and confirm the destination uses the same format, standard, and assumptions described on this page.

Related Tools