LiteConv

/

OTP Code Generator

Generate and verify one-time passwords.

TOTP Generate Result

PreviousCurrent OTPNext

TOTP Key URI QR Code

Check OTP configuration before comparing codes

Worked example

Choose TOTP for time-based codes or HOTP for a counter-based sequence. Use a disposable Base32 secret, select the same algorithm and digit count as your test authenticator, and compare codes within the same time window or counter value. For TOTP, both clocks need to agree.

What to check

A shared OTP secret and its provisioning QR are equivalent to a credential; never expose a real account secret. Codes can differ at a time-window boundary, after a counter advances or when algorithm, digit count or period differs. A production server must also enforce replay protection and rate limits.