Security Tools

TOTP Tester

Generate and verify time-based one-time password (TOTP) codes using your Base32 secret. Useful for validating MFA setup before deploying to production.

Spaces and lowercase letters are accepted. Invalid characters are rejected.

Current TOTP —
------

Enter a code and click Verify.

Authenticator App QR Code

Live QR

Scan with Google Authenticator, Microsoft Authenticator, 1Password, or Authy

RFC 6238 format

How to use this tester

TOTP is based on a shared secret and the current Unix timestamp. Both your authenticator app and your server run the same algorithm with the same time window. If clocks drift or the secret is malformed, users will see "invalid code" errors even when they type correctly.

This tester helps you validate those implementation details quickly. Paste the Base32 secret, choose the same period and digit length your server expects, and scan the QR code into your authenticator app. If the generated codes match, your configuration is correct.

The verify box checks the entered token against the current window and a small tolerance around it to mirror practical server-side behavior.