Skip to main content

OTP Generator

Generate one-time passwords (TOTP/2FA codes) online for free. Compatible with Google Authenticator.

Compatible with Google Authenticator, Authy, and all TOTP 2FA apps. Your secret key never leaves your browser.

About This Tool

Generate time-based one-time passwords (TOTP) compatible with Google Authenticator and other 2FA apps. Enter your secret key to generate the current 6-digit code.

How to Use

  1. Enter Secret

    Paste your Base32 TOTP secret key.

  2. View Code

    See the current 6-digit OTP code and time remaining.

  3. Copy

    Copy the code to use for 2FA login.

Use Cases

2FA Testing

Test and verify TOTP codes for your authentication setup.

Frequently Asked Questions

Is my secret key safe?

Yes. Everything runs locally in your browser. Your secret key is never sent to any server.

Sawbank

Free Tools for Tech Professionals — Part of Sawbank

Security

  • Client-side processingFiles never leave your device
  • No file uploads100% private & secure

Compliance

GDPR Compliant
100% Private - Files never leave your device
Select Language

© 2026 Sawbank. All rights reserved.