Toolbox / OTP code generator Runs in your browser中文
Web

OTP code generator

Generate TOTP codes, adjacent values and countdowns, with a local authenticator provisioning QR.

Ctrl / ⌘ + Enter Run

Ready when you are

Less switching. More focus.Functional build · Validation in progress

Using this tool

Explore time-based TOTP using a public test secret.

Example

The fixed time tests the helper only; the page refreshes using current time, so its displayed value normally differs.

Example action and settings

Action: Load example

Input / action

GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ

Result / expected behavior

At Unix time 59 seconds: 287082 (6 digits, SHA1, 30-second period).

Scope and limitations

  • The UI uses six-digit SHA1 TOTP with a 30-second period and accepts the current ±30-second window.
  • Requires canonical Base32; provisioning QR codes contain the secret.

Common mistakes

  • Never enter or share real authenticator secrets; local matching is not server authentication and provides no replay protection.

Related tools

HMAC generator QR code generator

Privacy and browser support

Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.