AUTH & PASSWORDS

TOTP & HOTP Generator

Compute TOTP and HOTP one-time codes locally per RFC 4226/6238 with SHA-1, SHA-256 or SHA-512.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

The secret stays in this tab's memory onlyDon't enter a real account's MFA secret on a shared device. This tool never stores or sends it.
HOW TO USE

How to use the TOTP & HOTP Generator

Authenticator apps generate codes from a shared Base32 secret. This tool implements RFC 4226 (HOTP) and RFC 6238 (TOTP) with configurable digits, periods and hash algorithms, so you can debug MFA setups without a phone.

  1. Paste your input into the workbench above. Mask production credentials or personal data first.
  2. Adjust the options you need and click Generate.
  3. Review and copy the result, then cross-check important conclusions against the original evidence.
USE CASES

TOTP & HOTP Generator use cases

  • Debug MFA enrollment and clock-drift issues.
  • Generate codes for test accounts in automated QA.
  • Solve CTF challenges that hand you a TOTP secret.

Related topics: totp, hotp, mfa, 2fa, rfc 6238

FAQ

TOTP & HOTP Generator FAQ

Does the TOTP & HOTP Generator upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the TOTP & HOTP Generator free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the TOTP & HOTP Generator on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the TOTP & HOTP Generator's results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.