Dev Tools

TOTP Generator

Generate Time-based One-Time Password (TOTP) codes from a Base32-encoded secret. Uses HMAC-SHA1 via WebCrypto (RFC 6238). Runs entirely in your browser.

Secret (Base32)
Digits
Period (seconds)
Enter a Base32 secret above to generate a TOTP code.
Tip: Most authenticator apps use a 30-second period and 6-digit codes. The secret is typically a Base32-encoded string provided during 2FA setup.
Was this page helpful?

Related tools