How to find your 2FA secret key
The secret key is the text behind the QR code. With it, any authenticator — including Code2FA — shows the same codes.
3 steps
- Open the security settings of the service and start setting up an authenticator app.
- When the QR code appears, choose “Can’t scan?” or “Enter key manually”. Copy the key (letters A–Z and digits 2–7), or simply scan the QR code with Code2FA.
- Paste the key into Code2FA and type the 6-digit code back into the service to finish.
Where the key is on popular services
Menu names are shown in English and may change over time.
- Google: Google Account → Security → 2-Step Verification → Authenticator → Set up → “Can’t scan it?”
- Facebook / Instagram: Accounts Center → Password and security → Two-factor authentication → Authentication app (the key is shown next to the QR code)
- Shopify: Profile (top right) → Manage account → Security → Two-step authentication → Authenticator app → “Can’t scan the code?”
- TikTok: Settings and privacy → Security & permissions → 2-step verification → Authenticator app
- Amazon: Account → Login & security → 2-step verification → Authenticator App → “Can’t scan the barcode?”
- Microsoft: Security → Advanced security options → Add a new way to sign in → Use an app → set up a different authenticator app → “I can’t scan the bar code”
- GitHub: Settings → Password and authentication → Enable two-factor authentication → “setup key”
- Binance: Profile → Security → Authenticator App → Enable (the key is shown under the QR code)
- Discord: User Settings → My Account → Enable Authenticator App → “2FA Key (Manual entry)”
Good to know
- Save the key somewhere safe before finishing setup. Most services never show it again.
- Already set up? Usually you must turn 2FA off and on again to see a new key. From Google Authenticator you can use “Transfer accounts” and scan that QR code here.
- Code rejected? The clock of the device is almost always the reason. Use Tools → “Why is my code rejected?”.
- Many accounts? Paste one per line, for example
ID|Password|KEY.