freeworktool logofreeworktool

TOTP 2FA Code Generator

Generate live RFC 6238 6- or 8-digit TOTP authenticator codes from Base32 secrets or otpauth:// URIs locally.

Loading TOTP 2FA Code Generator in your browser — 100% client-side with zero uploads.

Related security tools

All Security tools

Password Generator

Generate high-entropy passwords or passphrases using browser Web Crypto randomness.

Security

Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 checksums for text or files.

Security

Passphrase Generator

Generate memorable Diceware-style word passphrases with Web Crypto entropy calculation.

Security

Text Redactor

Automatically detect and mask emails, phones, cards, SSNs, IPs, tokens, and custom terms.

Security

File Checksum Verifier

Verify file integrity against an expected MD5/SHA checksum or compare two files directly.

Security

AES Text Encrypt & Decrypt

Encrypt and decrypt sensitive text locally with AES-256-GCM and PBKDF2 via the Web Crypto API.

Security

About TOTP 2FA Code Generator

Compute live RFC 6238 6- or 8-digit TOTP 2FA verification codes from Base32 secrets or otpauth:// URIs with a countdown bar and setup QR code.

How to use TOTP 2FA Code Generator

  1. 1

    Paste a Base32 2FA secret key or an otpauth://totp/ URI (or generate a fresh secret).

  2. 2

    Confirm digits (6 or 8), time step (30s or 60s), and HMAC hash algorithm (SHA-1, SHA-256, or SHA-512).

  3. 3

    Copy the active code, preview the next window’s code, or scan the generated QR code into a mobile authenticator.

Frequently asked questions

Why might my TOTP code differ from another device?

TOTP depends on accurate UTC system time; make sure your device clock is automatically synchronized.

Does TOTP 2FA Code Generator save my secret key?

No. Your secret stays only in active browser memory and is cleared when you leave or reload the page.

Which authenticator apps are compatible with the generated QR code?

Any RFC 6238 compatible app (such as Google Authenticator, 1Password, Bitwarden, or Authy) can scan the standard otpauth:// QR code.