TOTP Generator

Generate Time-based One-Time Passwords (TOTP) for two-factor authentication. Compatible with Google Authenticator.

Secret Key

Enter your TOTP secret or generate a new one

Current Code

--- ---
30s

Security Note

Never share your TOTP secret. This tool processes everything locally in your browser.

Features

Time-Based

Codes refresh every 30 seconds

Secure

SHA-1 HMAC algorithm

Real-Time

Live countdown timer

Secret Generator

Generate random Base32 secrets

What is TOTP?

TOTP (Time-based One-Time Password) is an algorithm that generates a one-time password using the current time and a shared secret key. It's the standard used by Google Authenticator, Microsoft Authenticator, and other 2FA apps.

TOTP codes typically refresh every 30 seconds and are 6 digits long.

TOTP Generator - 2FA Code Generator | Free Online Tool