Random Number Generator
Generate one or hundreds of random numbers in any range, with optional decimals, no repeats and sorting - for draws, lotteries, testing and mocks.
Updated September 2026 · Written and verified by Akash Pandey
Random Number Generator
How to use the random number generator
- Set the minimum and maximum of the range.
- Choose how many numbers and how many decimal places.
- Toggle unique (no repeats) and sort as needed.
- Click Generate and copy or download the list.
Frequently asked questions
How random are the numbers?
They use crypto.getRandomValues, the browser's cryptographically secure random source - suitable for lotteries, sampling and testing.
Can I generate decimals?
Yes - choose 0-6 decimal places. With 0 decimals you get integers.
What does "unique" do?
Ensures no number repeats in the output (re-sampled until each is distinct), which is essential for things like a raised-hand draw. An error explains if the range is too small to satisfy a large unique set.
Can I simulate a dice roll or coin flip?
Yes - set min 1, max 6 for a die, or min 0, max 1 with 0 decimals for a coin.
Is the output shareable?
The generated list can be copied to the clipboard or downloaded as a text file.
Are the numbers truly unpredictable?
For practical purposes yes - the source is the operating system's entropy pool. They are, however, reproducible only if captured, so store the output you rely on.
Are numbers generated using cryptographically secure random values?
Yes. The generator uses the browser crypto.getRandomValues() API to ensure cryptographically secure, unbiased numbers.
Can I generate decimal or floating-point numbers?
Yes. You can choose whether to generate whole integers or floating-point numbers with specified decimal precision.