Live tool · CSPRNG

Random String Generator

Tokens, IDs, salts and test fixtures — generated with crypto.getRandomValues() in your browser. Pick a charset, a length, and a batch size.

32

Generated locally — nothing leaves your browser.

What these are for

  • Test fixtures and sample data
  • Non-guessable IDs (128-bit Base64URL ≈ UUIDv4 strength)
  • Salts and one-time setup values

Building production secrets? API keys and session tokens should be generated by your server-side CSPRNG and stored hashed. This tool is for convenience and testing — by design it shows values on screen.