DesignerPK tools Kit logotools
GEN-20

TOTP Generator

Generate two-factor auth codes from a Base32 secret.

Runs in your browserNothing sent to a server
Digits

Generated using HMAC-SHA1 per RFC 6238, entirely in your browser.

What is this tool?

TOTP Generator creates time-based one-time passwords from a Base32 secret. TOTP codes are commonly used as a second factor for account authentication and are typically six digits that change periodically.

How does it work?

Enter a valid Base32 TOTP secret and the tool calculates the current one-time password using the TOTP algorithm and current time. The code automatically changes when the current time window expires.

Key features

  • Generate TOTP two-factor authentication codes
  • Accept Base32 secrets
  • Display the current one-time code
  • Show remaining time for the current code
  • Automatically refresh codes
  • Useful for testing TOTP integrations
  • Process the secret locally when supported

How to use

  1. Enter the Base32 TOTP secret.
  2. Generate or view the current authentication code.
  3. Use the displayed code during the corresponding authentication window.
  4. Wait for the timer to refresh when a new code is generated.

FAQ

What is TOTP?

TOTP stands for Time-based One-Time Password. It generates temporary authentication codes based on a shared secret and the current time.

What is a Base32 secret?

A Base32 secret is a shared secret represented using Base32 encoding. It is commonly provided when setting up an authenticator-based two-factor authentication method.

How long does a TOTP code last?

Many TOTP systems use a 30-second time step, although the exact interval is determined by the service's configuration.

Should I share my TOTP secret?

No. A TOTP secret is sensitive authentication material. Do not share it with other people or enter it into services you do not trust.

More in Generators