2FA code generator
Paste the secret key or otpauth://totp/… link from your Google account’s 2FA settings.
This generator runs entirely in your browser — we never see your secret. If you sign in, you can store keys in Saved 2FA in your dashboard and open live codes there anytime.
Examples
-
Base32 setup key from the service (often under “Can’t scan the QR?” / “Enter setup key”). Spaces, dashes, and common copy-paste fixes are OK.
Classic form (uppercase, often in docs and setup screens)
JBSWY3DPEHPK3PXP
JBSW Y3DP EHPK 3PXP
Same kind of key: lowercase and/or groups with spaces — we normalize it
2wemjehcfj4ocofu5blxcy6oziwrt5qm
2wem jehc fj4o cofu 5blx cy6o ziwr t5qm
-
A full otpauth://totp/… link — the same string encoded in the QR when you enable 2FA.
otpauth://totp/Example:user@mail.com?secret=JBSWY3DPEHPK3PXP&issuer=Example&algorithm=SHA1&digits=6&period=30
- Only the usual Google Authenticator profile: SHA-1, 6 digits, 30-second step.
- You get these in that account’s security / 2FA settings (Google, GitHub, etc.), not from our site.
-
Not supported: HOTP (otpauth://hotp/…), SMS codes, or TOTP with other algorithms or periods.
otpauth://hotp/Label?secret=JBSWY3DPEHPK3PXP&counter=0
Current code