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.

Request Feature / Support
3,580+
Total Calculations Run
< 15ms
Browser Execution Speed
100%
Client-Side Privacy
4.9 / 5.0
User Satisfaction

Worked Example & Common Values

Below is a sample worked calculation demonstrating how One-Time Password Generator processes input data instantly inside your browser.

Sample Input Length: 16, Uppercase, Numbers, Symbols
Computed Result k9#vP2$mQ8!xZ5@y (Strong, high-entropy password)
Execution Mode Client-Side In-Browser JS
AI Web Tool Generator

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.

Popular ideas:
100% FREE • No Credit Card Required

About This Tool

The tool accepts a shared secret and parameters to compute OTPs using HOTP or TOTP. It follows standard RFC algorithms to produce codes suitable for MFA testing and scripting. This platform is intended for developers, QA engineers, security professionals, and IT admins who need reproducible OTPs without network calls. Conceptually, a secret is combined with a counter or timestamp, hashed with a chosen algorithm, and truncated to the requested digit length to yield a numeric code. The primary value lies in reproducibility, RFC-compliance, and offline testing capabilities. Use cases include validating MFA workflows in development environments, automating test suites that require OTPs, and simulating user logins in security demos. Unique value arises from offline determinism, explicit input control, and straightforward integration into testing pipelines. Core features include support for both HOTP and TOTP, configurable digits and algorithms, optional timestamp or counter inputs, and exportable results for audit trails. The tool is particularly helpful for teams integrating MFA in data-heavy workflows or when validating Tableau-driven dashboards that simulate authentication scenarios.

How to Use

  1. Provide inputs: secret base32, type HOTP or TOTP, digits 6 or 8, algorithm SHA1 SHA256 or SHA512, and either a time_step (default
  2. or a counter.
  3. Choose method: select TOTP for time-based codes or HOTP for counter-based codes.
  4. Run calculation: use current UTC time for TOTP or the specified counter for HOTP.
  5. Review outputs: read otp_code and valid_until (for TOTP).
  6. Use the code in the authentication flow or testing scripts, ensuring codes align with your MFA scenario.
How to use one time password generator tableau

Frequently Asked Questions

Find Quick Answers

What is HOTP vs TOTP?
HOTP uses a counter value with the shared secret to generate a code, while TOTP adds a time-based element by deriving the counter from the current time. Both rely on HMAC and dynamic truncation to produce a fixed-length numeric code.
Can I test MFA without a live server?
Yes. The tool can generate deterministic OTPs offline for testing MFA logic, script automation, and demo scenarios. It does not perform server verification; it only computes codes from inputs.
What should the secret look like?
The secret is typically a base32-encoded string. It should be kept confidential and is used as the key in the HMAC operation. The tool does not store secrets after calculation.
Can this be used with Tableau?
It can simulate OTP values for MFA testing and demo flows that accompany Tableau dashboards, but it is not integrated with Tableau itself. Use for offline validation and scripting purposes.

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.

Register Free Account

Related Tools

Other useful calculators and utilities you might like

Utility & Miscellaneous Tools

Spotify to MP3 Converter

Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.

Utility & Miscellaneous Tools

Road Distance Calculator

Calculate the driving distance and travel time between two addresses with our free online road dista...

Utility & Miscellaneous Tools

Age Calculator

Calculate your exact age in years, months, and days from any birth date to any target date.

Utility & Miscellaneous Tools

Currency Converter

Convert currencies instantly with real-time exchange rates and historical data support.

Your Feedback Matters

Help Us to Improve