2FA codes. From any setup key.
Paste a TOTP setup key and get a fresh 6-digit code every 30 seconds. Everything runs in your browser — your secrets never touch our servers.
Codes follow the open TOTP standard, RFC 6238, the same algorithm authenticator apps use.
2FA Setup Key
Paste the base32 secret your service showed when enabling 2FA. Spaces and dashes are ignored.
Setup keys never leave your browser. A key is kept only if you press Save.
Saved keys stay in this browser on this device, unencrypted. Anyone who uses this browser can open them, so do not save keys on a shared computer.
Current code
Generate a code to begin
What this 2FA generator does
Two-factor authentication (2FA) adds a second step to a login: after your password, a site asks for a short code that changes every few seconds. The most common kind is TOTP — a time-based one-time password. When you turn on 2FA, the site gives you a setup key (the text behind the QR code). An authenticator app stores that key and uses it, together with the current time, to work out the 6-digit code. This page does the same calculation in your browser so you can read the current code and copy it in.
How to use it, step by step
- On the website, choose “authenticator app” when setting up 2FA and reveal the setup key.
- Paste that key into the box above. The current 6-digit code appears with a countdown.
- Enter the code on the website before the timer runs out; a fresh code is ready every 30 seconds.
- Keep the site’s backup/recovery codes somewhere safe in case you lose access.
Keeping your keys safe
Codes and keys are computed entirely in your browser with the Web Crypto API; they are never sent to Tmail. If you save a key for later, it is kept in this browser’s local storage on this device, so only save on a device that is yours and clear saved keys when you are done. A 2FA setup key is as sensitive as a password — anyone who has it can generate your codes. For your most important accounts, a dedicated authenticator app or a hardware security key remains the safest home for these secrets.