Skip to content
Convertto

Random Number Generator

Generate random numbers in any range, with optional uniqueness — for draws and sampling.

To generate random numbers, set a minimum, maximum and how many you want. Values are drawn from the browser's cryptographically secure random source rather than Math.random, and the no-repeats option guarantees distinct values for draws and sampling.

Runs in your browser
Privacy
Runs entirely in your browser — nothing is uploaded
Cost
Free, unlimited, no sign-up

Frequently asked questions

Is this suitable for a lottery or a giveaway?

It uses the browser's cryptographic random source, so the numbers are unpredictable and uniformly distributed. For anything with legal or financial consequence, a documented and auditable process matters more than the generator itself.

What is the difference between Math.random and crypto random?

Math.random is fast but predictable — observing a few outputs can reveal the internal state and therefore all future values. Cryptographic randomness draws from the operating system entropy pool and cannot be predicted.

How to use the random number generator

  1. 1Set the minimum.
  2. 2Set the maximum.
  3. 3Set the how many.
  4. 4Turn "No repeats" on or off as needed.
  5. 5Turn "Sort ascending" on or off as needed.
  6. 6The result appears immediately — copy or download it.

Embed this tool

Put the working random number generator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.

Share this tool

Last updated

More calculators