Skip to main content
HandyWeb

TOTP Code Generator

Make the six-digit two-factor login code (as in Google Authenticator) from the secret key or otpauth link of an account.

Runs on your device.

This key gives access to your account. Do not paste it anywhere you do not trust.

Algorithm
Digits

How to Use It

  1. Paste the Base32 secret key or the otpauth:// link.
  2. Read or copy the current code.

Questions and Answers

Is this tool safe?

Use a two-factor key here only for testing or recovery, and never share it.

Why is the code not accepted?

Most often the device clock is wrong. Sync the clock with the internet. If the service uses another algorithm or digit count, choose it.

Good to Know

Only time-based codes (TOTP), not counter codes (HOTP). The code comes from the clock of this device. This tool does not replace an authenticator app: it does not keep the key.

Source code of this toolReport a problem on GitHub