Tool index

CLIENT-SIDE 2FA UTILITY

Browser TOTP Authenticator

Generate a time-based one-time password in your browser from a Base32 secret or authenticator URI. No account or server-side secret submission.

This browser TOTP authenticator calculates a 6- or 8-digit time-based one-time password from a Base32 secret or an otpauth://totp/ provisioning URI. It uses the Web Crypto API to import the secret as an HMAC key and computes a new code on the standard 30-second time step. The value updates automatically, and the copy button copies only the current code.

The TOTP calculation happens in this browser tab. The page does not send the secret to a SaaSVerdict API or save it to local storage. Do not enter a secret on a device, browser profile, or page you do not trust. A compromised device, browser extension, screen recording, clipboard manager, or someone looking at your display can still expose it. This tool is a convenience for codes you are authorized to use; it is not a replacement for a trusted authenticator app or hardware security key.

Web Crypto requires a secure context such as HTTPS in supported browsers. Keep your device clock accurate: TOTP relies on both sides using compatible time steps. This page supports 30-second periods and SHA-1, SHA-256, or SHA-512 when those settings are present in a provisioning URI; other periods or algorithms are rejected instead of silently producing mismatched codes.

Enter your authenticator secret

This tab only
••••••

Codes are calculated in this browser using HMAC and the device clock.

Enter a secret to start the 30-second timer.30s

The secret stays in this page while it is open.

A 30-second TOTP calculation

The generator uses the current Unix time divided into 30-second counters, signs the counter with the supplied secret using HMAC, then applies dynamic truncation to produce a numeric code. The default algorithm is HMAC-SHA-1; a valid TOTP URI can select SHA-256 or SHA-512 and 6 or 8 digits. A URI that requests a nonstandard period is rejected so the page does not quietly show codes that may not match the service.

TOTP is sensitive authentication material. Use only secrets you control or are authorized to access. Copying a code places it on the system clipboard, where another application may be able to read it. When finished, clear the secret and close the tab. This tool cannot protect a compromised browser or replace a phishing-resistant passkey or security key.

Standards: RFC 6238 — TOTP · Web Crypto API

Continue with the relevant directory or tool

Browse all guides

Free to use — no account or payment required.

Secure the account beyond the code

A one-time code is one layer of account security. Protect recovery options and active sessions, and clear secrets from the page when finished.