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

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. 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