← Playground

TOTP

royhp.com
––– –––
30s

Click the code to copy · refreshes every 30 seconds

Secret & labels

Time offset

Shift “now” by ±300 seconds to preview past and future codes (the code, countdown and windows all follow the offset).

otpauth:// QR code

Scan with an authenticator app to import this secret.

RFC 6238 · HMAC-SHA1 · 6 digits · 30-second period. Everything is computed locally with the Web Crypto API and a self-contained QR encoder — no secret leaves your browser. For experimentation only; don’t paste production secrets.