TOTP two-factor code generator
Calculate two-factor (2FA) verification codes from the secret key as authenticator apps do, generate a new key with a QR code, and verify any code.
In your browser
How to use
- 1Paste the secret key or an otpauth:// link, or generate a new key.
- 2Copy the current code before it expires.
- 3Scan the QR code with an authenticator app to add the account.
FAQ
Will the code match my authenticator app?
Yes, as long as the key and settings are the same and your device clock is correct, since the calculation follows the RFC 6238 standard.
Is TOTP two-factor code generator free?
Yes, TOTP two-factor code generator is completely free and needs no account.
Are my files uploaded to a server?
No. The tool runs entirely inside your browser, and your files and text never leave your device at any point.
Does it work on mobile?
Yes. It works in any modern browser on a phone or computer, with no app to install.
Related tools
Base64 encoderEncode text and files to Base64 or decode them, with full Arabic (UTF-8) support and the URL-safe variant.
URL encoderEncode Arabic text and links in %XX format or decode them, and break down any link into its parts and parameters.
Hash generatorCalculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes for any text or file, and compare them against an expected hash.
UUID generatorGenerate UUIDs of random version 4 or time-ordered version 7, up to 1000 at once, and copy or download them.
Timestamp converterConvert a Unix timestamp in seconds or milliseconds to a readable date in local time, UTC and ISO, and the reverse.
JWT decoderView the contents of a JWT: the header, payload, issue and expiry dates, and whether it has expired.