2FA Code Generator

Paste or scan your secret key to get your two-factor code. Free, and your key stays in your browser.

Your code

30

Runs entirely in this browser. This page never uploads your key, and it is cleared after 5 minutes without activity. How we protect it

Scan QR code

Point your camera at the QR code shown by the website. The picture stays on this device.

How to get a 2FA code with Quick2FA

  1. Find your secret key. When you turn on two-factor authentication, the website shows a QR code and, behind a link such as “Can’t scan it?”, a text key.
  2. Paste the key or scan the QR code. You can also upload or paste a screenshot of the QR code.
  3. Use the code. Quick2FA shows the current code and a countdown. Tap the code to copy it, then enter it on the website before the timer runs out.

What is a 2FA secret key?

A 2FA secret key (also called a setup key or TOTP seed) is a short string of letters and numbers, usually 16 or 32 characters, that a website creates when you enable two-factor authentication. An authenticator combines that key with the current time to produce a new 6-digit code every 30 seconds. Because the calculation is an open standard, the same key produces the same codes in Quick2FA, Google Authenticator, Microsoft Authenticator and Authy.

What Quick2FA can do

Step-by-step guides

Frequently asked questions

What is a 2FA code generator?

A 2FA code generator turns the secret key a website gives you during two-factor setup into the 6-digit code that changes every 30 seconds. Quick2FA does this in your browser using the same open standard (TOTP, RFC 6238) as Google Authenticator, Microsoft Authenticator and Authy.

Is it safe to enter my secret key on Quick2FA?

Your key is processed only inside your browser: the code on this page never uploads, logs or shares it, and a security policy restricts the page to its own files. As with any website, you are trusting quick2fa.com to serve that code unmodified. Anyone who has the key can create your codes, so use Quick2FA only on a device you trust, and prefer a phone authenticator app for everyday use.

Where do I find my 2FA secret key?

When you turn on two-factor authentication, the website shows a QR code. Look for a link near it such as “Can’t scan it?”, “Enter key manually” or “Setup key” to reveal the key as text, or scan the QR code directly with Quick2FA.

Why is my 2FA code not working?

The most common cause is a wrong clock: codes depend on the current time, so set your device to automatic time. Also check that you copied the full key, that the code has not expired, and that the key belongs to the account you are signing in to.

Does Quick2FA work with Google Authenticator keys?

Yes. Any key or QR code made for Google Authenticator, Microsoft Authenticator, Authy or another TOTP app works. You can also import a Google Authenticator “Transfer accounts” QR code to load several accounts at once.

Does Quick2FA work offline?

Yes. After your first visit the page is stored on your device and works without an internet connection. You can also install it as an app from your browser’s menu.

Can I save my accounts?

Yes, optionally. Saved accounts are encrypted in your browser with a passphrase you choose (AES-256, 12 characters or more) and stay on that device only. If you forget the passphrase the saved accounts cannot be recovered, so keep your backup codes.

What is TOTP?

TOTP means time-based one-time password. Your device and the website share a secret key; both combine it with the current time to compute the same short code, which is valid for about 30 seconds.