Random Number Generator

Fair random numbers in any range.

Random Number Generator picks numbers in a range you set, one at a time or many at once, with or without repeats. It draws from crypto.getRandomValues and uses rejection sampling so every value in the range is equally likely — the modulo shortcut most generators use is subtly biased.

Loading Random Number Generator…

Runs entirely on your device. No file or text you enter here is uploaded. How to verify it.

How to use Random Number Generator

  1. Set the minimum, maximum and how many numbers.
  2. Choose whether repeats are allowed.
  3. Generate, and copy the result.

Questions about Random Number Generator

What makes it unbiased?
Rejection sampling. Taking a random 32-bit value modulo your range makes the lowest values slightly more likely, because the range rarely divides evenly. Values that would land in the uneven tail are discarded and redrawn instead.
Is it good enough for a prize draw?
The randomness is cryptographic, so yes, mathematically. For anything where fairness must be provable to others, publish your method and let participants verify it — no black box, including this one, is evidence on its own.
Can I get numbers without repeats?
Yes. Unique mode draws a set without replacement, which is what a lottery or a raffle needs.
How many numbers can I draw at once?
Up to 10,000 in a single batch. In unique mode the count cannot exceed the size of the range, since drawing without replacement runs out of values — ask for 50 unique numbers between 1 and 20 and there is nothing left to draw.
Can I use it to pick a giveaway winner?
Yes — number the entrants and draw in unique mode so nobody comes up twice. For a public draw, announce the method beforehand or record the screen; a number on its own is not evidence of fairness to anyone who did not watch it happen.
Is Random Number Generator really free, with no limits?
Yes. There is no account, no daily cap, no file-size tier and no watermark, because there is no server cost to recover. The site is funded by clearly disclosed partner recommendations on the Partners page, never by metering the tools.
Are my files or text uploaded when I use Random Number Generator?
No. Everything is processed by JavaScript running in your browser, on your device. You can verify it: open your browser's developer tools, switch to the Network tab, and use the tool. You will see no request carrying your data — because there is nowhere for it to go.