TOTP Code Generator

Generate a 6-digit Time-based One-Time Password (RFC 6238).

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 digits, 30-second window, HMAC-SHA1. Useful for testing 2FA setups.

An unhandled error has occurred. Reload ×