TOTP Generator - Online Time-Based One-Time Password 2FA Tool
Calculate 6-digit or 8-digit time-based one-time password (TOTP) codes from shared secrets matching Google Authenticator.
This tool runs in your browser.
Processed locally in your browser.
How to use
- 01Enter or upload the source data.
- 02Run the tool in your browser.
- 03Review, copy, or download the result.
FAQ
How do TOTP verification codes function under the hood?
TOTP hashes the shared base32 secret combined with current Unix time (in 30-second intervals) using HMAC-SHA1 to derive a 6-digit dynamic passcode.
Why might a generated TOTP code differ from my smartphone app?
Clock discrepancies are the typical cause. TOTP relies on accurate timekeeping, so ensure your device is synchronized with network time.
Is it safe to compute 2FA tokens on this webpage?
Yes. Computation runs entirely client-side via JavaScript without sending secrets over any network. Your two-factor keys remain strictly local.