TOTP / 2FA Code Generator

Generate standard TOTP (RFC 6238) codes from a Base32 secret, the same algorithm used by Google Authenticator and Authy, entirely client-side.

------

Refreshes in 30s

This generates standard TOTP codes (RFC 6238, same algorithm as Google Authenticator or Authy) entirely in your browser using the secret above, nothing is sent anywhere. Paste in a secret from a 2FA setup screen to generate matching codes, or use "New secret" to create one for testing.

Example input

JBSWY3DPEHPK3PXP

Example output

123456 (refreshes every 30s)