Tool Hub

TOTP Generator

Generate a 6-digit TOTP (RFC 6238) from a base32 secret — zero dependencies, browser only

Generate the current 6-digit TOTP code from a base32 secret (RFC 6238). Everything runs locally in your browser.

How to use

  1. Paste your base32 TOTP secret into the secret field — typically found in an authenticator app's backup or QR code URI.
  2. Click "Generate code" to produce the current 6-digit TOTP.
  3. Read the code and note the remaining validity in seconds shown next to it.
  4. The secret and code are never stored or sent anywhere — they stay in browser memory only.

Examples

  • Entering a valid base32 secret like JBSWY3DPEHPK3PXP generates a 6-digit code valid for up to 30 seconds, matching what Google Authenticator would show.
  • If the secret contains non-base32 characters, an "Invalid base32 secret" error appears instead of a code.

Verify outputs before using in production. No warranty — see Terms.