2FA (TOTP) code and QR generator.

Compute two-factor authentication codes in real time, verify codes, and create a QR code you can scan with your phone.

Current code
— — —
previous
—
next
—
time step (T)
—floor(unix time / 30)
otpauth:// linkotpauth://totp/Open%20Password:user%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=Open%20Password&algorithm=SHA1&digits=6&period=30
  1. 01

    How does TOTP work?

    Time-based one-time password (TOTP) combines a shared secret key with the current Unix time using an HMAC algorithm to produce a new 6-digit code every 30 seconds.

  2. 02

    QR code and otpauth:// link

    When you enter your secret key, the tool automatically generates a standard otpauth:// link and a scannable QR code so you can easily transfer it to a backup device.

  3. 03

    How it differs from Open Password

    This tool is for one-off testing and verification. For everyday use, you can store your 2FA codes right inside your Open Password vault alongside your passwords.

Perguntasfrequentes.

  • TOTP codes depend on your device's system clock. If your computer's clock is off by more than a few seconds, the codes may not match.

Gratuito. Código aberto.Seu.