Random Number Generator: Secure Integer Ranges

Generate random integers within any range, control batch size and prefer Web Crypto for cryptographic strength—ideal for raffles, test data and verification codes.

Usage Suggestions

Pick the right random source and count for each scenario to keep results fair and reproducible.

  • Enable the secure source for raffles, verification codes or any case where predictability matters.
  • Copy the batch results into spreadsheets or scripts to prepare test datasets quickly.
  • If you need repeatable sequences, record the parameters and control the seed in external scripts.

Runs entirely in the browser—no hardware entropy is accessed, only Web Crypto or Math.random().

Execution ModeRuns entirely in the browserPrefers Web Crypto for randomness so no remote entropy is needed.