RevealTheme logo

Trình tạo mã QR cho 2FA

Tạo mã QR TOTP cho Google Authenticator, Authy, 1Password và các ứng dụng 2FA khác.

Cách sử dụng công cụ này

  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.

Trình tạo mã QR cho 2FA là gì?

Các ứng dụng xác thực hai bước quét một URI otpauth://, được mã hóa thành mã QR, để thiết lập mật khẩu một lần dựa trên thời gian (TOTP, RFC 6238). Công cụ này dựng URI từ tên dịch vụ, mã định danh tài khoản và một secret Base32, rồi hiển thị nó dưới dạng mã QR có thể quét được.

Các trường hợp sử dụng phổ biến

  • 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.

Câu hỏi thường gặp

Secret có được gửi đi đâu không?
Việc hiển thị mã QR sử dụng một dịch vụ bên ngoài (api.qrserver.com). Để đảm bảo an toàn tối đa, chỉ dùng nó với các secret thử nghiệm; đối với việc thiết lập 2FA trong môi trường production, hãy dùng cách tạo phía máy chủ.

Công cụ liên quan