How to use TOTP Generator
Paste your input on the left, choose the options you want, and the output appears instantly on the right. Everything runs in your browser — none of your data is sent to a server.
- Paste or type your input in the
INPUTpanel - The output regenerates automatically as you type
- Use
Copyto put the result in your clipboard - Click
Sampleto load a working example
What is TOTP Generator?
TOTP Generator implements the standard 6/7/8-digit time-based one-time password algorithm from RFC 6238. Default settings (SHA-1, 30-second step, 6 digits) match Google Authenticator, Authy, 1Password, and most 2FA setups. Algorithms SHA-256 and SHA-512 are also supported for newer deployments. The secret is processed entirely in your browser via the `otplib` library and is held only in React component state — it is never written to localStorage, sessionStorage, IndexedDB, or any cookie, so closing the tab forgets it completely. The code refreshes every second; the remaining-seconds counter shows when the next code will be issued. This tool is part of santekno's developer toolbox — a curated collection of utilities built for engineers who care about speed, privacy, and simplicity.
Common use cases
- Debugging API payloads and integration issues
- Inspecting tokens, hashes, or encoded strings during development
- Generating fixtures and sample data for tests
- Sharing readable output with teammates in code reviews