RevealTheme logo

2FA QR Code 產生器

為 Google Authenticator、Authy、1Password 及其他 2FA 應用程式產生 TOTP QR Code。

如何使用本工具

  1. 1

    Type the service name into the first field (this becomes the issuer label, e.g. RevealTheme).

  2. 2

    Enter the account identifier, usually the user's email or username.

  3. 3

    Paste an existing Base32 secret, or click Random to generate a fresh 32-character one with crypto.getRandomValues.

  4. 4

    Scan the QR code that appears below with your authenticator app, or copy the otpauth:// URI shown under it.

什麼是 2FA QR Code 產生器?

兩步驟驗證應用程式會掃描以 QR Code 形式編碼的 otpauth:// URI,以設定以時間為基礎的一次性密碼(TOTP,RFC 6238)。本工具會根據服務名稱、帳戶識別碼和 Base32 金鑰建構該 URI,然後將其轉譯為可掃描的 QR Code。

常見使用場景

  • Demoing a 2FA enrollment flow in a tutorial, slide deck, or product screenshot without wiring up a real backend.

  • Generating a test TOTP secret while developing or QA-testing a login system that uses standard SHA1/6-digit/30-second codes.

  • Re-encoding a Base32 secret you already hold (for example from a recovery backup) into a fresh scannable QR.

  • Teaching teammates how the otpauth:// Key URI Format is structured by showing the URI printed beneath the QR.

  • Quickly checking whether an authenticator app accepts the default TOTP parameters before committing to a server-side library.

  • Creating a throwaway 2FA setup for a sandbox or staging account where the secret does not protect anything sensitive.

常見問題

金鑰會被傳送到任何地方嗎?
QR Code 的轉譯使用了外部服務(api.qrserver.com)。為獲得最高安全性,請僅將其用於測試金鑰;對於正式環境的 2FA 設定,請使用伺服器端產生。

相關工具