Random Number Generator
Free online random number generator: set min, max and count to produce integers, unique draws or decimals with a fixed precision, powered by a cryptographic source for draws and codes.
How to Use
- Set range and count
Enter the minimum, maximum and how many numbers you need (1–10000).
- Choose a mode
Tick 'No duplicates' for unique draws, or 'Allow decimals' and pick the precision for simulated data.
- Generate and copy
Click 'Generate'; the panel reports the actual count and observed range, and the list copies in one click.
FAQ
Is the randomness real?
It uses crypto.getRandomValues with rejection sampling to remove modulo bias — good enough for draws and codes, weaker than hardware TRNG but far better than Math.random.
How many unique values can I get?
No more than the number of integers in range. For 1–10 the maximum is 10 unique values; beyond that the tool reports the range is too small.
Can it produce decimals?
Yes — tick 'Allow decimals' and pick 1–4 places. Decimals cannot be combined with 'no duplicates' (floats rarely repeat and the space is unbounded).
Can I paste the result into Excel?
Yes. The output is one comma-separated line; paste it and use Text to Columns, or paste directly into cells.