Private · Local · Free

Generate 2FA codes
right in your browser

Paste your secret key or otpauth:// URL — your 6-digit TOTP code appears instantly. Nothing leaves your device.

✓ Trusted by 10,000+ users 🔒 100% Private · Nothing Leaves Your Browser ⚡ No App · No Install · No Account
Secret key or otpauth:// URL — one per line
sec left
100% browser-side
No server calls
Nothing stored
Works offline
Free forever

How it works

Uses the open TOTP standard (RFC 6238) — same algorithm as Google Authenticator, Authy, and Microsoft Authenticator.

Step 1

Paste your key

Enter your Base32 secret or full otpauth:// URL from the service you're authenticating with.

Step 2

Code appears

Your 6-digit TOTP code generates instantly in the browser. A timer shows when it refreshes.

Step 3

Copy & use

Hit Copy and paste it into your login form before the 30-second window expires.

2FA Guides

All guides →

Frequently asked questions

Is 2faco safe? +

Yes. All code generation happens entirely in your browser via client-side JavaScript. Your secret keys are never transmitted to any server and are never stored.

How do I find my secret key? +

Your secret key is shown when you first enable 2FA on a website — usually as a QR code with a text fallback like JBSWY3DPEHPK3PXP. If you saved an otpauth:// URL, paste that directly.

Why does my code say INVALID KEY? +

The key format may be wrong. It must be a valid Base32 string (letters A–Z and digits 2–7) or a complete otpauth:// URL. See the troubleshooting guide.

Does it work offline? +

Once the page is loaded, yes — TOTP codes are calculated locally using your system clock. No internet connection is needed to generate codes.