Online 2FA Code Generator

Free

Generate 6-digit 2FA codes locally in your browser from a Base32 secret, otpauth link, or uid|password|secret line.

Related tools

Other utilities you may need.

How to use Online 2FA Code Generator

Paste base32 secrets or pipe-delimited lines. Codes are computed locally and refresh every 30 seconds.

Understanding the results

Codes refresh on the TOTP period. Keep the secret private; anyone with the secret can generate codes.

Limitations

Privacy note

TOTP secrets and codes are processed locally in your browser. Treat secrets as credentials.

Frequently asked questions

Is my TOTP secret uploaded?
No. Codes are computed locally in your browser.
Why does the code change?
TOTP codes are time-based and typically refresh every 30 seconds.
Which TOTP formats and periods are supported?
Common base32 secrets and the standard 30-second period are supported.
Do I need an account?
No account is required for free tools on this site.