TOTP Authenticator & 2FA Code Generator

Generate offline RFC 6238 TOTP codes with QR export, countdown ring, and copy-code support.

Tool Guide

TOTP Authenticator & 2FA Code Generator: What It Does

Generates RFC 6238 Time-based One-Time Passwords (TOTP) from Base32 secret keys. It shows real-time countdown progress, verifies authentication codes, and renders otpauth QR codes for mobile authenticators.

Example

Input
JBSWY3DPEHPK3PXP
Output
6-digit code (e.g. 284915) with 30s countdown

Computes HMAC-SHA1 over current 30-second Unix time intervals.

How to Use

  1. Paste a Base32 secret key into the input field.
  2. Inspect the live 6-digit one-time code and progress timer.
  3. Scan the generated QR code with authenticator apps like Google Authenticator or 1Password.

Limitations

  • System clock drift exceeding 30 seconds can cause codes to fail verification on remote servers.
  • Standard authenticators use 30-second periods; non-standard interval keys must be configured manually.

Frequently Asked Questions

How does TOTP keep codes synchronized without communicating with a server?

Both the authenticator and server derive codes from the shared secret and current Unix timestamp, divided into identical 30-second intervals.

What algorithm do most two-factor authenticator apps use?

Most services implement RFC 6238 using HMAC-SHA1 with a 30-second step interval and 6-digit truncation.

Inputs stay in browser memory. No external request is required for this operation, and zero data leaves your device.