Loading...
Loading...
We use cookies to enhance your experience, analyze site usage, and serve personalized content. By clicking "Accept All," you consent to our use of cookies. See our Cookie Policy and Privacy Policy for details.
Generate Time-based One-Time Passwords for two-factor authentication
TOTP (Time-based One-Time Password) generator supporting SHA-1, SHA-256, and SHA-512 hashing algorithms with 6 or 8 digit codes and 30 or 60 second time steps. Displays a live countdown timer, keeps a rolling code history (last 10 codes), includes a cryptographically secure random secret generator, and exports otpauth:// URI for QR codes. Supports Steam TOTP format and multi-account management.
Implementing TOTP authentication requires generating codes with precise timing and algorithm parameters. This tool provides a fully functional TOTP client in the browser for testing, development, and account setup without needing a phone or dedicated authenticator app.
Security engineers, backend developers implementing 2FA, QA testers validating TOTP flows, and users who need a quick TOTP code without their phone.
Enter a base32-encoded secret (or click Generate Random Secret to create one).
Select the algorithm: SHA-1 (default), SHA-256, or SHA-512.
Set digits to 6 (standard) or 8 (extended) and time step to 30s (standard) or 60s.
View the current TOTP code in large font with a countdown timer showing seconds until the next code.
Check the code history panel to see the last 10 codes with their timestamps.
Switch accounts using the account dropdown or add a new account with the + button.
Input: secret "JBSWY3DPEHPK3PXP" (base32), SHA-1, 6 digits, 30s step → Output: "123456" with 23s countdown timer and otpauth:// URI: otpauth://totp/Example?secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&period=30Input: same secret with Steam TOTP format enabled → Output: "ST-12345" (Steam-style 5 character code with leading ST-)Decode and analyze JWT tokens online free
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for text and files
Generate JSON Web Tokens with custom claims and multiple algorithms
Generate JSON Schema from sample JSON data automatically
Dive deeper with our comprehensive guides and tutorials.