← All Tools

Random Number Generator🔒 100% local

Generate random integers or decimals with customizable range, count, sorting, and duplicate options.

Min Value
Max Value
Count
Type
Decimal Places
Sort Order
Allow duplicates

Related Tools

UUID GeneratorPassword GeneratorShuffle Text

Draws whole numbers or decimals from a range using Math.random. You set the minimum, maximum and how many values you want, choose integers or decimals with up to ten decimal places, decide whether repeats are allowed, and optionally sort the results. The comma-separated list is assembled in the page and can be copied.

How to use it

  1. Set Min, Max and Count - count accepts 1 to 10000.
  2. Choose Integers or Decimals, tick Allow duplicates if repeats are fine, and pick a sort order.
  3. Press Generate, then Copy Output to take the list elsewhere.

Worked example

min 1, max 6, count 5, no duplicates, ascendingbecomes2, 3, 4, 5, 6

One actual run. Every draw is an independent Math.random call, so rerunning gives a different set - the numbers are not seeded from anything you can reproduce.

min 1, max 3, count 5, no duplicatesbecomes1, 2, 3

Only three values came back because the range holds three integers and repeats were disallowed. Three consecutive runs each returned exactly these three numbers, with no warning that the request was impossible.

When to use it

What it does not do