About this tool
Generate the same 6-digit codes as Google Authenticator from a 2FA secret — handy for testing your own app’s 2FA or recovering access with a backup key.
How to use the 2FA Authenticator (TOTP)
- Paste the Base32 secret or otpauth:// URI.
- Confirm digits, period and algorithm.
- Use the code before the bar runs out.
How it works
Implements RFC 6238 TOTP: HMAC (SHA-1 by default) of the current 30-second time step, dynamically truncated to 6 or 8 digits, using the Web Crypto API. Secrets never leave this page.
Frequently asked questions
Is it safe to paste my 2FA secret here?
Processing is local, but a 2FA secret is as sensitive as a password. Prefer a dedicated authenticator app for everyday use, and only use this on a trusted device.