Raffle tickets are numbered, a teacher wants to call on a random student number, a sample of 20 rows has to be chosen from a table of 500, a board game is missing its dice.
Steps
- Open Random number generator.
- Set From and To. Both ends are included, so 1 to 6 can give 1 and can give 6.
- Set How many numbers you want, up to 1000.
- Tick No repeats if each number may appear only once.
- Press Generate again for a new draw, and Copy to take the result.
Up to ten numbers are shown on one line with commas between them. Larger sets are listed one per line, ready to paste into a spreadsheet column.
With or without repeats
- Repeats allowed (the box unticked) is like rolling dice. Two rolls of 1 to 6 can both be 4.
- No repeats is like drawing tickets from a hat. For lottery-style numbers, such as 6 different numbers from 1 to 49, tick the box.
With No repeats ticked you cannot ask for more numbers than the range holds. Ten different numbers between 1 and 6 do not exist, and the tool says so.
The numbers come out in the order they were drawn, not sorted. To sort them, paste the list into Sort lines, which orders positive whole numbers by value.
What kind of numbers
Only whole numbers are produced. A decimal typed into From or To is rounded to the nearest whole number. Negative values work, for example -10 to 10, and if From is larger than To the two are swapped.
The numbers come from the browser's secure random generator, and every value in the range is equally likely. The draw is not recorded anywhere, so it cannot be proved afterwards. For a raffle, draw in front of witnesses or share your screen.
Other random tools
To draw from a list of names instead of numbers, use Random picker. For passwords, use Password generator, which mixes letters, digits and symbols.