2FA Code Generator (TOTP)

Generate time-based one-time passwords (TOTP) from a 2FA secret key or otpauth:// link, the same codes Google Authenticator shows. Updates every second.

Free · No upload · 100% on your device

How to use 2FA Code Generator (TOTP)

  1. Choose the settings in the side panel.
  2. The result updates instantly. Select “Show code” for a fresh one.
  3. Copy the result or download it.

Private by design. Everything you type, open or record is processed in this browser tab and is never uploaded to KittySuite.

About 2FA Code Generator (TOTP)

Codes follow RFC 6238: an HMAC of the current 30-second time step, the method used by Google Authenticator, Microsoft Authenticator and most services. Your device clock must be correct for the codes to work. The secret is not saved anywhere and disappears when you close the tab.

Everything is calculated in this browser tab with the Web Crypto API. The secret key is never sent or stored, so no one else can generate your codes from this page.

2FA Code Generator (TOTP): frequently asked questions

How do I get a 2FA code from a secret key?

Paste the secret key or otpauth:// link and the current 6-digit code appears, updating every second.

Are these the same codes as Google Authenticator?

Yes. Codes follow RFC 6238, the method used by Google Authenticator, Microsoft Authenticator and most services.

Why is my code rejected?

Your device clock must be correct. Also check the digits, period and algorithm the service uses.

Is my secret key saved?

No. It is never sent or stored and disappears when you close the tab. Keep using a dedicated authenticator app for everyday logins.