2fakey is a free online authenticator that turns a Base32 two-factor secret into a live RFC 6238 TOTP code. Codes refresh every 30 seconds, matching Google Authenticator, Authy, and Microsoft Authenticator defaults.
Are my 2FA secrets stored on your servers?
No. Codes are generated in your browser. If you choose Save on this device, the secret is written only to a first-party cookie on your computer or phone so you can generate again later. We do not keep a database of secrets.
Is saving secrets in a cookie safe?
A cookie stays on that browser until you delete it or it expires. Anyone with access to the device can open 2fakey and generate codes. Use it on a device you control, give accounts a label (not the secret), and remove entries you no longer need. For high-value accounts, prefer a dedicated authenticator app or hardware key.
What secret format does 2fakey accept?
Paste the Base32 secret shown when you set up 2FA: letters A–Z and digits 2–7. Spaces, dashes, and padding are ignored.
Do I need to install an app?
No. 2fakey runs in the browser on mobile and desktop. Saved accounts return when you reopen the site in the same browser, as long as cookies are allowed.
Online TOTP authenticator for RFC 6238 codes
Time-based one-time passwords (TOTP) are the 6-digit codes most sites ask for after your password.
They come from a shared Base32 secret and the current time, using
RFC 6238. 2fakey is a browser authenticator for those secrets:
useful when you need a code quickly, are setting up a new app, or want a labeled list on one device.
Default settings match Google Authenticator: SHA-1, 6 digits, 30-second steps.
Pair this generator with the TOTP verifier when you are debugging a clock or secret,
or the secret generator when you enroll a new service.