1. Secret Logo

2FA TOTP Generator

2FA TOTP Generator & QR Debugger

Generate a secure TOTP secret, parse an authenticator URI, and verify live codes and QR configuration entirely on this device.

RFC 6238 compatible

Configure one-time passwords.

Local only
—— ——15s
Enter a valid Base32 secret
SHA1 HMAC
6-digit output
30-second period

Enter or generate a valid secret to create the authenticator QR code.

TOTP secrets are sensitive

Codes follow RFC 6238 using Web Crypto. Secrets, codes, and QR images remain in this tab and are never uploaded.

How do I generate a TOTP code?

Paste a Base32 secret or an otpauth setup URI, or generate a new secret. Match the algorithm, digit count and time period to the service you are configuring. The tool displays the current code and a setup QR code.

Why does my code not match my authenticator?

Check that both use the same secret, algorithm, digit count and time period. Time-based one-time passwords also depend on the device clock, so check that your device has the correct time.

Can I share the TOTP setup QR code?

Keep it private. The QR code contains the secret used to generate future codes. This tool processes secrets, codes and QR images locally and does not upload them.