Skip to main content

OTP Code Generator

Generate and verify TOTP/HOTP one-time passwords. Outputs QR codes compatible with Google Authenticator.

OTP Code Generator

Share this tool
📖

How to Use

Step 1

Enter Secret Key

Enter Secret Key

Enter an OTP secret key (Base32) or generate a new one

Step 2

Adjust OTP Settings

Adjust OTP Settings

Adjust settings like digit count, algorithm, and update interval

Step 3

Use OTP Code

Use OTP Code

Copy the generated one-time password for authentication

Features

TOTP & HOTP Support

Supports both time-based (TOTP) and counter-based (HOTP)

QR Code Generation

Generate QR codes compatible with Google Authenticator and others

Real-Time Update

Display TOTP countdown timer with auto-refresh

FAQ

TOTP is time-based, changing every 30 seconds. HOTP is counter-based, changing each time the counter increments.