🔐 Security Tools RFC 6238 · TOTP
OTP / 2FA Code Generator
Generate time-based one-time passwords directly in your browser. All computation happens locally — your secret key never leaves your device.
Current One-Time Password
------
-- sec
Next code: ------ in --s
⚙️
Account Configuration
Account Name *
Issuer / Service
Secret Key (Base32) *
Period (seconds)
Digits
Saved Accounts
0 accounts
No accounts saved yet.
Configure and save an account above.
📱 Authenticator App QR
Scan with Google Authenticator, Authy, or any TOTP-compatible app.
—
🔑 Backup Codes
Single-use emergency codes. Click a code to mark as used. Keep these in a safe place.
ℹ️ How TOTP Works
⏱ Time-based: Code changes every 30 seconds, synchronized to UTC time.
🔑 Secret key: Shared once between you and the service. Never transmitted again.
🔒 HMAC-SHA1: Code = HMAC(secret, floor(time/period)), truncated to 6 digits.
📱 Offline: No internet required. Works entirely in your browser.
✅ RFC 6238: Industry standard used by Google, GitHub, AWS, and more.