TOTP Generator
// Generate time-based one-time passwords
Digits:
Period:
TOTP Code
--- ---
#About TOTP Generator
Free online TOTP generator. Generate RFC 6238 time-based one-time passwords from a Base32 secret key with configurable digits and period. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.
#FAQ
What is TOTP? ▾
TOTP (Time-based One-Time Password) is a standard algorithm (RFC 6238) used by authenticator apps like Google Authenticator and Authy. It generates a short numeric code that changes every 30 seconds based on a shared secret key.
Is this secure to use online? ▾
The TOTP code is generated entirely in your browser using the Web Crypto API. Your secret key never leaves your device. However, for production 2FA, always use a dedicated authenticator app.
</> Embed this tool ▾
Copy this code to embed the tool on your website. Adjust the height to fit your layout.
<iframe src="https://www.browserutils.dev/embed/totp-generator" width="100%" height="500" frameborder="0" title="TOTP Generator"></iframe>