🔑 TOTP Generator
Generate Time-based One-Time Passwords (RFC 6238) — compatible with Google Authenticator, Authy, and other TOTP apps. Runs entirely in your browser.
🔐 Secret Key (Base32)
16 base32 chars
⚙️ Options
💡 How TOTP Works
TOTP computes HMAC(secret, floor(time / period)) and truncates the result to the configured number of digits. Both parties (client and server) share the same secret and compute the same code independently — no server roundtrip required.
⏱️ Current Code
------
Click to copy
30
sec
Previous
-30s ago
Next
in 30s
🧪 Sample Secret
Use this for testing. Matches the Google Authenticator demo key.
JBSWY3DPEHPK3PXP