UTILS.
100% in-browser

TOTP / 2FA Code

Generate a time-based one-time passcode from a Base32 secret, refreshed every second.

About this tool

Compute the current TOTP two-factor code from a Base32 secret directly in your browser, with a live seconds-remaining display.

Frequently asked questions

What secret format is expected?
A Base32-encoded secret, the same format authenticator apps show when you set up two-factor authentication.
Why does the code change?
TOTP codes are derived from the current time divided into periods, so a fresh code appears at the end of each period.

More tools