Security & Privacy 100% Local Processing

TOTP 2FA Secret Key & Code Generator

Generate RFC 6238 Two-Factor Authentication (2FA) Base32 secret keys, otpauth:// QR URIs, and verify live 30-second 6-digit rolling OTP codes.

Sponsor Space

1. 2FA Secret Key (Base32)

OTPAuth URI:
otpauth://totp/WebUtilities:User?secret=JBSWY3DPEHPK3PXP&issuer=WebUtilities

2. Live Rolling OTP Code

Current 6-Digit Code
000 000
Expires in: 30s
Sponsor Space

How to Use the TOTP 2FA Secret Key & Code Generator

  1. 1
    Click "Generate New 2FA Secret" to create a fresh 160-bit Base32 secret key.
  2. 2
    Or paste an existing Base32 secret key from your application.
  3. 3
    Watch the live 30-second countdown ring and current 6-digit verification code.
  4. 4
    Copy the `otpauth://totp/...` URI for Google Authenticator or 1Password.

Practical Example & Use Case

Common Real-World Scenario

Testing 2FA integration during backend development without having to grab your physical phone for authentication codes.

Technical Notes & Limitations

Browser Engine Architecture

Calculates HMAC-SHA1 time-step hashes locally synchronized to your system clock.

Frequently Asked Questions

Is this compatible with Google Authenticator?

Yes, it implements standard RFC 6238 TOTP with 30-second time steps and 6 digits.