TOTP Generator

Your workspaceProcessed on your device

Use 16–128 decoded secret bytes and match the verifier’s algorithm, digits and period. An RFC example uses a public test key.

A few things to know.

Accepts canonical padded or unpadded Base32 for 16–128 decoded bytes, with ASCII grouping spaces allowed. Periods are 1–300 seconds. Uses the Unix epoch as T0 and Web Crypto on HTTPS or localhost. Secrets are kept in the current workspace state only.

  1. Enter an RFC 4648 Base32 secret or load the public RFC example for the selected hash.
  2. Choose HMAC SHA-1, SHA-256 or SHA-512, six to eight digits, and the verifier’s period.
  3. Choose the current device clock or enter a reference Unix timestamp. Generate the code and copy only when needed.