Skip to content

TOTP Generator

Generateur de codes TOTP (Time-based One-Time Password) pour l'authentification 2FA.

Configuration TOTP

Options avancees
000000
Expire dans 30s

QR Code pour App Authenticator

Verifier un Code

Applications Compatibles

Google Authenticator Android, iOS
Microsoft Authenticator Android, iOS
Authy Android, iOS, Desktop
1Password Multi-plateforme
Bitwarden Multi-plateforme
KeePassXC Desktop

Format URI

otpauth://totp/{issuer}:{account}?secret={secret}&issuer={issuer}&algorithm={algo}&digits={digits}&period={period}

CLI Usage

# oathtool (Linux)
oathtool --totp -b JBSWY3DPEHPK3PXP

# Python
python -c "import pyotp; print(pyotp.TOTP('JBSWY3DPEHPK3PXP').now())"

# Generer un secret
python -c "import pyotp; print(pyotp.random_base32())"

# Generer QR code
qrencode -o totp.png "otpauth://totp/App:user?secret=JBSWY3DPEHPK3PXP&issuer=App"