What a 2FA setup key is
A setup key is the shared TOTP secret created by the service you are protecting. An authenticator app or browser tool combines that secret with the current time to generate the same short code the service expects.
A 2FA setup key is the shared secret behind authenticator codes. This guide explains where to find the manual key, how it relates to a QR code, which Base32 characters are valid, and how to use it with a local TOTP generator.
A setup key is the shared TOTP secret created by the service you are protecting. An authenticator app or browser tool combines that secret with the current time to generate the same short code the service expects.
Most authenticator QR codes contain the same secret, usually inside an otpauth://totp/ URI. Manual entry uses the text setup key instead of scanning the QR code.
Manual setup keys are commonly Base32 strings using A-Z and 2-7. Spaces, hyphens, and padding may be shown for readability, but the TOTP calculation uses the normalized secret bytes.
A manual key is useful when a QR scanner is unavailable, when testing a TOTP integration, when moving a code between trusted devices, or when checking a recovery workflow.
For shortcuts, prefer #secret=YOUR_BASE32_SECRET because the fragment remains in the browser. Path and query shortcuts still work, but those server-visible URLs are marked noindex.
A setup key is not a recovery code, password, push approval, SMS code, email code, passkey, or hardware security key response. It only works for TOTP-style authenticator codes.
Go to the service where you are enabling two-factor authentication or multi-factor authentication, then choose the authenticator app or TOTP option.
Look for text such as setup key, manual entry, unable to scan, or enter this key. Some services show only a QR code until you expand a manual option.
Copy the setup key exactly as shown, including spaces if you want the field to display it the same way. An otpauth://totp/ link can also be pasted directly.
Paste the setup key into the local TOTP generator. The display can keep your original spacing while the calculation normalizes the Base32 secret internally.
If the service shows algorithm, digits, or period values, use the same settings. Common defaults are SHA-1, 6 digits, and 30 seconds.
Copy the current authenticator code back into the service to finish setup, then store the setup key only in places you trust.
Open the account's security or two-factor authentication setup page. Look for manual entry, setup key, or cannot scan QR code near the authenticator app setup step.
No. A setup key generates recurring TOTP codes. A recovery code is usually a one-time backup code used when you lose access to the authenticator.
Yes. This tool can preserve your pasted display text while normalizing spaces, hyphens, and padding for the Base32 calculation.
The usual causes are copied characters outside A-Z and 2-7, missing characters, a wrong key type, or using a recovery code instead of the TOTP setup secret.
It works with standard TOTP setup keys and otpauth://totp/ links used by many authenticator apps. It is compatible with those formats but not affiliated with Google or Microsoft.