Random Number Generator
Draw whole numbers from an inclusive range with the browser's random source.
About this tool
Each draw uses crypto.getRandomValues and keeps the result inside the inclusive range. Unique mode skips a value that was already drawn.
A count above 1000, or a maximum below the minimum, is rejected.
How to use it
- Enter the minimum, the maximum, and how many numbers you want.
- Turn unique mode on when repeats are not allowed.
- Generate. The count must be from 1 to 1000.
Limitations
- Unique mode refuses a count larger than the inclusive range.
- The values are whole numbers from crypto.getRandomValues. This is not a dice roller with a picture.
Whole numbers, with a unique-mode ceiling
The draw
Minimum, maximum, and count must be whole numbers. The maximum must be at least the minimum, and the count must sit between 1 and 1000. The span is maximum minus minimum plus one, so both ends are included. Each pick reads a 32-bit value from crypto.getRandomValues, folds it by the span, then shifts by the minimum. Unique mode remembers picks in a set and tries again when it repeats. If the count is larger than the span, unique mode throws, because the pigeonhole is real. Without unique mode the same integer can appear twice, and the count may exceed the span.
A remainder tilt remains unless the span shares all the factors of 4294967296. A span of 6, or of 10, is not a perfect die. For casual fixtures that is the implementation. It is not a promise of an unbiased statistical sample. The source is still the crypto random generator, not a time-seeded Math.random call.
What you get back
The integers are printed one per line. They are not a password, not a UUID, and not a float. Decimal places are a different page, which quantizes a range into a million steps and then rounds for display. This page never emits a fraction. It does not shuffle a list you typed. The random-choice page does that, one line at a time. It does not deal cards from a deck with suits. You would have to encode the deck as integers yourself.
Outside the integer fixture
A short draw is a poor cryptographic key. You get small integers from a range you set, written out for you to copy. Unique mode is a poor shuffle of an entire database. The cap is 1000 values. After a refresh the page has forgotten the previous draw and will not avoid it. Unique applies only inside the current count. A non-integer in any field, or a minimum above the maximum, throws before any number is kept. Fix the fields. The generator will not guess a range for you beyond the numbers you entered.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

