← All tools/Generators/Text/Random Number Generator

Random Number Generator

Pick random numbers in any range you choose, as many as you need, with no sign-up.

Numbers generated

—

How it works

Each number is picked independently, with every whole number
from the minimum to the maximum equally likely.

minimum ≤ each number ≤ maximum

Worked example: with a minimum of 1, a maximum of 10 and a count of 5, you get five numbers, each between 1 and 10 inclusive — a possible set is 3, 7, 1, 10, 4, but every run gives a different set. The range rule is fixed even though the numbers are not: every number satisfies 1 ≤ number ≤ 10.

Frequently asked questions

Are the numbers truly random?

They are picked with the browser’s cryptographic random source, crypto.getRandomValues, so each run is independent and no pattern carries over from the last set.

Can the minimum be larger than the maximum?

No — if you enter a minimum above the maximum, the two ends are swapped quietly, so you still get numbers inside the range you meant.

Does every number in the range have the same chance?

Yes. Each whole number from the minimum to the maximum, inclusive, is equally likely on every single pick.

Can numbers repeat?

Yes. Each pick is independent, so the same number can come up more than once in one set.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.