🔑 2FA Code Generator

Generate TOTP two-factor authentication codes — Free, No Sign-up, Works in Browser

Free 2FA Code Generator Online — Generate TOTP two-factor authentication codes

------
Enter secret key to generate codes

How to Use the 2FA Code Generator

Enter your TOTP secret key (Base32 format) to generate time-based one-time passwords that refresh every 30 seconds. Compatible with Google Authenticator, Authy, and all RFC 6238 TOTP apps.

Is this compatible with Google Authenticator?

Yes. It implements the standard TOTP algorithm (RFC 6238) with HMAC-SHA1, 30-second intervals, and 6-digit codes — identical to Google Authenticator.

Is my secret key safe?

Yes. All computation happens in your browser using the Web Crypto API. Your secret key is never sent to any server.