Home / Generators / Random Number Generator

Random Number Generator

Minimum, maximum, count and decimals, with switches for no repeats, sorting and CSV output.

Random Number Generator — Runs locally

Range & Count

How to use

Using this tool

Random Number Generator draws random numbers inside a range, with control over how many, how many decimals and whether repeats are allowed. All of the work on Random Number Generator happens in this tab, so the values you enter or the files you open never travel to a server.


Controls on this page

Random Number Generator gives you Minimum, Maximum, How many, Decimals, No duplicates, Sort ascending, Show sum & average and CSV format. The options listed below the input on Random Number Generator are the ones that change how the output is produced, and every one of them applies to a single run.


  • Minimum 1.
  • Maximum 100.
  • Count 1.
  • Decimals 0.
  • Optional no-duplicate and sort switches.

How to use Random Number Generator

  1. Type or paste your content into the input box at the top of Random Number Generator.
  2. Pick the action on Random Number Generator that matches the job, for example Minimum.
  3. Press Generate on Random Number Generator and read the answer in the separate output box.
  4. Copy the finished text from Random Number Generator, then clear the boxes before starting the next one.

A worked example

Ask for five whole numbers between 1 and 100 and the page returns values such as 17, 42, 8, 63 and 91, with a sum and average when that option is enabled.


A closer look at Random Number Generator

The default range is 1 to 100 with one whole number, so the page is ready to draw immediately. No duplicates only works when the range can supply enough distinct values for the count. Decimals sets the number of digits after the point and therefore the granularity of each draw.

Sort ascending arranges the values after they are drawn, which keeps a list easy to read. The sum and average panel is useful when the numbers stand in for a sample.


Putting Random Number Generator to work

Random Number Generator takes Minimum, Maximum, How many, and Decimals, which start at 1, 100, 1 and 0. Decimals above zero allow fractional results, so a range of 1 to 100 with two decimals can return 42.37.

The switches add No duplicates, Sort ascending, Show sum and average, and CSV format to the same run. No duplicates is only practical while the count stays below the size of the range, since each value may appear once.


Where Random Number Generator helps

  • Picking a lottery-style draw.
  • Sampling rows for a spot check.
  • Generating test values for a form.

Precision and limits

  • The default range is 1 to 100 with a single whole number, so the page is ready to draw immediately.
  • No duplicates only works when the range can supply enough distinct values for the requested count.
  • Decimals sets the number of digits after the point and therefore the granularity of each draw.

Frequently asked questions

Can I avoid repeated numbers?

Yes, tick No duplicates; the range must be wide enough to supply the count you ask for.

How do decimal results work?

The Decimals field sets how many digits follow the point, with zero giving whole numbers.

Can I sort the output?

Yes, Sort ascending arranges the values before they are shown.

What does the extra panel show?

With Show sum and average enabled, the total and mean of the drawn values are listed.