Type or paste a two-factor secret key, or a whole otpauth:// link, and see the same 6-digit code an authenticator app would show, with a countdown to the next one. You can also check whether a code is valid right now, or set up 2FA for your own app: make a new secret and a QR code that Google Authenticator, Microsoft Authenticator, Authy and similar apps can scan. Codes follow RFC 6238 and are made in your browser; the secret is not saved or sent.
The secret is the text shown under the QR code when you turn on two-step verification (often labelled 'Can't scan the code?').
Anyone who has a secret key can make its codes. This page does not save the secret, but avoid pasting the secret of a real account on a shared or office computer, and never send it to anyone who asks for it.
Code generation runs in your browser. What you type never leaves this device.
Live codes from a Base32 secret, with a countdown and the next code
Reads otpauth://totp/ links, including issuer, account, digits, period and algorithm
6 or 8 digits, 30 or 60 seconds, SHA1, SHA256 or SHA512
Check a code against the current, previous and next time step
Set up mode: a new random 160-bit secret, otpauth link and QR code for authenticator apps
Tested against the official RFC 6238 and RFC 4226 test values
Runs in your browser: the secret never leaves this page and is not stored
Make a test secret and QR code, scan it with your phone, and compare codes while you build login with two-step verification.
Generate codes for test accounts in staging without passing a phone around the team.
When an app keeps rejecting codes, compare what this page shows with your authenticator to see whether the secret, settings or the device clock is wrong.
If you saved the secret key when you enabled 2FA, check it still produces the right codes before adding it to a new authenticator app.
When you turn on two-step verification, the service gives your authenticator app a secret key, usually inside a QR code. Every 30 seconds the app combines the secret with the current time using HMAC and shows 6 digits. The server does the same and compares. No internet is needed on the phone, only a correct clock.
The secret is written in Base32 (letters A to Z and digits 2 to 7), often in groups of four. Spaces and lowercase are fine here.
Authenticator codes need an app. For customers who prefer a call, a voice OTP reads the code aloud on any phone, which you can add as a fallback to your login.
Secret Key Generator
256-bit secret keys for JWT, HMAC and sessions, with a .env line
Password Generator
Generate secure passwords
Hash Generator
Generate MD5, SHA hashes
JWT Decoder
Decode JWT tokens
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
How a voice OTP call works step by step: the API request, code generation, the spoken template, press-1 confirmation, retries, rate limits, the callback and what each call costs.
Step-by-step: add a 'Call me with the code' voice OTP fallback to an SMS login. When to offer it, the API call, the callback handler, code expiry and abuse limits, with cURL and Node examples.
Voice OTP vs SMS OTP in India: how each is priced, what DLT registration SMS needs, which phones each reaches, and when to use voice as the primary channel or the fallback.
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.