One-Time Password Generator
Your time-based one-time code, generated locally.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
One-Time Password Generator
How to use this tool
- Enter your values in the fields above.
- Press Generate to see the result.
- Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.
Worked example
With the sample secret and the time 59 seconds, the 8-digit code is 94287082. The same secret at 1111111109 seconds gives 07081804.
What this tool does not do / Limits
Your secret is used only in your browser and is never sent anywhere. Codes change with time, so a code shown here is only valid for its current 30-second window, and the tool cannot recover an account if you lose the secret.
Frequently asked questions
Is my secret sent to a server?
No. The code is computed on your device only and the secret never leaves this page.
Why does the code keep changing?
Time-based codes use 30-second windows, so each code expires quickly by design.
Related tools
JSON Studio
Format, validate, minify, query and compare JSON in your browser, with precise line-and-column errors.
LiveRegex Tester
Test patterns against sample text with match highlighting, capture groups and a safe one-second timeout.
LiveSecurity Header and DNS Checker
Check HSTS, CSP and other security headers, TLS details, and DNS/email authentication records (SPF, DKIM, DMARC).
Live