otp generator

How to generate OTP / TOTP codes online

TOTP produces 6-digit codes every 30 seconds from a shared Base32 secret. In development you need a quick local generator for staging MFA.

Open OTP / TOTP Generator

Dev vs production

Authenticator apps protect real accounts. localStorage is convenient for staging, not a hardened vault. Don’t store production MFA in web tools.

Using LedaTools OTP

Paste or generate a Base32 secret, label the account, and copy live codes. You can also copy an otpauth URI.

Defaults

SHA-1, 6 digits, 30s period—compatible with most apps and libraries.

System clock

TOTP depends on the clock. If codes fail, sync the device time.

Secret security

The Base32 secret is as sensitive as a password. Treat it the same in logs and tickets.

FAQ

Is this a Google Authenticator replacement?

No. It is for development/testing, not production MFA.

Where are secrets stored?

Optionally in this browser’s localStorage.

What algorithm?

Standard TOTP (SHA-1, 6 digits, 30s).

Related guides

Open the tool