Skip to content
codinganthem
All tools/Security/TOTP / OTP Generator

TOTP / OTP Generator

Generate RFC 6238 time-based one-time passwords (TOTP) online from a secret key. Free TOTP generator for testing 2FA flows — no sign-up needed.

20s
Click the code or use Copy code to copy the one-time password
Authenticator setup URI
otpauth://totp/CodingAnthem%3Auser%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=CodingAnthem&algorithm=SHA1&digits=6&period=30

SHA-1 · 6 digits · 30s period (RFC 6238). Paste this URI into an authenticator app or QR generator.

Frequently asked questions

What is TOTP / OTP Generator?+

Generate RFC 6238 time-based one-time passwords (TOTP) — the same codes produced by apps like Google Authenticator.

How do I use TOTP / OTP Generator?+

Enter a Base32 secret key to generate a live, auto-refreshing 6-digit code. Countdown ring shows exactly when the code will rotate (every 30 seconds). Uses the Web Crypto API (HMAC-SHA1) — no libraries, no server calls. Useful for testing 2FA flows without reaching for your phone

Is TOTP / OTP Generator free?+

Yes, TOTP / OTP Generator is completely free. No account or sign-up required, and all processing happens in your browser — nothing is sent to a server.

Is my data safe when I use TOTP / OTP Generator?+

Yes. TOTP / OTP Generator runs entirely in your browser using JavaScript and Web APIs — your input is never uploaded, transmitted, or stored on any server.