Secure Random String Generator

Generate secure random strings, API keys and tokens with your choice of length and characters, using the browser's crypto. Free.

Random strings
191 bits of entropy each

How to use Secure Random String Generator

  1. Choose characters, hex or Base64.
  2. Set the length and how many you need.
  3. Copy or download — press Regenerate for new ones.

Good to know

  • Aim for at least 128 bits of entropy for secrets and session tokens.

Privacy

Runs entirely in your browser. Nothing you enter or open here is uploaded.

Questions

Is it really random?

Yes. It uses the browser's cryptographic random generator (crypto.getRandomValues) with no modulo bias, suitable for API keys and tokens.

Related tools