TOTP Code Generator

Generate a Time-based One-Time Password (RFC 6238) — SHA-1, SHA-256 or SHA-512.

Enter a Base32 secret to generate a TOTP code.

About this tool

Given a Base32 secret (the one your authenticator app stores), compute the current TOTP code as per RFC 6238 — 6 or 8 digits, 30 or 60-second window, HMAC-SHA1 / SHA-256 / SHA-512. Useful for testing 2FA setups.

An unhandled error has occurred. Reload ×