How to use it
- Enter the smallest and largest number you want. Negative numbers are fine, and the order doesn't matter.
- Set how many numbers to draw, up to 10,000 at a time.
- Tick “No repeats” if each number may appear only once, as in a raffle or a lottery-style pick.
- Choose a sort order if you like, press Generate (or Enter), and copy the result.
Common uses
- Drawing a winner for a giveaway, raffle or classroom prize.
- Picking lottery-style numbers or rolling virtual dice for a board game.
- Choosing random samples, IDs or test data for a spreadsheet or a program.
- Shuffling the order of presentations, questions or team members.
- Making a fair decision when nobody wants to choose.
Examples
| Settings | What you get |
|---|---|
| 1 to 10, 1 number | One number such as 7A quick pick, like choosing who goes first. |
| 1 to 49, 6 numbers, no repeats, ascending | Six different numbers, for example 3, 11, 19, 27, 38, 45The format of many lottery tickets. |
| 1 to 6, 10 numbers, repeats allowed | Ten dice rolls, for example 4, 1, 6, 6, 2, 3, 5, 1, 4, 2 |
| 1 to 30, 30 numbers, no repeats | Every number from 1 to 30 in a random orderHandy for shuffling a numbered class list. |
| −100 to 100, 5 numbers | Five values that may be negative, for example −42, 17, 0, 93, −8 |
Frequently asked questions
Are the numbers really random?
They come from crypto.getRandomValues, the cryptographically secure generator built into your browser, and rejection sampling removes the small bias a simple modulo would add. The results cannot be predicted in practice.
How do I generate numbers without duplicates?
Tick “No repeats”. The amount of numbers then can't be larger than the range: you can draw at most 49 different numbers from 1 to 49.
Can I use it for a giveaway or raffle?
Yes for informal draws: number the entries and generate one number in that range. Officially regulated lotteries usually require certified drawing methods, so check the rules that apply to you.
Can it generate decimal numbers?
It produces whole numbers. For decimals, generate in a larger range and divide: for example 0 to 1000 divided by 100 gives values from 0.00 to 10.00.
What is the largest range supported?
Any range between −1,000,000,000,000,000 and 1,000,000,000,000,000, with up to 10,000 numbers per draw.
Related tools
Password Generator
Generate strong, secure passwords with customizable length, symbols, and options.
UUID Generator
Generate UUID v1, v4, and v7 identifiers. Bulk generation and validation supported.
Average Calculator
Find the mean, median, mode, range, sum and standard deviation of a list of numbers. Paste numbers separated by commas, spaces or new lines.
Roman Numeral Converter
Convert numbers to Roman numerals and Roman numerals back to numbers (1 to 3,999). Invalid numerals are flagged with an explanation.