Skip to content
Yunedia Tools

Random Number Generator

Generate random integers or decimals in any range using the Web Crypto API, with no-duplicate and sort options.

How to use

  1. Enter how many numbers you need (1–100) and the minimum and maximum.
  2. Choose integers or decimals; for decimals, set the number of decimal places.
  3. Decide whether duplicates are allowed and whether to sort the results ascending.
  4. Press Generate, then copy the results with one click.

Notes

Numbers are drawn with the Web Crypto API (crypto.getRandomValues) using rejection sampling, so every value in the range is equally likely. Results are never sent to a server and disappear when you leave the page. No draw here can guarantee a lottery win or any other outcome.

FAQ

How does the no-duplicates mode work?
Values are drawn until the requested count of distinct integers is reached, so the count cannot exceed the number of integers in the range. If it does, an error is shown instead of looping forever.
Are decimals really uniform?
A 53-bit random value is mapped onto the [minimum, maximum) interval, which is uniform for practical purposes. In decimal mode the exact maximum itself is never produced.