Random Number Generator

Secure random numbers in any range, with or without repeats.

About the Random Number Generator

Generate one or many random numbers between any minimum and maximum. Choose whole numbers or decimals, allow or prevent duplicates and sort the results. Numbers come from the cryptographically secure Web Crypto API.

How to use it

  1. Set the minimum and maximum.
  2. Choose how many numbers and whether duplicates are allowed.
  3. Press Generate.

Formula & method

Uniform integer = min + secureRandom(max − min + 1) (rejection sampling, no modulo bias)

Frequently asked questions

Are these numbers truly random?

They come from crypto.getRandomValues, a cryptographically secure pseudo-random generator seeded by your operating system — suitable for draws, games and sampling.

Results are estimates for general information only and are not financial, tax, legal or medical advice. Please confirm important decisions with a qualified professional.