Calculators

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

Input
Min 1, Max 100, count 5, unique
Output
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.

Common setups
ForMinMaxHow manyOptions
A dice roll161—
A coin flip011—
Lottery-style pick1496Unique values, sorted
Order for 10 people11010Unique 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

Define the range
Enter the minimum and maximum values for your random numbers.
Set the count and options
Choose how many to generate and toggle unique-only or sorted output.
Copy the results
Numbers appear in the list with a summary; copy or download them.

Why use this tool

Cryptographically secure (crypto API)
Unique values option
Optional ascending sort
Range and feasibility validation

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