TOTP / 2FA Code Generator

NEW

Generate the current time-based 2FA code from a secret key, like Google Authenticator.

Frequently asked questions

Is this the same algorithm apps like Google Authenticator use?

Yes — standard TOTP (RFC 6238) with SHA-1, 6 digits, and a 30-second period, which is what the vast majority of 2FA setups use by default.

Where do I get the secret key to paste in?

It's the Base32 string a service gives you when setting up 2FA — usually shown as text near or underneath the QR code, as an alternative to scanning it with your phone.

Is my secret sent anywhere?

No — the code is computed entirely in your browser via the Web Crypto API. That said, treat any 2FA secret as sensitive, since anyone with it can generate valid codes for your account.

We use cookies to understand how you use the site. No personal data is sold.