Random Number Generator

Draw whole numbers inside a range, allow repeats or not, and sort the result before you copy it.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Generate numbers controls

Between 1 and 200.

Whole numbers only. This value can be drawn.

Whole numbers only. This value can be drawn.

Every value in the result is different. The range must hold at least as many whole numbers as you ask for.

Sorting happens after the draw, so it does not change which numbers were picked.

Processed in your browser. Your inputs stay on this device.

Showing a generated example. Generate again for a new result.

How to use Random Number Generator

  1. Set the smallest and largest whole numbers you want in the range.
  2. Choose how many numbers to draw.
  3. Turn on No repeated numbers when every value in the result has to be different.
  4. Set the order, then select Generate numbers and copy the list.

Example: Random Number Generator

Draw six different numbers from a range of one to one hundred.

You add
How many numbers 6, Smallest number 1, Largest number 100, No repeated numbers on, Order Smallest first.
You get
Six different whole numbers from 1 to 100, sorted smallest first and listed one per line. The heading reports the same range and count, and the values themselves change with every draw.

Options

Range
Both endpoints count, so a range of 1 to 100 can produce 1 and 100. Whole numbers only: a decimal, letter or symbol is refused with a message instead of being rounded.
No repeated numbers
Turns the draw into a set of different values. When the range holds fewer whole numbers than you asked for, the request is refused and the message names the largest count that fits.
Order
As drawn keeps the sequence the generator produced. Smallest first and largest first sort those same values afterwards, so sorting never changes which numbers were drawn.

Supported inputs and limits

Whole numbers only, from -1,000,000,000 to 1,000,000,000, with both ends of the range included. One run draws between 1 and 200 numbers. Repeated values are allowed unless No repeated numbers is on, and asking for more different values than the range holds is refused. Values come from the browser's secure random source as whole 32-bit numbers, and the tool cannot replay or reseed an earlier draw, so copy the result if you need it later. Nothing in the form is uploaded and nothing is stored on the server.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

How the numbers are drawn

Every value comes from crypto.getRandomValues, the browser's secure random source. A range rarely divides the 4,294,967,296 possible 32-bit values exactly, and taking a remainder would make the low numbers slightly likelier than the rest. The tool instead throws away the values above the last complete block and draws again, so each number in your range has the same chance before the result is printed.

What this tool leaves out

There is no seed box, because reproducible output from a short seed needs a weaker generator than the one the browser already provides. There is no replay either: a second run draws again from scratch. That keeps the promise simple, which is why the result panel asks you to copy a list you intend to keep.

Questions about Random Number Generator

Can I use this for a giveaway or a prize draw?

The draw comes from the browser's secure random source and discards the values that would bias it, so the numbers are picked evenly. Even so, nothing here is audited, witnessed or certified by a third party. For a draw that has to stand up to questions, keep the result, record how it was made, and agree the process with the people taking part before it runs.

Why did the same number appear twice?

Repeats are allowed by default and every draw is independent, so a value can come up more than once inside one run. Turn on No repeated numbers when each value in the result has to be different.

Can I draw decimal numbers?

No. The tool draws whole numbers, and 1.5 is refused rather than rounded, so the range stays exactly what you typed. Multiply the range by ten or a hundred and divide the result yourself if you need one decimal place.

Will I get the same numbers again if I reload?

No. Each run draws fresh values and nothing is seeded or remembered between visits. Copy or download the list before you leave the page if the numbers matter.

Project manager: Tony Hines · Content updated 29 September 2026 · Report a problem