2FA code (TOTP)

Paste a TOTP key (or an otpauth:// link) to get the current code. The key is computed right in your browser and never sent anywhere.

Works with Google, email and any TOTP keys; otpauth:// links respect the code length and period.

What is a 2FA code (TOTP)

A 2FA code (TOTP) is a one-time six-digit two-factor authentication code that changes every 30 seconds. It's normally shown by an app like Google Authenticator; here you can get the same code online from the secret key.

How to get the code

  1. Find the secret key - when you enable 2FA it's shown as a string or a QR code; an otpauth:// link works too.
  2. Paste the key into the field above and press Get code.
  3. Copy the six-digit code before the timer runs out.
  4. Enter the code on the site or app that's asking for it.

FAQ

Where do I get a TOTP key?

The site gives it to you when you turn on two-factor authentication - as a string of letters and digits or a QR code. An otpauth:// link works too.

Is it safe to enter the key on this page?

Yes: the code is computed right in your browser, the key is never sent anywhere - the server neither sees nor stores it.

Why does the 2FA code change every 30 seconds?

That's how the TOTP algorithm works: the code depends on the current time and refreshes every 30 seconds. Enter it before the timer ends.

Are Google Authenticator keys supported?

Yes - keys from Google, email services and any site with TOTP work, as do otpauth:// links that specify the code length and period.

How is this different from an authenticator app?

It's the same TOTP code, just online and without installing an app - handy when your phone isn't nearby.