TOTP Code Generator
Show live two-factor codes from a TOTP secret key or otpauth link, for testing.
Runs in your browser. Nothing leaves this device.
Open TOTP Code Generator
Free, no account, no watermark and no daily limit.
How to use TOTP Code Generator
- 1Paste the Base32 secret or the otpauth:// link.
- 2Check the digits, period and algorithm match your setup.
- 3Copy the current code before the ring runs out.
Questions
Is my secret sent anywhere?
No. The secret never leaves the page. Codes are made in your browser with WebCrypto.
Can I use this as my authenticator?
Use it for testing. Keep a proper authenticator app as your main 2FA device, because this page forgets the secret when you close it.
Why don't my codes match?
Check the period, digits and algorithm, and that your device clock is right. Codes change every 30 or 60 seconds.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- SecurityEXIF RemoverRemove location, camera and other hidden data from JPEG, PNG and WebP photos before you share them, without touching image quality.
- SecurityPassword GeneratorStrong random passwords and passphrases, with an honest strength estimate.
- SecurityEncrypt FileLock any file with a password using AES-256, and unlock it again. The locked .enc file is safe to email or store; only the password opens it.
- SecurityEncrypt TextLock a message with a password using AES-256, and unlock it again. Share the locked text anywhere; only the password opens it.
- SecurityJWT GeneratorWrite the claims, pick HS256, RS256, PS256, ES256 or EdDSA, and get a signed JSON Web Token to copy.
- SecurityPassphrase GeneratorMake a strong, easy to type passphrase from random words.