Local 2FA utility

2FA Secret Parser and TOTP Code Generator

Paste an otpauth URI or enter a Base32 secret to inspect 2FA settings and generate the current dynamic one-time password locally.

Generate TOTP code

------

Enter a secret or otpauth URI to generate a code.

2FA Code Tool FAQ

What is a TOTP code?

TOTP means time-based one-time password. It is the six or eight digit code commonly used by authenticator apps.

Is my 2FA secret uploaded?

No. Parsing and code generation run in your browser using Web Crypto APIs.

What is an otpauth URI?

It is a setup link used by authenticator apps. It usually includes the account label, issuer, secret, algorithm, digits, and period.

Which algorithm should I use?

Most services use SHA-1, 6 digits, and a 30-second period. Use the values from the original otpauth URI when available.

Can this replace my authenticator app?

It is better used for inspection and recovery workflows. For daily use, keep 2FA secrets in a trusted authenticator or password manager.

Why does the code change?

TOTP codes are derived from the secret and current time. A new code is generated every period, usually every 30 seconds.