DevNet KitTHE EVERYDAY TOOLBENCH
Network & Security · Local-first

TOTP / 2FA Generator Online

Generate RFC 6238 one-time codes from Base32 secrets.

Open TOTP / 2FA Generator

Free · No sign-up · Browser-based processing

What TOTP / 2FA Generator does

Generate RFC 6238 one-time codes from Base32 secrets. The utility is designed for quick, focused work without requiring an account or installing another application.

Common uses

  • Troubleshoot network and security configurations
  • Check values before production changes
  • Generate repeatable outputs for documentation

How to use TOTP / 2FA Generator

  1. Enter or paste the value you want to process in TOTP / 2FA Generator.
  2. Run the tool and review the generated result for the expected format.
  3. Copy or download the result and verify it in the system where it will be used.

Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.

TOTP / 2FA Generator example

Try the tool with this representative input:

JBSWY3DPEHPK3PXP

TOTP / 2FA Generator FAQ

What can I use TOTP / 2FA Generator for?

Generate RFC 6238 one-time codes from Base32 secrets. It is intended for focused network & security work and produces a result you can review before using elsewhere.

How does TOTP / 2FA Generator handle my input?

TOTP / 2FA Generator processes the input in your browser and does not upload it to the DevNet Kit server.

What should I verify after using TOTP / 2FA Generator?

Check the TOTP / 2FA Generator result against the requirements of the destination system, especially syntax, limits and environment-specific behavior.

Reproduce a fixed-time TOTP without treating it as a current login code

Use the demonstration Base32 secret with options 8,30,1970-01-01T00:00:59Z. The result is 94287082 at counter 1, with one second remaining in that historical time step. It is a reproducible fixture, not a current code or a secret for an account. The implementation uses HMAC-SHA1 and accepts digit settings from 6–8.

Options specify digits,period,timestamp; now uses the browser clock. Time and period determine the counter, so mismatched settings change codes. Secret parsing uppercases and removes characters outside A-Z2-7 rather than strictly rejecting malformed Base32. This tool generates codes; it does not enroll an account, verify a supplied code or synchronize a server clock.

Worked example

Input and settings:

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Options:

8,30,1970-01-01T00:00:59Z

Expected result or interpretation:

Code: 94287082
Valid for: 1 second
Counter: 1
Algorithm: HMAC-SHA1 · 8 digits · 30s period

Questions about this workflow

Why use a fixed timestamp instead of now in the example?

The historical 1970 timestamp makes the HMAC-SHA1 result reproducible: 94287082 with an eight-digit, 30-second configuration. This is a demonstration secret and code, not a usable current login code.

Does this strictly validate Base32 secrets or verify login codes?

No. It uppercases the secret and removes characters outside A-Z2-7. Digits, period and timestamp determine generation; now uses the browser clock. It does not validate enrollment, verify submitted codes or synchronize clocks.

Continue this workflow