How to use the random number generator
- Set the range. Enter the smallest and largest number you want, or tap a preset like 1–10 or 1–100.
- Choose how many numbers. Generate a single number or a whole list at once.
- Pick your options. Turn on “No repeats” so no number appears twice, and “Sort results” to list them from smallest to largest.
- Click Generate. Copy the results with one click if you need to paste them somewhere else.
What people use random numbers for
- Raffles and prize draws: pick the winning ticket number fairly, even with hundreds of tickets.
- Games: choose who goes first, set a random target score, or replace lost dice. For dice specifically, try our dice roller.
- Teaching: create random maths questions, pick a page number, or call students by their class number.
- Sampling: choose random rows, survey respondents or test cases without bias.
- Lottery-style picks: generate six numbers from 1 to 49 with no repeats, just for fun.
Why it’s fair
Many simple generators use Math.random(), which is fine for games but is not designed to be unpredictable. This generator draws from the same secure source browsers use for encryption, and it discards the rare random values that would make some numbers slightly more likely than others. Previous results never affect the next one: if 7 came up last time, it is exactly as likely to come up again.
Rather spin for it?
For a more exciting reveal on a screen or stream, use the 1–10 number wheel or the 1–100 number wheel. Need letters instead of numbers? Try therandom letter generator.