TOTP Generator & Authenticator
What is TOTP?
TOTP (Time-based One-Time Password) is the algorithm behind authenticator apps like Google Authenticator, Authy, and Microsoft Authenticator. It generates a 6-digit code that changes every 30 seconds, derived from a shared Base32 secret key and the current time. Even if someone intercepts a TOTP code, it expires in seconds and cannot be reused. TOTP is defined in RFC 6238 and is the standard algorithm for two-factor authentication (2FA) on websites and apps. The secret key is typically shared by scanning a QR code when setting up 2FA — this tool lets you generate and verify TOTP codes directly from the Base32 secret.
How to Use the TOTP Generator
-
Enter your Base32 TOTP secret key in the input field.
-
The current 6-digit TOTP code is displayed and updates automatically every 30 seconds.
-
A countdown timer shows how many seconds remain before the code changes.
-
Scan the QR code with any authenticator app to add the account to your phone.
-
Use the generated codes to test 2FA integration in your application.