Random Number Generator
Pick random numbers in any range, with or without repeats.
Loading the random number generator… If nothing appears, please turn on JavaScript.
Set the lowest and highest number, choose how many you need, and get fair random numbers instantly. Turn on “No duplicates” for lottery-style draws, choose odd or even numbers, or add decimal places.
How to use it
- Set the range with Lowest number and Highest number (both are included).
- Choose how many numbers you want, up to 100.
- Keep “No duplicates” on if every number must be different.
- Optional: odd or even only, decimal places, or sort the results.
Common ranges
- 1 to 10: quick picks and guessing games.
- 1 to 6: a dice roll. Set “How many?” to 2 for two dice and turn off “No duplicates”.
- 1 to 100: raffles, classroom numbers and percentages.
- 1 to 1,000: large giveaways.
Keep, copy and share your numbers
Every result has a lock button. Locked results stay put when you generate again, so you can keep the numbers you like and reroll the rest. The history panel keeps your earlier results, and the back arrow takes you to the previous set if you generated one time too many. Press Wheel to put the current results on a spinning wheel and pick one with a bit of drama.
Use Copy to copy the results as a plain list, CSV or JSON, or download them as a file. Share copies a link that shows exactly the same results to whoever opens it, which is handy for games, classes and group chats.
Raffles and giveaways
To draw a raffle winner, set the lowest number to 1 and the highest number to the number of tickets sold, then generate. For several prizes, set how many numbers you need and keep “No duplicates” on so no ticket wins twice. Press Share to copy a link that shows the exact draw, which helps if you want to show participants that the draw happened.
How the randomness works
Every result comes from your browser’s built-in cryptographic random number generator (crypto.getRandomValues). We use rejection sampling, so every item has exactly the same chance of being picked, with no bias toward the start or end of the list. Nothing is sent to a server, and share links store the exact results so the person you send them to sees the same thing.
Frequently asked questions
Are the lowest and highest numbers included?
Yes. A range of 1 to 10 can return both 1 and 10.
How do I get numbers without repeats?
Keep "No duplicates" ticked. If you ask for more numbers than the range allows, you will see a note explaining how many unique numbers are possible.
Can I generate negative numbers or decimals?
Yes. Use a negative lowest number, and set decimal places from 1 to 3.
Can I use it to draw a raffle winner?
Yes. Number the tickets, set the range, and generate one number. Use the Wheel button if you want a visual spin.
Can I sort the numbers?
Yes. Choose Lowest first or Highest first under Sort results.
Can I spin a number wheel?
Yes. Press Wheel to put the numbers on a spinning wheel.