2FA TOTP Code Generator (RFC 6238)

Generate live one-time authentication codes from Base32 secrets or otpauth:// URIs completely inside your browser.

100% Client-Side Cryptography

Your Base32 secret never leaves your browser tab. RFC 6238 HMAC-SHA1/SHA256/SHA512 codes are calculated strictly locally with zero server transmission.

Live Countdown & One-Click Copy

View the current 6- or 8-digit token, remaining seconds in the 30-second window, and copy with one click.

Works With Standard Authenticator Secrets

Compatible with Google Authenticator, Authy, 1Password, Microsoft Authenticator, and standard otpauth://totp/ URIs.

Frequently Asked Questions

Is my 2FA secret key ever sent to the server?

No. Every TOTP code is computed locally in browser JavaScript with zero network requests.

Why might a generated TOTP code be rejected?

Check that your system clock is synced within 30 seconds of UTC and that the Base32 secret contains only valid characters (A–Z, 2–7).

Can I configure 8 digits, 60-second periods, or SHA256?

Yes, you can adjust digits (6 or 8), period (30s or 60s), and hash algorithm (SHA1, SHA256, SHA512).