Free tools, no sign-up — everything runs in your browser.
ToolHub 1000Free online tools

TOTP Authenticator Code Generator

Generate a real 6-digit TOTP code from a base32 secret, following the standard 30-second step.

Quick answer: enter your details below and click Generate Code — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
T
Developer

Enter your details below.

How to use

  1. Copy the base32 secret from your authenticator setup.
  2. Paste it into the secret box.
  3. Click Generate Code and use the code before its seconds run out.

About this tool

Enter the base32 secret from an authenticator setup and this tool decodes it, combines it with the current 30-second time step, and computes a 6-digit code using HMAC-SHA1, as defined by the TOTP standard. It also shows how many seconds remain in the current step, since the code changes when the step rolls over. The code is computed in your browser; keep your secret private and never paste it into a page you do not trust.

Frequently asked questions

Why does the code change every 30 seconds?

Because TOTP mixes your secret with the current time step, so the same secret yields a new code each step and old codes expire.

What if WebCrypto is unavailable?

The tool says so plainly instead of faking a code, since the HMAC computation needs that browser feature.

Related tools

All tools · Read the guide: TOTP Authenticator Code Generator