Home / Tools / OTP Generator & Validator

OTP Generator & Validator

Generate and validate time-based one-time passwords locally, with configurable parameters and provisioning QR codes.

Loading utility. If this message remains, reload the page or check your browser console.

How to use OTP Generator & Validator

  1. Enter a Base32 development secret and choose the algorithm, digits and period.
  2. Leave time blank for the current clock, or enter Unix seconds for a reproducible test.
  3. Generate a code, validate a supplied code with an allowed drift window, or enter issuer/account names and create a provisioning QR code.

Common use cases

Frequently asked questions

What does this tool support?

TOTP with SHA-1/256/512, six/eight digits and 15–120 second periods. Blank time uses the current clock. Secrets stay in memory and clear on pagehide as best effort. Provisioning QR codes contain the secret. This is a development tool, not a saved authenticator or account verification service.

Does my input leave the browser?

Processing runs locally. The application does not send your input to an external API or store it in browser storage.

How can I save the result?

Use Copy result or Download result. Reports export JSON; conversion actions use their corresponding file format.

Privacy and security

This utility processes inputs locally in your browser. Our application does not upload your input or results to a backend service.

No registration or installation is required.

Always verify generated results before using them in production environments.

Explore more free tools

View all DevOps tools →