OTP Code Generator
Generate TOTP one-time passwords (RFC 6238) for testing multi-factor authentication flows. Runs entirely in your browser.
Enter a valid Base32 secret string or generate a random test key.
About TOTP (RFC 6238)
Learn how time-based one-time passwords secure modern multi-factor authentication.
Time-based One-Time Password (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time. It is standardized under RFC 6238 and serves as the backbone for multi-factor authentication (MFA) used by apps like Google Authenticator, Authy, and enterprise identity providers.
Live Code Rotation
Codes automatically refresh in sync with the standard 30-second window intervals.
Custom Algorithms
Supports SHA1, SHA256, and SHA512 hashing algorithms with adjustable digit lengths.
Ideal for QA & Automation
Quickly generate tokens during integration testing, staging sign-ins, and user workflows.
100% Secure & Private
Everything executes client-side. Your secrets never leave your browser.
One-Click Copy
Copy codes directly into your active clipboard with a single click.
Sample Templates
Load pre-configured standard test secrets instantly.