TOTP Authenticator Generator

Generate TOTP secrets and QR codes compatible with Google Authenticator, Authy, and other authenticator apps.

  1. Home
  2. > Hash & Security >
  3. TOTP Authenticator Generator
Click Generate

How to Use

  1. Enter the issuer name (e.g., "GitHub") and your account name (e.g., your email)
  2. Click Generate New Secret to create a random TOTP secret and QR code
  3. Scan the QR code with Google Authenticator, Authy, 1Password, or any TOTP-compatible authenticator app
  4. The generated TOTP code updates in real-time — verify it matches your authenticator app

What is TOTP?

TOTP (Time-based One-Time Password) is an algorithm defined in RFC 6238 that generates one-time passwords using a shared secret key and the current time. It is widely used for two-factor authentication (2FA).

Key Parameters

  • Secret — A Base32-encoded shared key (typically 160 bits/32 chars)
  • Time step — The interval between code changes (usually 30 seconds)
  • Digits — The length of the generated code (usually 6 digits)
  • Algorithm — The HMAC hash algorithm used (SHA-1 is the most widely compatible)

Frequently Asked Questions

Is this compatible with Google Authenticator?

Yes. The generated secret and QR code follow the otpauth:// URI format (RFC 6238), which is supported by Google Authenticator, Authy, Microsoft Authenticator, 1Password, Bitwarden, and all standards-compliant TOTP apps.

What secret size should I use?

160 bits (32 Base32 characters) is the recommended size, used by Google Authenticator and most services. 128 bits is shorter but still cryptographically secure. 256 bits provides extra security but may not be supported by all authenticator apps.

Does this generate codes server-side?

No. Everything runs locally in your browser using the Web Crypto API. The secret is generated using cryptographically secure random values, and TOTP codes are calculated client-side. Your secret never leaves your device.

Help2Code Logo
Menu