2FA2FA API - Instant TOTP via URL

Access your 2FA codes directly via URL. Perfect for bookmarks, scripts, and quick access.

URL Format
Simply append your Base32 secret to the domain:
https://2fa2fa.com/YOUR_SECRET

Replace YOUR_SECRET with your actual Base32 TOTP secret

Examples

Basic Usage

Opens the page and displays the current TOTP code

Bookmark Tip

Save the URL as a bookmark for instant access to your 2FA code

Features

Instant Access

No login, no app - just open the URL

Client-Side Only

Your secret never leaves your browser

Zero Storage

Nothing saved, nothing tracked

Works Offline

Once loaded, generates codes without internet

Security Notes
Important: Anyone with the URL can generate your TOTP codes

Best Practices:

  • Don't share URLs containing secrets
  • Use private/incognito mode on shared computers
  • Clear browser history after use on public devices
  • Consider using the Manager for sensitive accounts
Try It Now
Click the demo link below to see it in action: