Skip to content
ZeroServer.tools

TOTP Generator

Generate authenticator (2FA) codes from a Base32 secret, live.

— — —

Refreshes in 30s · TOTP · SHA-1 · 30s · 6 digits

How TOTP / authenticator codes work

TOTP (Time-based One-Time Password, RFC 6238) is what apps like Google Authenticator and Authy use. It takes your shared Base32 secret, combines it with the current 30-second time step, and runs an HMAC-SHA1 to produce a 6-digit code that both sides can compute independently — no network needed. This tool does exactly that with the Web Crypto API, entirely in your browser, so the secret never leaves your device. Use it to test 2FA setups; for real accounts keep your secret private.

Related: the Base32 encoder, the HMAC generator, and the password generator.

Related Cryptography & Security tools