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
- Go to Facebook Settings → Security and Login
- Enable Two-Factor Authentication
- Choose Authentication App
- Facebook will show a QR code and Secret Key
- Copy the Secret Key and paste above
- 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.