Free Online 2FA Authenticator

Paste your secret key or scan a QR code. Your code appears instantly. No account, nothing sent or stored.

Runs in your browser. Nothing is sent to us. Is it safe?

  • Code in seconds
  • No account, no passphrase
  • Nothing sent or stored
  • Optional encrypted vault

How it works

  1. Paste your setup key

    Copy the secret key shown when you turn on 2FA and paste it into the box above.

  2. Get your code

    A 6-digit code appears and refreshes every 30 seconds.

  3. Copy and sign in

    Tap the code to copy it, then enter it on the site that asked.

  • Runs in your browser
  • Nothing is sent to a server
  • Free to use
  • No sign-up
Optional

Save accounts in an encrypted vault (optional)

Want your codes kept on this device? Create a vault protected by your passphrase. Skip it if you only need a code right now.

  • Encrypted in your browser with your passphrase.
  • Stays on this device. We never receive it.
  • We cannot recover a forgotten passphrase.

Frequently asked questions

What is 2Fa Live?

2Fa Live is a free online 2FA code generator that runs in your web browser. Paste the secret key a website gave you, or scan its QR code, and it shows the one-time code (TOTP or HOTP) straight away. If you want, you can also save accounts in an encrypted vault on your own device.

Do I need an account or a passphrase?

No. To get a code you only paste a key or scan a QR code. You never create an account with us, and you only choose a passphrase if you decide to save accounts in the optional vault under "My accounts".

Is my key stored?

No, not unless you choose Save. In the instant generator the key stays in the page's memory only and is wiped when you press Clear or leave the page. If you choose "Save to my accounts", the key is encrypted with your passphrase and stored on your device only. It is never sent to our server.

Is 2Fa Live really free?

Yes. There is no sign-up, no subscription and no paid tier. The site shows ads on blog and guide pages only. There are no ads on the authenticator tool itself.

What happens if I forget my passphrase?

This only matters if you use the optional vault. We cannot recover the passphrase, because we never have it, and without it the encrypted vault cannot be opened. Keep the recovery or backup codes that each website gave you when you enabled 2FA, and make an encrypted backup of your vault. The instant generator needs no passphrase, so you can always paste your key again.

How do I move my saved accounts to another device?

Export an encrypted backup on the first device, move the file to the second device, and import it there with the same passphrase. Accounts are not synced automatically, because syncing would require sending them to a server.

Which kinds of codes are supported?

Time-based codes (TOTP), which refresh every 30 or 60 seconds, and counter-based codes (HOTP), which change each time you request one. These are the standard formats used by most websites and apps.

Does it work on my phone?

Yes. It works in any modern browser on phones, tablets and computers. There is also an Android app on Google Play if you prefer an installed app.

Does 2Fa Live track me?

The authenticator page contains no advertising and no analytics. On other pages we use Google Analytics only if you accept it in the cookie banner. Read the cookie policy for the exact details.

Can I use it to log in to my bank or other sensitive accounts?

You can, but decide what you are comfortable with. A browser-based authenticator is convenient, and it is only as safe as the device and browser it runs on. The page on safety explains what it protects against and what it cannot.

Is the code open source?

No. The code is not open source. Instead of asking you to take our word for it, we explain how it works and show you how to check in your browser that your secrets are not sent anywhere.

How it works

Two-factor authentication adds a second step to your login: after your password, a website asks for a short code that changes every half minute. That code comes from a secret key the website shared with you when you turned 2FA on. 2Fa Live calculates the code from that key, so you do not need a separate device.

  1. Paste your key. Paste the secret key (or the otpauth:// link) the website gave you under "can't scan the code?". You can also scan a QR code with your camera, upload a QR image, paste a QR image or drop one on the page.
  2. Get your code. The 6-digit code appears immediately, with a countdown to the next one.
  3. Copy it. Press the big Copy button, paste the code into the website, and you are in.

There is no account to create, no passphrase to choose and nothing to install. Press Clear when you are done and the key is wiped from the page.

What you can do with it

  • Generate TOTP and HOTP codes for any service that follows the standard, including 6 and 8 digit codes.
  • Scan QR codes with your camera, or read an otpauth link, to add accounts without typing.
  • Enter a secret key by hand when there is no QR code to scan.
  • Keep many accounts (optional) in an encrypted vault, with names you choose, by pressing "Save to my accounts".
  • Make encrypted backups of that vault, to store anywhere and restore on any device.
  • Use it anywhere. Phone, tablet or computer, in any modern browser, no download needed.

Looking for something specific? See the TOTP generator, the 2FA code generator, the HOTP generator, the QR code reader and the otpauth URI decoder.

My accounts: an optional encrypted vault

Most people just need a code right now, and the instant generator is built for that. If you check the same accounts often, you can press Save to my accounts and keep them in a vault further down the home page. Only then do you choose a passphrase, which encrypts the vault on this device. Next time, unlock it and every saved code is in one list with its own countdown.

Your secrets stay on your device

An authenticator holds the keys to your accounts, so how it treats them matters more than how it looks. Here is what is true about 2Fa Live:

  • It runs entirely in your browser. The code that calculates your 2FA codes runs on your device.
  • In instant mode your key lives only in the page's memory. It is not saved, and it is wiped when you press Clear or leave the page.
  • In vault mode, secrets are encrypted with your passphrase (PBKDF2-SHA256 with 600,000 iterations, then AES-GCM-256) before they are saved on your device.
  • Nothing is sent to our server in either mode.
  • Backups are encrypted too, so a copied file is not a copied secret.
  • There are no ads and no analytics on the authenticator. Ads appear only on blog and guide pages, and Google Analytics runs only after you consent, never on the tool.

This does not make it magic. If your device is infected with malware, no browser-based or app-based authenticator can protect you, and if you forget a vault passphrase we cannot get your accounts back. Our safety page explains the threat model in plain language and shows you how to open your browser's developer tools and confirm for yourself that nothing is sent.

Guides for turning on 2FA

Not sure where to find the secret key on a site? Our guides to enabling 2FA walk you through the steps for popular services, and each one links back to the authenticator so you can test your first code straight away.

Prefer an app?

2Fa Live also has an Android app on Google Play. The web version works on every device, including iPhone, iPad and desktop browsers.

Built by OzoneApps

2Fa Live is made by the OzoneApps team. Read about us, or contact us with questions and feedback.