JsonMind

TOTP Generator

Security & Authentication

Generate TOTP codes from a Base32 secret with a live validity timer.

Generate a time-based one-time password from a Base32 secret using the TOTP algorithm. The tool shows the current code, the remaining seconds in the 30-second window and the period. Treat the secret like a password and verify the code against the service before relying on it.

Parameters
Input
Output
Auto-calculate
0 characters · 0 bytes

Use cases

When to use TOTP Generator

Generate TOTP codes from a Base32 secret with a live validity timer.

1Start with an input that matches the supported fields for TOTP Generator, then confirm the output format, required fields and file integrity before using it downstream.
2Check algorithm parameters, encoding, salts, keys and one-way security semantics on the result rather than relying only on a success message; if something looks wrong, keep the source and narrow the input to reproduce it.
3Keep the original input and compare the exported result line by line; validate it once more in the receiving system before production use. Finally, confirm the output serves the stated purpose: Generate TOTP codes from a Base32 secret with a live validity timer.

Guidance

Get reliable results

  1. 1Confirm the output fulfills the stated goal: Generate TOTP codes from a Base32 secret with a live validity timer.. Then review algorithm parameters, encoding, salts, keys and one-way security semantics and the supported limits.
  2. 2Review algorithm parameters, encoding, salts, keys and one-way security semantics before relying on the result, especially values that affect money, security or published content.
  3. 3Remove sensitive values from test data and validate the final output in the receiving system.
TOTP Generator processes the browser inputs described on this page; validate algorithm parameters, encoding, salts, keys and one-way security semantics and any external platform rules separately before production use. Confirm the result in the target environment before production use.

Common mistakes

What usually goes wrong

  1. 1Using a secret with spaces, lowercase letters or missing padding can produce the wrong code; enter the Base32 value exactly as issued.
  2. 2Assuming the code is valid for a full minute is wrong; the default period is 30 seconds, so a code can expire while you are typing it.
  3. 3Sharing the secret or a screenshot of the QR code defeats the second factor; store it in an authenticator or password manager.

Verification checklist

Check before you ship

  • Compare the generated code with the code shown by a trusted authenticator app using the same secret.
  • Confirm the remaining seconds count down and a new code appears at the period boundary.
  • Test the code against the target service in a controlled login before depending on it.

Frequently asked questions

What is TOTP Generator best used for?

Generate TOTP codes from a Base32 secret with a live validity timer. A representative use case is Start with an input that matches the supported fields for TOTP Generator, then confirm the output format, required fields and file integrity before using it downstream.

What should I verify before relying on TOTP Generator output?

TOTP Generator processes the browser inputs described on this page; validate algorithm parameters, encoding, salts, keys and one-way security semantics and any external platform rules separately before production use.

Can I start using TOTP Generator without installing software?

Yes. Generate TOTP codes from a Base32 secret with a live validity timer. Another common workflow is Check algorithm parameters, encoding, salts, keys and one-way security semantics on the result rather than relying only on a success message; if something looks wrong, keep the source and narrow the input to reproduce it. Review the target API, runtime, database or document workflow before production use.

What is the default TOTP period?

The tool uses a 30-second period and six digits, which is the common default. Some services use a different period or digit count; confirm the issuer's parameters.

Can I use this for production 2FA?

It can generate codes, but a dedicated authenticator or hardware key is safer for daily use. Never store long-lived secrets in an untrusted page.

Official references

Primary specifications and vendor documentation used to describe this tool's behavior and limits.

Reviewed by the JsonMind editorial team on 2026-11-21. Browser behavior is tested; external services and target environments require separate validation. Editorial standards