2FA TOTP Generator

New

Generate Time-based One-Time Passwords (TOTP) for two-factor authentication using any Base32 secret key. TOTP is the standard algorithm used by Google Authenticator, Authy, and most 2FA apps (RFC 6238). Enter your secret key to see the current 6-digit code and countdown to the next rotation. Uses HMAC-SHA-1 with a 30-second time step. Useful for testing 2FA implementations, recovering access to 2FA codes, and learning how TOTP works.

TOTP / 2FA Code Generator

Generate Time-based One-Time Passwords (TOTP) from a Base32 secret. Compatible with Google Authenticator and other TOTP apps.

Keep your TOTP secret secure. Only enter test/demo secrets here. Never enter real 2FA secrets in tools you don't control.

'
499 931
19s left

How to Use 2FA TOTP Generator

  1. 1Enter your Base32 TOTP secret key
  2. 2View the current 6-digit code
  3. 3Watch the countdown to the next code
  4. 4Use the code within the 30-second window

Your Privacy is Protected

2FA TOTP Generator runs entirely in your browser. Your files and data are never uploaded to any server, never stored, and never shared. Everything happens locally on your device using secure browser APIs.

No server uploadNo account required100% freeWorks on all devices

Frequently Asked Questions

What is TOTP?

TOTP (Time-based OTP) generates a new 6-digit code every 30 seconds using HMAC-SHA-1 and the current Unix timestamp. Both the authenticator and server generate the same code because they share the secret and know the current time.

Why Use This Tool?

Files never leave your device
No upload to any server
Instant processing in browser
100% free, no account needed

Tags

totp generator2fa code generatorgoogle authenticatorotp generatortwo factor auth code

More Security Tools

View all Security Tools

Try 2FA TOTP Generator Now

Free, instant, no login. Use it right now — directly in your browser.

Use 2FA TOTP Generator Instantly

We use cookies

We use essential, analytics, and advertising cookies to provide our service, improve your experience, and keep our tools free. By clicking "Accept All", you consent to our use of cookies. Learn more