TOTP Generator
Build, test, and debug TOTP (Time-based One-Time Password) codes for two-factor authentication. Paste or generate a Base32 secret, see the rotating 6-digit code with countdown ring, and scan the QR code into Google Authenticator, Authy, 1Password, or any RFC 6238 compatible app.
100% client-side · no data leaves your browser
How to generate a TOTP code
Test or set up TOTP-based two-factor authentication in seconds.
- 1
Paste or generate a secret
Enter your existing Base32 secret, or click 'Generate random' to create a new 160-bit secret.
- 2
Watch the live code
The 6-digit code updates every 30 seconds. The countdown ring shows time remaining before the next code.
- 3
Add to your authenticator app
Optionally add Issuer + Account labels, then scan the QR code with Google Authenticator, Authy, or 1Password to add the secret to your phone.