Secure TOTP Generator – Online totp generator Tool
Generate 2FA codes from your Base32 secret key.
000000
Developer Notice: This tool is intended for debugging and development. Never enter your primary account secrets on a public website. We use local processing, but browser extensions or other tabs could theoretically see your screen.
What is a TOTP Generator?
A TOTP (Time-based One-Time Password) generator produces a 6-digit code that changes every 30 seconds. It is the core technology behind Two-Factor Authentication (2FA) systems used by Google, Amazon, GitHub, and most major online services.
How the 2FA Code is Calculated
The calculation uses two inputs: a Secret Key (usually provided as a QR code or a Base32 string) and the Current Time. These are combined using the HMAC-SHA1 algorithm to produce a hash, which is then truncated to create the 6-digit code you see on your screen.
Private and Local-First
On metatool.in, the code generation happens 100% on your machine. We use the otplib library running inside your browser to perform the cryptographic math. Your secret key is never sent to our servers, ensuring your 2FA credentials remain under your control.
Frequently Asked Questions
Related Free Tools
- Password Generator — Generate strong, secure passwords directly in your browser.
- Random String — Generate cryptographically secure random strings.