Your 2FA code online.

Paste a secret key. Get your code instantly.

Keys are never sent to our servers

Your profiles

0 accounts

Loading your authenticators…

Enter your secret key

Profiles and changes are saved automatically in this browser.

Everything stays on this device

Private by defaultKeys never leave your browser
Ready in secondsNo account or registration
Works offlineAfter your first visit

A little more peace of mind.

Two-factor authentication, without the extra steps.

How it works

What is two-factor authentication?

2FA adds a second check when you sign in. Alongside your password, you enter a short-lived code generated from a secret key. This makes a stolen password alone less useful to an attacker.

Read the 2FA guide

How does TOTP work?

Your device combines a shared secret with the current time to calculate a code. It usually changes every 30 seconds. The service you sign in to calculates the same code and checks that they match.

01

Paste your secret

Enter the setup key or otpauth link. Your current code appears automatically.

02

Copy your code

Click the code or its timer to copy. Click the profile name to edit its details.

03

Add more profiles

Your key is saved automatically. Choose “Add profile” for another card. Each card contains its own key, code and timer.

Is it safe to use an online authenticator?
Codes are calculated locally using your browser’s cryptographic tools. The website does not receive your keys. Local profiles are not encrypted with a master password, however: someone with access to your browser data could read them. Use a trusted device and keep the browser and operating system up to date.
Can I generate a 2FA code online?
Yes, if your service gave you a TOTP setup key or an otpauth://totp/ link. Add it to 2fas.online and the code is calculated in your browser. This tool cannot retrieve a lost key, recover an account or generate an SMS code.
How does a 2FA code generator work?
A TOTP generator combines your setup key with the current time to calculate a short-lived authenticator code, usually changing every 30 seconds. You can generate the code in a browser without installing a phone app, provided you have the setup key.
What is two-factor authentication?
Two-factor authentication (2FA) adds a second check when you sign in. A TOTP code from an authenticator is one option; SMS, push prompts and security keys work differently. Our full guide explains the choices and setup.
How is 2fas.online different from 2FAS Authenticator?
2fas.online is a browser app for TOTP codes. 2FAS Authenticator is a separate mobile app. You can use a standard TOTP setup key here, but profiles do not sync between the products automatically.
Are my secret keys stored online?
No. Profiles are stored in IndexedDB in this browser. There is no account, server database or automatic cloud sync. Clearing site data can remove the profiles. Save an encrypted backup before changing browsers or devices.
Why is my code not working?
Check that the time on your device is set automatically. Make sure the key, algorithm, number of digits and update interval match your service. Try the next code if the current one is about to expire.

Online authenticator: TOTP and 2FA code generator

2fas.online is a browser-based authenticator app for two-factor authentication. Add a standard TOTP setup key to generate a code on your device, keep multiple profiles and export an encrypted backup. Enable 2FA in the account you want to protect before adding its key here.

What is two-factor authentication?

2FA adds a second check alongside your password. Our guide explains what 2FA means, how authenticator codes work, and how to set it up and keep recovery codes.

Read the 2FA guide

2fas.online and 2FAS Authenticator

Both can be called authenticator apps, but they are different products. Learn how this browser tool relates to the separate 2FAS mobile app, setup keys and backups.

Compare the apps

Back up your authenticators

Your profiles are encrypted before download.

Use at least 12 characters. We cannot recover this password.

Delete profile?