What this tool does
This generator produces random whole numbers between your chosen minimum and maximum (inclusive). It uses the browser's cryptographically secure random source with unbiased selection, so results aren't skewed toward any value — suitable for draws, sampling, test data and games.
Options
- How many — generate a single number or a whole list at once.
- No repeats — draw unique values, like picking lottery numbers (the range must be large enough).
Example
Min 1, max 6, count 2 simulates rolling two dice. Min 1, max 49, count 6, unique picks a lottery line.
Secure vs. pseudo-random
Everyday Math.random() is predictable and not for security. This tool uses crypto.getRandomValues, which is suitable when unpredictability matters.