TOTP 2FA Authenticator & Generator
Generate and verify live RFC 6238 Time-Based One-Time Passwords with interactive 30-second countdown.
A TOTP (Time-Based One-Time Password) authenticator calculates dynamic numerical 2-factor authentication codes by combining a shared Base32 secret key with the current Unix epoch time in 30-second intervals.
Where T0 = 0 (Unix epoch), X = 30 seconds time step, K is the shared secret key, and Truncate extracts a 4-byte dynamic integer.
2FA Account Configuration
Accepts standard Base32 encoded keys used by Google Authenticator, Authy, and 1Password.
Verify Inbound 2FA Token
Simulate a backend login authorization check with ±1 step clock-drift tolerance.
Share This Tool
Help your team and fellow developers save time with free, private client-side utilities.
Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools
How to Use TOTP 2FA Authenticator & Generator
Input Base32 Secret Key
Enter your 16 or 32-character secret key or click 'New Secret' to generate a fresh test key.
Watch Real-Time OTP Generation
Observe live 6-digit or 8-digit verification codes refreshing automatically every 30 seconds.
Copy Code or Verify Inbound Tokens
One-click copy the active code or test verification against potential clock-drift intervals.
Practical Examples & Conversions
Secret: JBSWY3DPEHPK3PXP, Step: 30s
Live synchronized 6-digit 2FA token
Frequently Asked Questions (PAA)
Related Tools & Converters
Authoritative Standards & Citations
Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications:
RFC 7519: JSON Web Token (JWT)
Standardized compact, URL-safe means of representing claims to be transferred between two parties.
Web Cryptography API Specification
Standard JavaScript API for performing basic cryptographic operations in web applications.
RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace
Definition of uniform format and generation algorithms for UUIDs.