TOTP code generator

Generates the current 6-digit code (RFC 6238, 30-second period, SHA-1) for a Base32 secret — the same kind of secret shown when you set up an authenticator app. Useful for testing 2FA integrations without reaching for your phone.

760207

Refreshes every 30 seconds — reload the page for a new code. 10s left in this window.

What is TOTP code generator?

TOTP (Time-based One-Time Password) is the algorithm behind authenticator apps like Google Authenticator — a 6-digit code derived from a shared secret and the current time, changing every 30 seconds.

How to use it

Paste the Base32 secret you'd normally scan as a QR code into an authenticator app, and get the current code directly — handy for testing 2FA flows without reaching for your phone.

Example

Secret JBSWY3DPEHPK3PXP currently produces a 6-digit code that changes every 30 seconds.