TOTP Code Generator
Generate a time-based one-time password from a Base32 secret, the same algorithm authenticator apps use.
Hashing & encryption Client-side WebCrypto + Base32
Tool preview
How to use it
- 01
Paste the Base32 secret.
- 02
Press generate.
- 03
Read the six-digit code.
Limitations
- ! The code is generated once; it does not refresh automatically.
- ! Only the standard 30-second, six-digit SHA-1 variant is supported.
FAQ
Is it safe to paste my 2FA secret here?
The secret stays in the page and is never transmitted, but any secret entered into a browser is exposed to that browser session.
Why does the code differ from my phone?
The clocks are out of sync, or the secret was copied with a typo.
Can I use this as my main authenticator?
No, it generates one code at a time and stores nothing.
Files never leave your device
Processing happens in your browser using the File API, WebAssembly and Web Workers. There is no upload endpoint.
Technical details
- Processing
- Client-side
- Implementation
- WebCrypto + Base32
- Category
- Hashing & encryption
- Network requests
- None while processing