Generador TOTP / 2FA
Genera contraseñas de un solo uso basadas en tiempo (TOTP) desde una clave secreta — compatible con Google Authenticator
TOTP Generator
RFC 6238 — Time-based One-Time Passwords via WebCrypto
Valid for 30 more seconds
Technical Details
Algorithm
HMAC-SHA1
Period
30 seconds
Digits
6
Time Slot (T)
59295767
Security Notice
Scan the secret with Google Authenticator or Authy to verify codes match. Never share your secret key — it grants full access to generate valid codes.
TOTP / 2FA Code Generator
Generate time-based one-time passwords (TOTP) from a secret key — compatible with Google Authenticator, Authy, and any RFC 6238 authenticator app. Runs 100% in your browser.
FAQ
What is TOTP?
TOTP (Time-based One-Time Password) is a 6-digit code that changes every 30 seconds. It's the second factor in 2FA — even if someone has your password, they can't log in without the current TOTP code.
How does TOTP work?
TOTP = HMAC-SHA1(secret_key, floor(current_unix_time / 30)), then take the last 6 digits. The server and your authenticator app derive the same code independently — no network call needed.
Is this tool safe to use?
This tool is for testing and development. Never enter your real 2FA secrets into any online tool. Use your authenticator app for production accounts.
Sigue explorando
Otras herramientas de Seguridad que te pueden gustar…
Verificador de fortaleza de contraseña
Prueba qué tan fuerte es tu contraseña y obtén consejos para mejorarla
Generador de código QR
Genera códigos QR para URLs, texto, Wi-Fi, vCards y más — descarga como PNG o SVG
Lector de código QR
Escanea y decodifica códigos QR desde imágenes o tu cámara — funciona sin conexión
Generador de código de barras
Genera códigos de barras en Code 128, Code 39, EAN-13, QR y otros formatos
Generador de claves SSH
Genera pares de claves SSH Ed25519 o ECDSA con la Web Crypto API — funciona 100% en tu navegador
Generador de claves RSA
Genera pares de claves RSA de 2048 o 4096 bits en formato PEM con la Web Crypto API — funciona 100% en tu navegador
Comparador de Hash
Compara dos valores hash para verificar integridad de archivos o coincidencia de checksums
Verificador de Hash de Archivo
Arrastra y suelta cualquier archivo para calcular al instante MD5, SHA-1, SHA-256 y SHA-512 — verifica la integridad contra un hash conocido