One-Time Password Generator
Generates HOTP or TOTP codes from a shared secret for testing and automation of MFA flows.
Tool coming soon!
We're working hard to get this tool ready for you.
Worked Example & Common Values
Below is a sample worked calculation demonstrating how One-Time Password Generator processes input data instantly inside your browser.
Length: 16, Uppercase, Numbers, Symbols
k9#vP2$mQ8!xZ5@y (Strong, high-entropy password)
Build Your Own Custom Web Calculator in Seconds
Type what tool or calculator you need below. Our AI will build it instantly for your site.
About This Tool
How to Use
- Provide inputs: secret base32, type HOTP or TOTP, digits 6 or 8, algorithm SHA1 SHA256 or SHA512, and either a time_step (default
- or a counter.
- Choose method: select TOTP for time-based codes or HOTP for counter-based codes.
- Run calculation: use current UTC time for TOTP or the specified counter for HOTP.
- Review outputs: read otp_code and valid_until (for TOTP).
- Use the code in the authentication flow or testing scripts, ensuring codes align with your MFA scenario.
Frequently Asked Questions
Find Quick Answers
What is HOTP vs TOTP?
Can I test MFA without a live server?
What should the secret look like?
Can this be used with Tableau?
Need to run multiple calculations?
Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.
Related Tools
Other useful calculators and utilities you might like
Spotify to MP3 Converter
Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.
Road Distance Calculator
Calculate the driving distance and travel time between two addresses with our free online road dista...
Your Feedback Matters
Help Us to Improve
Norwegian
Danish
German
English
Spanish
French
Italian
Dutch
Portuguese
Swedish
Hebrew
Arabic