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
Password Generator
Generate strong, random passwords locally.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes locally.
JWT Decoder
Decode JSON Web Tokens instantly and offline.
Bcrypt Generator
Generate and verify Bcrypt hashes with custom salt rounds.
MD5 Hash Generator
Generate an MD5 hash from any text.
SHA-1 Hash Generator
Generate a SHA-1 hash from any text.
SHA-256 Hash Generator
Generate a SHA-256 hash from any text.
SHA-512 Hash Generator
Generate a SHA-512 hash from any text.