Skip to content
Local

Security

TOTP Code Generator

Show live two-factor codes from a TOTP secret key or otpauth link, for testing.

Runs in your browser. Nothing leaves this device.

Open TOTP Code Generator

Free, no account, no watermark and no daily limit.

Open TOTP Code Generator

How to use TOTP Code Generator

  1. 1Paste the Base32 secret or the otpauth:// link.
  2. 2Check the digits, period and algorithm match your setup.
  3. 3Copy the current code before the ring runs out.

Questions

Is my secret sent anywhere?

No. The secret never leaves the page. Codes are made in your browser with WebCrypto.

Can I use this as my authenticator?

Use it for testing. Keep a proper authenticator app as your main 2FA device, because this page forgets the secret when you close it.

Why don't my codes match?

Check the period, digits and algorithm, and that your device clock is right. Codes change every 30 or 60 seconds.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc