| Window | Counter | Code |
|---|---|---|
| No drift data yet. | ||
This OTP generator is designed for real 2FA and MFA testing workflows, not just for producing a random six-digit string. The page lets you work with a Base32 secret, choose TOTP or HOTP mode, select the algorithm, and control digits and period before it calculates the codes and related diagnostics.
That makes it useful for QA engineers, developers, security teams, and support staff who need to verify authenticator app setup, check provisioning details, or reproduce a time-based token sequence during troubleshooting.
The page is strongest when you need to test an authenticator configuration end to end instead of only generating a standalone code. To extend the workflow after the initial result, pair it with Bip39 Generator when that next step matches your job.
If you need a second validation step after the first run, compare the output with JSON Compare so you can keep the workflow inside the same browser session.
For TOTP, the generator combines the shared secret with the current time window to calculate a code that rotates on the chosen period. For HOTP, it uses a counter instead of time so each new token advances with the counter value rather than a clock tick.
The surrounding diagnostics make the page more than a simple code generator. Previous, current, and next values help you test boundaries, while the QR and secret representations help validate provisioning and implementation details in a way that matches real-world authenticator workflows.
A QA engineer can enter a Base32 secret, keep the page on TOTP, choose six digits and a 30-second period, and confirm that the current code matches the value shown in an authenticator app during the same time window.
If a hardware token or integration uses HOTP, support can set the counter manually, compare expected and actual values, and verify whether a counter mismatch explains failed authentication attempts.
TOTP is time-based and changes every period window, while HOTP is counter-based and advances when the counter changes.
Those extra values help with boundary testing, validation windows, and support scenarios where you need to understand whether the failure is caused by timing or configuration.
Yes. The page includes a QR code so you can test the generated configuration with an authenticator app during setup and QA.
The page guidance notes a minimum Base32 secret length and also explains the length used for generated secrets. In practice, stronger shared secrets make testing and implementation safer.
After the token output looks correct, the usual next step is validating the same configuration inside your app, your identity provider, or the provisioning path you are testing. If you are continuing the same task, Gitignore Generator is a natural follow-up because it keeps the context close to the result you already have.
It’s OK to figure out murder mysteries, but you shouldn’t need to figure out code. You should be able to read it.