When building or testing authentication features, I often need a quick way to generate TOTP codes.
Installing an authenticator app every time isn’t always practical — especially when switching environments or devices.
That’s why I started using 2fa.cn, a lightweight online OTP/TOTP generator that works directly in the browser.

Why it’s useful:
No registration required
Supports standard TOTP (RFC compatible)
Works instantly without installing anything
Great for development and testing
It’s not meant to replace secure authenticator apps for personal use, but for learning, debugging, and quick checks, it does the job very well.
Top comments (0)