OTP / TOTP Generator

Time-based one-time passwords with countdown ring and otpauth URI support

Current code

TOTP per RFC 6238 — computed entirely in the browser.

20s
Previous
Next

Settings

otpauth:// URI

Paste a TOTP provisioning URI to populate the settings above.

About TOTP

How it works

TOTP (RFC 6238) derives a code from a shared secret and the current time. The counter is floor(unix_time / period); HMAC of that counter is dynamically truncated to a numeric code.

Defaults

Most providers use SHA-1, 6 digits, 30-second period. Some (e.g. Authy, Steam) use SHA-256 or longer periods. Match your issuer's exactly.