TOTP Code Generator

Generate a current time-based one-time password from a Base32 secret locally in the browser.

Current code -
Seconds left -
Counter -

Enter the example value or paste your own input, choose the mode when one is available, and read the first result card for the direct answer. The output area gives a copyable block for code reviews, documentation, API tests, classwork or troubleshooting notes.

What the result means

The calculator decodes the Base32 secret, signs the time counter with HMAC-SHA-1, and truncates it into the displayed code.

What is not included

Do not paste production MFA secrets unless your security policy permits local browser tools. The code is not sent by this page.

Privacy note

The calculation runs in your browser. Avoid pasting production secrets, credentials, private keys, customer data or regulated personal data unless your own policy allows browser-based tools.