TOTP code generator

Generate a time-based one-time code from a base32 secret — for testing your own 2FA setup locally.

The secret stays in this browser and only lives in this tab's memory. Nothing is sent or stored — closing the tab discards it.

RFC 6238 TOTP with HMAC-SHA-1 (the algorithm every authenticator app uses), 6–8 digits, 5–3600 s step. Only generate codes for your own accounts — never enter someone else's secret.

How to use

  1. Paste the base32 secret.
  2. Set digits/step if the issuer needs non-defaults.
  3. Read the live code and seconds remaining.

What it supports

RFC 6238 TOTP with HMAC-SHA-1 — the algorithm every authenticator app uses — 6–8 digits, 5–3600 s step. The secret never leaves the page. Only generate codes for your own accounts.

Related tools

Related guides