代码、数据与二维码工具

OTP生成器

按参数生成OTP结果。

优先本地处理无需注册隐私说明 ↗

Choose 4–32 characters.

Generate up to 50 at once.

Generated locally with the browser’s cryptographically secure random number generator. Do not use this for TOTP or HOTP verification.

使用步骤

如何使用

  1. Choose the code length, character set, and number of codes.
  2. Generate the passcodes with your browser’s secure random number generator.
  3. Copy the results when you are ready to use them.

Private by default

Generation happens in your browser with crypto.getRandomValues. The codes are not sent to this site or saved after you leave the page.

OTP versus authenticator codes

This tool creates random one-time passcodes. It does not implement time-based or HMAC-based verification, so it cannot replace a TOTP authenticator or delivery service.

常见问题

你可能还想知道

Are the generated codes secure?

The random selection uses the browser Web Crypto API and avoids modulo bias. Protect the generated code like any other secret.

Does this create TOTP codes?

No. It generates random passcodes; it does not accept a secret key or calculate time-based authenticator codes.

Are codes stored or uploaded?

No. Generation and copying happen locally in your browser.

How many codes can I create?

You can generate up to 50 codes at once, with lengths from 4 to 32 characters.