OTP Generator
TOTP/HOTP one-time password generator.
About this tool
The OTP Generator produces the same kind of one-time passwords an authenticator app would, computing both TOTP and HOTP codes directly from a shared secret key. It solves a common development problem: needing to reproduce the exact six-digit code a 2FA system expects without reaching for your phone every time.
Paste the shared secret, choose whether you want a time-based (TOTP) or counter-based (HOTP) code, and read the current value along with the countdown showing how long it stays valid. It is built for developers implementing or debugging two-factor authentication flows and for QA engineers who need predictable codes while testing.
Keep in mind that this is a testing and learning aid, not a replacement for a real authenticator app to protect your own accounts. Everything runs locally in your browser and the secret you enter is never sent anywhere.
Frequently Asked Questions
Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.