Skip to content
Jellykit

2FA Secret Key Generator

Generate a random Base32 TOTP secret with an otpauth URI and a scannable QR code for Google Authenticator or Authy. Built for developers testing 2FA. Free.

Runs in your browser. Nothing is uploaded.

About 2FA Secret Key Generator

2FA Secret Key Generator creates what a server hands a user when they turn on two-factor authentication: a random Base32 secret, the otpauth://totp/ URI that encodes it with your issuer and account name, and a QR code an authenticator app can scan.

The default 160-bit secret matches RFC 4226's recommendation and what most services issue. Scan the QR code with your phone, then check the codes against the TOTP Generator to confirm your implementation agrees.

How to use 2FA Secret Key Generator

  1. Set the options you want.
  2. Your result is generated straight away. Press Generate again for a new one.
  3. Copy the result with one click.

Frequently asked questions

What is the issuer for?

Authenticator apps show it next to the account name, so users know which service a code belongs to.

Is the QR code generated locally?

Yes. The qrcode library draws it in your browser; the secret is never sent to a QR service.

Is 2FA Secret Key Generator free and private?

Yes. 2FA Secret Key Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all security tools →