2FA Code Generator

Generate TOTP codes for Facebook, Google, GitHub and more

Enter Your 2FA Secret Key

Get this from Facebook/Google 2FA setup. Remove spaces/dashes if any.

Generated 2FA Codes

Enter your secret key above and click "Generate 2FA Codes"

How to Use for Facebook

  1. Go to Facebook Settings → Security and Login
  2. Enable Two-Factor Authentication
  3. Choose Authentication App
  4. Facebook will show a QR code and Secret Key
  5. Copy the Secret Key and paste above
  6. Click Generate 2FA Codes to get your 6-digit code
Important: Always backup your 2FA secret keys. If you lose access to both your phone and backup codes, you may be locked out of your account.