TOTP Generator
Generate time-based one-time passwords (TOTP) for 2FA testing. Enter a secret or paste an otpauth:// URI.
Enter a TOTP secret
Paste a Base32 secret key or an otpauth:// URI to generate codes
Ctrl+Enter to runCtrl+Shift+C to copy
Learn More
TOTP Generator: Generate 2FA Codes from Secrets
Generate time-based one-time passwords (TOTP) from Base32 secrets. Parse otpauth:// URIs and manage 2FA codes securely.
What Is TOTP?
TOTP (Time-based One-Time Password) is a widely used algorithm for two-factor authentication. It generates a short numeric code — typically 6 digits — that changes every 30 seconds. The code is derived from a shared secret key and the current time, making it impossible to reuse or predict.
8 min readRead full guide