Random Number Generator
Produce random integers within any range using the browser's crypto API. Set the minimum, maximum and how many to generate (up to 1000), require unique values, and optionally sort the output. Results are validated for feasibility and easy to copy.
Examples
Min 1, Max 100, count 5, unique
7, 23, 41, 58, 92
How it works
Numbers come from the browser’s cryptographic random source, not from a simple formula. The tool also discards any draw that would favour the low end of your range, so every whole number between the minimum and maximum, both included, is equally likely.
| For | Min | Max | How many | Options |
|---|---|---|---|---|
| A dice roll | 1 | 6 | 1 | — |
| A coin flip | 0 | 1 | 1 | — |
| Lottery-style pick | 1 | 49 | 6 | Unique values, sorted |
| Order for 10 people | 1 | 10 | 10 | Unique values |
You can draw up to 1,000 numbers at once. With “Unique values only” on, you cannot ask for more numbers than the range holds: 20 unique numbers from 1 to 10 is reported as not possible. Results are whole numbers; decimals are not generated.
How to use Random Number Generator
Why use this tool
Frequently asked questions
Set the minimum to 1 and the maximum to 100, then choose how many numbers to generate. The tool uses crypto.getRandomValues for secure randomness.
Enable unique mode and choose a count that is no larger than the size of the range. This draws distinct values without duplicates.
Yes. It uses the browser's crypto.getRandomValues API and rejection sampling to avoid modulo bias, producing unpredictable, uniformly distributed integers.
Yes. Use the unique values option and keep the range equal to the number of entries for fair, transparent drawings.
Use unique mode with count set to 10 and make sure the range has at least 10 values. The tool will return 10 distinct numbers.
Found a bug or have an idea?
ToolOrbit is actively developed — feedback directly shapes what gets built next.
Send feedback