Random Number Generator Online
Generate random numbers in any range, with unique values, decimals and a custom count. Your numbers stay on your device.
The Random Number Generator runs entirely in your browser. The range, count and generated numbers are computed on your device and nothing is uploaded to ArrayKit.
Open the Probability Calculator
About Random Number Generator
Random Number Generator draws one or many random numbers between a minimum and maximum you choose, right in your browser. Set how many numbers you need, turn on unique values to avoid repeats, and add decimal places for fractional results instead of whole numbers. Each draw uses your browser's cryptographic random source, so results are unbiased across the full range rather than clustering toward the middle. It's useful for picking a raffle winner, sampling test data, rolling virtual dice, choosing a random participant, or seeding a quick simulation. Copy the whole list with one click and paste it wherever you need it. Everything runs locally — no numbers are uploaded.
Features
- Set any minimum and maximum, including negative numbers
- Generate 1 to thousands of numbers in a single click
- Toggle unique values so no number repeats in the list
- Choose decimal places for fractional results, or 0 for whole numbers
- Uses a cryptographic random source for an unbiased spread
- Clear error when the range can't hold enough unique values
- Copy the full comma-separated list with one click
- Runs entirely in your browser with no numbers sent anywhere
How to use the Random Number Generator
- Enter a minimum and maximum value
- Set how many numbers you want and how many decimal places
- Turn on unique values if you don't want repeats
- Click Generate and copy the resulting numbers
Example
Input
1–100, 5 numbers
Output
42, 7, 88, 15, 63
Five unbiased random integers between 1 and 100, ready to copy.
Common errors & troubleshooting
- "The range only holds N unique values" error appears. — You asked for more unique numbers than the range can supply — widen the min/max gap, lower the count, or add decimal places to increase how many distinct values are possible.
- Max is set lower than min. — Max must be greater than or equal to min. Swap the two values so min is the smaller number.
- Decimals field left blank or negative. — Decimals must be 0 or a positive whole number — use 0 for integers, or 1–4 for fractional results.
- Numbers look the same every time you generate. — Each click draws fresh values from the cryptographic random source — if the range is very small (e.g. 1–2), repeats and similar-looking runs are expected.
Frequently asked questions
- How random are the numbers from the Random Number Generator?
- The Random Number Generator draws from your browser's cryptographic random source rather than a simple pseudo-random function, so every value in the chosen range has an equal, unbiased chance of appearing.
- Can the Random Number Generator avoid repeating numbers?
- Yes. Turn on the unique values toggle and no number will appear twice in a single draw. The range must contain at least as many distinct values as the count you request, or you'll see an error telling you to widen the range or lower the count.
- Does the Random Number Generator support decimals?
- Yes. Set decimals above 0 to get fractional results (for example 2 decimal places gives values like 7.42) instead of whole integers.
- Can I generate negative random numbers?
- Yes. Enter a negative minimum, such as -50, and the generator will draw values across the full range you set, including negative and positive numbers.
- What can I use the Random Number Generator for?
- Common uses include picking a raffle or giveaway winner, rolling virtual dice, sampling test data, assigning random IDs for a quick script, or choosing a random participant from a numbered list.
- Are the generated numbers sent to a server?
- No. The Random Number Generator runs entirely in your browser. The min, max, count and resulting numbers never leave your device.
Related tools
All ArrayKit tools