DataToolsLab
Security & Crypto Tools

TOTP Generator & Verifier

Generate and verify time-based one-time passwords (RFC 6238).

Loading tool…

What is TOTP?

A TOTP tool compatible with authenticator apps: it derives the current time-based one-time password from a Base32 secret and verifies codes.

How it works

The secret is Base32-decoded, the time counter is HMAC-SHA1-signed via Web Crypto, and the dynamic truncation yields the 6/8-digit code.

  1. Enter your input. Type or paste your input into the field above — the tool responds instantly.
  2. Review the result. Output updates live as you type. Everything runs entirely in your browser.
  3. Copy or download. Use the Copy button to grab the result, or Download to save it as a file.

Examples

Realistic sample

Paste or type any realistic input — the tool computes the result locally and instantly.

Common mistakes

Expecting a server round-trip

Nothing is uploaded — every tool in this category runs entirely in your browser.

Online