Number & Math

Random Number Generator

Generate random integers or decimal numbers in any range. Choose quantity, allow or prevent duplicates, and sort the output.

Free Client-Side No Sign-Up Nothing Stored
Min
Max
Quantity

What This Tool Does

Generates random numbers in any range using crypto.getRandomValues(). Supports integers or decimals, unique output, sorted results, and up to 1,000 numbers at a time.

Frequently Asked Questions

Is the output truly random?
The generator uses crypto.getRandomValues() — the browser's cryptographically secure random number generator. This is far stronger than Math.random() and suitable for most applications requiring randomness. It is not designed for cryptographic key generation, where dedicated tools should be used.
What does "no duplicates" do?
When enabled, each number in the output appears at most once. Note that if you request more numbers than the range allows (e.g. 20 unique numbers between 1 and 10), the quantity is capped at the range size.
Can I generate decimal numbers?
Yes — enable the Decimal option and set your desired number of decimal places. Decimal mode always allows duplicates since exact repetition is extremely unlikely with floating point values.