Random Number
Random Number Generator
Set a minimum and maximum, choose how many numbers you need and press Generate. You can avoid duplicates, sort the results and generate decimals. Numbers come from your browser's cryptographically secure random generator, so every value in the range is equally likely. Use it for prize draws, picking numbers or test data.
Result
Press Generate to create numbers.
- Every value in the range has the same chance. With decimals, the range is split into steps of that size (for example 0.1), and each step is equally likely. Both the minimum and the maximum can be drawn.
- Random numbers come from crypto.getRandomValues and are picked without bias (rejection sampling).
- Everything runs in your browser. Nothing is sent or saved.
About this tool
A free random number generator that creates numbers between a minimum and maximum. Generate from 1 to 10,000 numbers at once, with or without duplicates, sorted smallest or largest first, and with up to 6 decimal places. Copy the results separated by new lines, commas or spaces. Numbers come from your browser's cryptographically secure random generator (crypto.getRandomValues) without bias, and nothing you enter is sent anywhere.
How to use
- Enter a Minimum and Maximum, or pick one of the Quick ranges.
- Set How many numbers to generate (1 to 10,000).
- Choose No duplicates, the Order and the Decimal places if needed.
- Press Generate to see the results.
- Choose a Separator for copying and press Copy to copy all the numbers.
Useful for
- Picking winning numbers for a prize draw or raffle
- Creating unique numbers for a lottery-style game
- Producing test data for code or spreadsheets
- Getting random numbers for classroom activities and games
FAQ
How do I generate random numbers without duplicates?
Tick No duplicates and press Generate. For example, 10 numbers from 1 to 100 will all be different. You cannot ask for more numbers than there are values in the range.
Are the minimum and maximum included?
Yes. Every value in the range, including both ends, has the same chance. With decimals, values are picked in steps of that size, such as 0.1.
Is it truly random?
It uses your browser's cryptographically secure random generator, which is suitable for draws and games, and picks values with rejection sampling so no value is favored.
Is anything saved or sent?
No. Everything is calculated in your browser and disappears when you close the page.
Updates to this tool
All updatesReleased 9 random and fun tools: dice, coin toss, random numbers, lottery number picks, days alive, color difference test, 10 second challenge, pachinko EV and horse racing bet calculator
Other free tools
All 183 free tools- Random Picker and Team GeneratorDraw winners from a list or split people into random teams.
- Spin the WheelEnter items, spin the wheel and get a fair random pick, with an option to remove winners and a history.
- Amidakuji Maker (Ghost Leg)Make an amidakuji ladder lottery and tap each name to watch the path traced to the result.
- Bingo MachineDraw bingo numbers with no repeats, with a spinning reveal, color-coded board, voice calling and full screen.
- Seat Shuffle and Seating ChartSeat people at random on a rows-by-columns chart, with fixed and unused seats, then print it or save it as a PNG.
- Dice RollerRoll 1 to 10 dice with 4, 6, 8, 10, 12 or 20 sides and see the total and history.
- Coin TossFlip a coin for heads or tails, or 10 or 100 times at once, and track the ratio and streaks.
- Random Lottery Number GeneratorRandom picks for LOTO6, LOTO7, Numbers and Bingo 5, with numbers to include or exclude.