2FA Code Generator

Generate TOTP 2-step verification codes from your authenticator secrets.

Free Online 2FA Code Generator

Paste your TOTP secret keys and get current 6-digit verification codes instantly. Dokall supports multiple secrets per batch, optional labels, spaced base32 secrets, and otpauth:// URIs.

Codes refresh automatically every 30 seconds. All processing happens locally in your browser - your 2FA secrets never leave your device.

Frequently Asked Questions

What is TOTP?
TOTP (Time-based One-Time Password) generates 6-digit codes that change every 30 seconds. It is the standard behind Google Authenticator, Authy, and most 2FA apps. Codes are computed from a shared secret key and the current time.
Is it safe to paste my 2FA secret online?
Dokall processes secrets entirely in your browser - nothing is sent to a server. However, any website where you enter a 2FA secret is a risk if the site is compromised. Prefer your dedicated authenticator app for daily use. Use this tool for recovery or testing.
What is a base32 secret key?
Authenticator apps store a random secret encoded in Base32 (letters A-Z and digits 2-7). When you set up 2FA, the service shows this key as text or in a QR code. Dokall accepts the Base32 string directly or an otpauth:// URI.
Why does my code not match the app?
The most common cause is clock drift. TOTP depends on synchronized time. Ensure your device clock is accurate (enable automatic time sync). Also verify you pasted the complete secret with no extra spaces.
Can I generate codes for multiple accounts?
Yes. Add multiple secret keys with optional labels. Each generates its own 6-digit code that refreshes every 30 seconds. Useful for managing backup codes or testing multiple services.