2FA Authenticator — Free, Browser-Based TOTP Generator
Generate time-based one-time passcodes (TOTP) right in your browser. Compatible with Google Authenticator, Authy, and any RFC 6238 service. Secrets are stored locally — never uploaded.
How to generate 2FA TOTP codes in your browser
- Add an account. Click Add, then either paste the secret key shown by your service, or scan the QR code with your webcam.
- Name the account. Set a label like "GitHub" or "AWS" so you can find the right 6-digit code at a glance.
- Copy the live code. A 6-digit code refreshes every 30 seconds. Click the code to copy it instantly into the login prompt.
- Back up your secrets. Export your secret list to a local JSON file as backup. Store somewhere safe (1Password, encrypted drive) — never email it.
Frequently Asked Questions
- Are my 2FA secrets uploaded?
- No. Secrets are stored only in your browser localStorage. No server, no sync, no telemetry.
- Is this a Google Authenticator replacement?
- Yes. It implements the same RFC 6238 TOTP standard. Any service that supports Google Authenticator will work with this tool.
- What if I clear my browser data?
- You will lose your secrets unless you exported the backup. Always keep an exported backup before clearing browser storage.
- Can I scan QR codes from the screen?
- Yes. Use your webcam to scan a QR code displayed on another device, or upload a screenshot of the QR code.
- Does it work offline?
- Yes. After first load, the tool runs entirely offline — TOTP only needs the secret and your device clock.
- Why does my code not match?
- TOTP requires accurate clock sync. If your device clock drifts more than 30 seconds, codes will be rejected. Sync your system time.
Use Cases
- Replace Google Authenticator on a new laptop without phone setup
- Generate 2FA codes for AWS, GitHub, Cloudflare, Notion accounts
- Backup TOTP secrets to a portable, browser-based vault
- Test 2FA login flows during development
- Provide team-shared 2FA codes for shared service accounts (safely, with export backup)