Random Number Generator

Generate random numbers in any range, with decimals and no repeats — free online RNG.

Options

About

About the Random Number Generator

Generates one or more random numbers between a minimum and maximum, with options for decimals, no repeats and sorting.

Teachers use it to pick random numbers for worksheets and raffles use it to draw random ticket numbers without repeats, while researchers use it for quick random sampling. It's one of many free generators on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.

Choose what to view about this tool

Guide

Using the Random Number Generator

  1. 1

    Step 1

    Enter the minimum and maximum of the range.

  2. 2

    Step 2

    Enter how many numbers to generate, and how many decimal places (0 for whole numbers).

  3. 3

    Step 3

    Optionally turn on "No repeats" (whole numbers only) or "Sort results".

  4. 4

    Step 4

    Click "Generate" to see the numbers, then "Copy" to copy them, or "Clear" to start over.

  • Uses the browser's cryptographically secure random source (crypto.getRandomValues), not a predictable formula
  • Generates up to 1,000 numbers at once, as whole numbers or with up to 10 decimal places
  • "No repeats" option draws each whole number at most once, and tells you if the range can't fit that many
  • "Sort results" option arranges the output from smallest to largest
  • Works with any minimum and maximum, including negative numbers
  • Works entirely in your browser — no installs and no sign-up
  • Free to use, with no limit on how many times you run it
  • Fully responsive, so it works just as well on a phone as on a desktop

Teachers

Teachers use the Random Number Generator for picking random numbers for worksheets, quizzes and classroom games.

Raffle and giveaway organizers

Raffle and giveaway organizers use the Random Number Generator's no-repeats option for drawing unique ticket or entry numbers.

Researchers and statisticians

Researchers and statisticians use the Random Number Generator for quick random sampling from a numeric range.

Game masters and hobbyists

Game masters and hobbyists use the Random Number Generator for on-the-fly random values in games and puzzles.

Examples

Random Number Generator examples

3 worked examples

01

Whole numbers in a range

Set Minimum to 1, Maximum to 100, How many to 5 and Decimal places to 0 to get results like 17, 84, 3, 56 and 42.

02

Decimals for a formula

Set Minimum to 0, Maximum to 1 and Decimal places to 4 to get results like 0.2871, 0.9034 and 0.1156.

03

Unique raffle numbers

Set Minimum to 1, Maximum to 50, How many to 10 and turn on "No repeats" to draw 10 distinct whole numbers with none appearing twice.

FAQ

Frequently asked questions

Quick answers to common questions about the Random Number Generator.

What does the Random Number Generator do?

It generates one or more random numbers between a minimum and maximum you set, as whole numbers or with decimal places.

Is the Random Number Generator free to use?

Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.

Is my input safe when I use this tool?

Yes. Every number is generated entirely on your own device — nothing is sent to a server.

Are the numbers cryptographically secure?

Yes. They're generated with your browser's crypto.getRandomValues API, not Math.random() or another predictable formula.

What does "No repeats" do?

It draws each whole number in the range at most once, so no value appears twice in the results — it only works with 0 decimal places.

Why did I get an error about the range being too small?

"No repeats" can't generate more unique whole numbers than actually exist in your chosen range — widen the range or ask for fewer numbers.

Can I use the Random Number Generator on my phone?

Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.

Does the Random Number Generator have any limitations?

It generates up to 1,000 numbers per batch, with up to 10 decimal places, and "No repeats" only applies to whole numbers.

Still have a question? Contact us

Report a problem

Random Number Generator

What went wrong?
    or paste a screenshot