OTP Generator & Validator
Category: Security
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
- Enter a Base32 development secret and choose the algorithm, digits and period.
- Leave time blank for the current clock, or enter Unix seconds for a reproducible test.
- 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
- Test TOTP implementations against known parameters.
- Create provisioning QR codes for development accounts.
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
Base64 Encoder / Decoder ↗
Encode and decode UTF-8 text using Base64 and Base64URL.
SecurityJWT Decoder ↗
Decode JWT headers and payloads without verifying signatures.
SecurityHash Generator ↗
Generate SHA-256, SHA-384 and SHA-512 hashes from text.
SecurityHMAC Generator ↗
Generate HMAC-SHA256, HMAC-SHA384 and HMAC-SHA512 authentication codes.