toolbin_

TOTP code generator (2FA)

Generate a TOTP code (2FA, Google Authenticator style) from a base32 secret, in your browser.

Standard TOTP code (SHA-1, 6 digits, 30 s period) computed locally.

🔒 100% client-side — no data sent

Generate a one-time TOTP code from a base32 secret, just like Google Authenticator would. The calculation happens entirely in your browser, so your 2FA secret is never transmitted.

What is it for?

  • Get a 2FA code when your phone is out of reach
  • Test the TOTP integration of an app you are building
  • Verify that a two-factor authentication secret works
  • Automate login to a test account that has 2FA enabled

FAQ

Where do I find the base32 secret to enter?

It is shown when you enable 2FA, often below the QR code as a string of letters and digits.

Is my 2FA secret stored or sent?

No. The code is computed locally in your browser, and the secret is neither saved nor sent to any server.

Why does the code change every 30 seconds?

TOTP is time-based: a new code is computed at each interval (30 s by default) so it stays valid only briefly.