Random Number Generator
Generate random integers or decimals with options for uniqueness, quantity, precision and sorting. Ideal for tests, sampling, draws and games.
Generated Values
—
Quantity
0
Range
—
Full List
About this generator
This tool produces random values in a user-specified range. Choose integer or decimal output, set precision for decimals, request unique values (no duplicates), and sort results as needed. Use the copy or download buttons to export your list.
How randomness works
The generator uses JavaScript's `Math.random()` as the entropy source. For unique integer lists, the tool will sample without replacement. For large counts of unique integers close to the range size, ensure that quantity ≤ (max − min + 1).
Use cases
- Lottery-style draws and sampling
- Mock data and testing
- Randomized experiments and selections
Frequently Asked Questions
No — this uses the standard browser RNG (Math.random()). For cryptographic needs use a secure source.
Enable 'Unique values' and ensure the quantity does not exceed the range size (max − min + 1).
Yes — set Type to 'Decimal' and choose the desired precision. Extremely high precision may not be useful due to floating point limits.