HomeDeveloper toolsTOTP / 2FA Generator

TOTP / 2FA Generator

Generate RFC 6238 one-time codes from a Base32 test secret.

Processing stays in your browser. Generated codes are snapshots; press Run again to refresh. Match the secret, digits, algorithm, and period to the authenticator. Secrets are not stored.

How to use the totp / 2fa generator

Generate RFC 6238 one-time codes from a Base32 test secret. Complete the base32 secret, hmac algorithm, code digits, time step (seconds), unix seconds (blank for now) fields above. Choose Run tool, review the output, then copy or download the result.

Example

The RFC SHA-1 test secret at Unix time 59 produces 94287082 with 8 digits.

Good to know

Generated codes are snapshots; press Run again to refresh. Match the secret, digits, algorithm, and period to the authenticator. Secrets are not stored.