2FA TOTP

2FA TOTP generator

Enter a Base32 secret and this page generates TOTP codes in your current browser according to RFC 6238. Secrets are not uploaded, saved, or written to the URL.

Web Crypto APIHMAC-SHA1Local compute

Base32 secret

Waiting for secret

Spaces and hyphens are ignored automatically. The secret stays only in this page memory.

Digits
Period

Current code

Remaining -
Waiting for secret
Local time-
Timezone-

Make sure your system time is accurate. Clock drift can make codes fail.

Local calculation, no saved secret

Secrets and codes are calculated only in this browser. They are not sent to 6MCloud or any server and are not written to localStorage, sessionStorage, or the URL.

How to use it

Get the secret

Copy the Base32 secret from Google Authenticator, Authy, 1Password, or the target service admin page.

Match the settings

Digits and period must match the server configuration. The common setup is 6 digits and 30 seconds.

Sync the clock

If codes do not match, local clock drift is a common cause. Enable automatic time sync.

FAQ

Is the secret sent to a server?

No. This is a frontend-only tool and TOTP generation runs locally in the browser.

Will the secret remain after refresh?

No. The page does not use localStorage or sessionStorage, so you must enter the secret again after refresh.

Why does the code not match the service?

Confirm the Base32 secret, digits, and period all match, then check that your system time is accurate.