Random Number Generator

Pick random numbers between any two values, with an option to draw without repeats.

Runs in your browser. Nothing you type is sent to a server.

How to use Random Number Generator — Free Online, Pick a Range

  1. 1Pick what you want to generate and how many.
  2. 2Set the length or number range, and any formatting options.
  3. 3Copy the whole list, download it as a text file, or press Regenerate for a fresh set.

About Random Number Generator

Most random number tools quietly get the maths slightly wrong. Taking a random value modulo the range size is the obvious approach and it skews the result, because the range rarely divides evenly into the source — the lowest numbers come up marginally more often than the highest.

This generator uses rejection sampling instead: values that would fall into the uneven tail are discarded and redrawn, so every number in your range has exactly the same chance. For a dice roll nobody would notice; for a prize draw it is the difference between fair and not.

The "no repeats" option shuffles the entire range and takes from the top, which is the correct way to draw without replacement.

Frequently asked questions

Is it genuinely random?
It uses your browser's cryptographic random source, which is far stronger than the usual Math.random. Values are also drawn with rejection sampling so every number in the range is equally likely — naive modulo arithmetic quietly biases the low end of a range.
How do I stop the same number appearing twice?
Tick "No repeats". The tool then shuffles the whole range and takes from it, so every value is unique — as long as the range is at least as large as the count you asked for.
Can I use it for a giveaway draw?
Yes. Number your entrants from 1 to however many there are, and draw as many winners as you need with no repeats.
Does it save the numbers anywhere?
No. Nothing is stored or transmitted, so refreshing the page gives a completely fresh draw.
Is it free?
Yes — unlimited use, no sign-up, no watermark and no limit on how many times you run it.