Facebook 2FA Authenticator

Instant 2FA Code Generator

Generate 6-digit authentication codes for your Facebook accounts, Business Managers, and ad assets directly in your browser with zero latency.

Accepts standalone Base32 keys or pasted account strings like UID|Pass|2FA_Secret|...

30s
One-Time Passcode
------

100% Client-Side Cryptographic Security

All 2FA calculations occur locally in your browser using standard Web Crypto SHA-1 HMAC algorithms. Your private authentication keys are never sent to our servers or stored in any database.

How the Facebook 2FA code generator works

What is a 2FA (TOTP) code?

Two-factor authentication adds a second step after your password. Authenticator apps use the time-based one-time password standard (TOTP, RFC 6238): a shared secret key and the current time are combined with an HMAC to produce a short numeric code that changes every 30 seconds. Facebook accepts these codes as a login check for personal profiles and Business Manager admins.

This tool does the same calculation as an authenticator app. You paste the Base32 secret key, and it shows the current six-digit code with a live 30-second countdown and a one-click copy button. The calculation runs in your browser with the Web Crypto API, so the secret is not sent to our server.

Where to find the secret key

When you turn on an authenticator app in Facebook security settings, Facebook shows a QR code and, next to it, a text setup key. That text key is the Base32 secret this tool needs. Accounts delivered by BM 4 U include the 2FA secret in the login kit, usually in the third field of the credential line.

  • Secrets use the letters A-Z and the digits 2-7; spaces and lowercase letters are ignored.
  • Treat the secret like a password: anyone who has it can generate valid codes.

If your code is rejected

  • Check that the secret was copied completely, with no missing or swapped characters.
  • Make sure your device clock is accurate; TOTP depends on the current time, so a clock that is a minute off produces the wrong code.
  • Enter the code before the countdown reaches zero, or wait for the next code.
  • If a delivered account still fails, contact support within the 24-hour guarantee window.

How to generate a Facebook 2FA code from a secret key

  1. Copy the secret key. Copy the Base32 2FA secret from your account details or from the Facebook authenticator setup screen.
  2. Paste it into the tool. Paste the secret into the input field. Spaces and lowercase letters are cleaned up automatically.
  3. Read the six-digit code. The current code appears with a 30-second countdown. Use the copy button to copy it.
  4. Enter it on Facebook. Type the code into the Facebook two-factor prompt before the countdown ends. If it expires, use the next code.
  5. Use bulk mode for many accounts. Switch to bulk mode and paste several secrets to generate codes for all of them at once.

Frequently asked questions

Is it safe to paste my 2FA secret here?

The code is generated in your browser using the Web Crypto API, and the secret is not sent to our server. As a general rule, only enter secrets on tools you trust and never share them with anyone.

Why does the code change every 30 seconds?

TOTP codes are derived from the current time divided into 30-second windows, so each window has a different code. This limits how long a stolen code stays valid.

Does this work for accounts other than Facebook?

Any service that uses the standard TOTP authenticator method with a Base32 secret and six-digit codes will produce a matching code, though this page is built for Facebook workflows.

Can I generate codes for many accounts at once?

Yes. Bulk mode accepts multiple secrets and returns a code for each one, which helps agencies managing many profiles.

My code is wrong. What should I check?

Verify the secret has no typos and that your device time is correct. Also make sure you enter the code before the 30-second countdown ends.