2FA tools
Decode a two-factor QR code to reveal its secret key, and generate the live rotating 6-digit login codes — free, and entirely in your browser.
1 · QR code decoder
When a platform shows a 2FA QR code, this reads the secret key hidden inside it.
Paste a QR image (Ctrl/⌘+V), drop it here, or click to upload.
PNG, JPG, or a screenshot of the QR works.
2 · TOTP code generator
Paste a secret key (base32) — or send one over from the decoder — to see its current authenticator code.
Advanced (period, digits, algorithm)
How to get a 2FA code from a platform QR
- On the platform's security / two-factor page, choose authenticator app — it shows a QR code (and usually a text secret).
- Screenshot the QR (or copy its image) and paste it into the decoder above. The secret key appears.
- Click Use in generator — the live 6-digit code shows, refreshing every 30 seconds.
- Enter that code where the platform asks for your authenticator code to finish enabling 2FA.
Why in-browser matters: a 2FA secret is as sensitive as a password. This tool never sends your QR or secret anywhere — all decoding and code generation happens on your device. Keep a backup of the secret somewhere safe; anyone with it can generate your codes.
What is TOTP?
TOTP (Time-based One-Time Password) is the standard behind authenticator apps like Google Authenticator and Authy. A shared secret plus the current time produces a 6-digit code that changes every 30 seconds — the same algorithm this page runs.