Skip to content

TOTP / 2FA Code Generator

Codes from a secret or QR

Generate two-factor (TOTP) codes from a base32 secret, an otpauth:// link or a QR code image. Computed locally with Web Crypto.

No uploads

TOTP / 2FA Code Generator — Generate two-factor (TOTP) codes from a base32 secret, an otpauth:// link or a QR code image. Computed locally with Web Crypto. Free on ToolWand: no sign-up, no watermark, works offline.

How to use TOTP / 2FA Code Generator

  1. 1Open TOTP / 2FA Code Generator. It runs in your browser, no sign-up.
  2. 2Drop your file here or choose it. It stays on your device; nothing is uploaded.
  3. 3Adjust the options until the preview looks right.
  4. 4Download the result.

About TOTP / 2FA Code Generator

TOTP / 2FA Code Generator makes two-factor codes from a base32 secret, an otpauth:// link or a QR code image, with configurable digits, period and algorithm, using Web Crypto in your browser.

When to use it

  • Test 2FA during development.
  • Get a code when you have the secret but not your phone.
  • Check that a 2FA setup produces the right codes.

Tips

  • If codes are rejected, check your device clock; TOTP depends on accurate time.
  • Nothing is saved; treat the secret like a password and use a trusted device.

Questions

Is it safe to paste my 2FA secret here?

The code is computed in your browser with Web Crypto HMAC. The secret is never stored or sent. Still, treat a 2FA secret like a password and only use this on a device you trust.

Why is my code rejected?

TOTP depends on the clock. Make sure your device time is correct, and check the digits, period and algorithm match what the service uses (most use 6 digits, 30 seconds, SHA-1).

Can it read the QR code a site shows me?

Yes. Take a screenshot of the setup QR code and drop or paste it here; the otpauth:// link inside is decoded on your device.

More tools