代码、数据与二维码工具

令牌生成器

按参数生成令牌结果。

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

Choose 4–256 characters.

Generate up to 50 values.

Character set

Symbols use a practical URL and configuration-safe set: -_.

使用步骤

如何使用

  1. Choose a token length, batch size, and the character groups to include.
  2. Generate your tokens with the browser’s cryptographically secure random number generator.
  3. Copy the newline-separated results and store them in your password manager or secret store.

Useful for everyday secrets

Generate temporary API keys, invitation codes, webhook secrets, and local development values without a server request. The symbols option stays limited to - _ and . so copied tokens work well in URLs and configuration files.

Browser cryptography, clear boundaries

The page uses crypto.getRandomValues and rejection sampling to avoid modulo bias. Results exist only in this page until you copy them; this tool does not store, validate, revoke, or manage credentials. For production secrets, follow your platform’s secret-management and rotation practices.

常见问题

你可能还想知道

Are the tokens secure?

They use the browser Web Crypto API for random bytes, which is appropriate for generating unpredictable values. Keep generated secrets private and use a dedicated secret manager for production.

Can I use these as passwords?

Yes, when the selected length and character set meet the target service’s rules. A password manager is usually better for creating and storing personal passwords.

Are my tokens uploaded?

No. Generation happens locally in your browser, and this page does not send the values to a server.

What does the symbols option include?

It includes hyphen, underscore, and period. This small set avoids common escaping issues in URLs, environment files, and command line examples.