X (Twitter) 2FA Code Generator
Enter your X (Twitter) Authentication App setup key or QR screenshot to get your live 6-digit verification code instantly.
Paste your key above to generate your 6-digit code.
Transfer to Mobile Authenticator
Generated locally in your browser — scan with Google Authenticator, Authy, Aegis, or 1Password.
Advanced options 6d · 30s · SHA-1
Showing the first 200 non-empty lines to keep live updates responsive.
Ready to check a 2FA code
Enter a secret key and a 6-to-8 digit code to check whether it matches now or is shifted by clock drift.
Compatible with any social media & TOTP app
- X (Twitter)
- TikTok
- Discord
- Google Auth
- GitHub
- Twitch
- Any TOTP
How to generate an X (Twitter) 2FA code in 3 steps
-
01
Copy your X authentication key
Open X → Settings and privacy → Security and account access → Security → Two-factor authentication → Authentication app, then choose "Can’t scan the QR code?" to copy the key.
-
02
Paste key or scan QR above
Paste the Base32 key or drop the QR screenshot into the field above to start live 30-second code generation immediately.
-
03
Copy your 6-digit X login code
Click Copy Code and enter the 6 digits into X to complete sign-in. Zero registration, zero installs, and zero key storage.
Does 2facheck.com work for X (formerly Twitter) Authentication App 2FA?
Yes. X supports free Authenticator App 2FA for all accounts using RFC 6238 TOTP (6 digits, 30-second window, HMAC-SHA1), which works identically on 2facheck.com.
Can I switch my X 2FA key to a phone app later?
Yes. After pasting your key, click the QR button inside the code display to generate an offline otpauth:// QR code you can scan with Google Authenticator, 1Password, or Aegis.
What if X says my 6-digit authentication code is wrong?
Verify that automatic UTC clock sync is enabled on your device and check that the secret key has no typos (Base32 uses A–Z and 2–7 only, never 0, 1, 8, or 9).
Is my X (Twitter) secret key sent to a server?
No. Code computation runs entirely inside your browser using Web Crypto with zero server transmission or storage.