← Privacy Tools
PRIVACY TOOLS / LOCAL TOOL

TOTP Generator

Create time-based one-time codes locally.

PROCESSING / LOCALInputs stay in this tab

OUTPUT / LOCAL
Run the tool to see a result.
HOW IT WORKS

A shared secret plus the current time

The Base32 secret signs a 30-second counter with HMAC-SHA1 and dynamic truncation produces a six-digit code.

Limits to keep in mind

Clock drift or an incorrect secret produces the wrong code; entering a real secret on an untrusted device is risky.

A PRACTICAL WORKFLOW

Use the result carefully.

01Use a Base32 secret only in a trusted local environment. This page explains the input without sending it anywhere.
02Run the utility and inspect the complete output.
03Use sample secrets for learning and enroll real authenticators through a trusted service flow.
COMMON QUESTION
Why does the code change every 30 seconds?

Both sides calculate the counter from time and accept only a small window.