TOTP Generator
Generate time-based one-time passwords from a Base32 secret key. Live countdown timer and Web Crypto API powered.
Enter a Base32 secret key to generate TOTP codes
How it works
- TOTP uses the current time divided into 30-second intervals as a counter.
- The counter is signed with your secret key using HMAC-SHA1.
- A 6-digit code is extracted from the signature via dynamic truncation.
- All computation runs in your browser using the Web Crypto API.
Use this as an API
Automate this in your app with a single POST request. Free tier included.
Use this in your AI agent
Connect via MCP and let Claude, Cursor, or VS Code call this tool natively.