Random number generator
Pick one or more random numbers between two values, with or without repeats, sorted or not. Presets for 1–10, 1–100 and lottery picks. Free, cryptographic randomness.
- Free
- No sign-up
- No file uploaded
- Windows, Mac, Android, iPhone
Loading the tool…
Share this tool
About this tool
Set a minimum, a maximum and how many numbers you want, and the generator picks them at random, with or without repeats, in draw order or sorted. Presets for 1–10, 1–100, 1–6 and a 6-from-49 lottery are a starting point you can change for any game. Every draw in the session stays listed so you have a record.
When to use it
Raffles, giveaways and ticket numbers
Draw the winning ticket between 1 and the number of tickets sold, or several winners without repeats, in front of everyone.
Lottery picks
The lottery preset picks 6 numbers from 49 with no repeats, sorted. Change the maximum and the count to match your local lottery.
Classrooms, surveys and samples
Call on a student by number, pick random rows from a spreadsheet or draw a sample for a survey.
How to use
- Choose a preset or enter the minimum and maximum.
- Set how many numbers to draw.
- Tick "No repeats" if each number may only come up once.
- Click "Generate", then copy the result.
How it works
Numbers come from crypto.getRandomValues, the browser's cryptographic random generator, so nobody can predict or influence the result. Without repeats, values are shuffled with the Fisher–Yates algorithm, which gives every number the same chance.
Both the minimum and the maximum are included, and you can draw up to 1,000 numbers at once. To pick names instead of numbers, use the random picker in "Wheel, random picker and coin flip". The history only lives in the page and is gone when you close it.
Tips for best results
- For a public draw, share or project your screen while you pick.
- Write down the rules first (range, number of winners) so nobody can dispute them.
- Keep draw order if first place gets a different prize from second.
- Nothing can predict a lottery: this tool doesn't improve your odds.
Common problems and fixes
The Generate button is greyed out
Without repeats you can't draw more numbers than there are values in the range. Raise the maximum or untick the option.
The same number came up twice
Tick "No repeats" so each number can only appear once per draw.
I want to pick names, not numbers
Open "Wheel, random picker and coin flip", choose the random picker and paste your list with one name per line.
Frequently asked questions
Is it truly random?
Yes. It uses the browser's cryptographic generator, built to be unpredictable, rather than Math.random.
Are the minimum and maximum included?
Yes. Between 1 and 10, all ten numbers from 1 to 10 can come up.
Can I use negative numbers?
Yes, for example from -50 to 50. Only whole numbers are drawn.
Are results saved?
No. The history stays in the page and disappears when you close it; only your settings are kept on this device.
Related searches
Still stuck?
Ask on the forum: the category, the tool, your device sheet and the test result will be filled in for you.