Security utility

TOTP Code Generator

Generate RFC 6238 time-based codes locally from a Base32 secret.

No advertisements or third-party scripts

Only first-party code runs here. Close the tab to clear the entered secret.

Spaces and hyphens are ignored. RFC 6238: SHA-1, 30 seconds, six digits.

Current code— — — — — —
Enter a secret to begin

How to use it

  1. Enter a Base32 TOTP secret.
  2. Read the current six-digit code and countdown.
  3. Close or refresh the page to clear the secret.

Protect the secret

A TOTP secret can generate future codes. Treat it like a password and do not paste a production secret into an untrusted device.