How to use it
- Enter the minimum and maximum integer values.
- Choose how many numbers to generate.
- Allow duplicates or require every generated value to be unique.
Search by tool name or category.
No tools found.
Generate random integers within any range.
Generate up to 100 random integers from an inclusive range for drawings, test data, classroom activities or unbiased selections.
The generator uses crypto.getRandomValues and rejection sampling to avoid modulo bias. Both the minimum and maximum values can be selected.
When duplicates are disabled, the requested quantity cannot exceed the number of integers in the range. For example, 1 through 5 can provide at most five unique results.