Random number generator
Random number generator for any range. Pick the lowest and highest number, how many you want, and whether a number may come up twice. Whole numbers or up to six decimal places, sorted or in the order they were drawn. Each number in the range is equally likely, both ends included.
How to generate random numbers
- 1Type the lowest and the highest number
- 2Say how many numbers you want, and tick No repeats if each may come up once
- 3Press Generate, then copy the numbers
- One random number, or a list of them
What you get
- Fair draws.The numbers come from your browser's cryptographic random source, and no number is favoured
- No repeats if you want.Draw 6 out of 49, or put 1 to 30 in a random order
- Decimals too.Between 0 and 1 with two places gives one of 101 numbers: 0.00, 0.01 and so on up to 1.00
What you can do
- Draw one number or up to 10,000 at a time
- Use negative numbers, like -10 to 10
- Leave out repeats, so every number comes up at most once
- Sort the result from small to large or large to small
- Copy the numbers, one per line, into a spreadsheet or a message
Good to know
- Both the lowest and the highest number can come up
- Without repeats you cannot draw more numbers than the range holds. From 1 to 10 that is 10
- Type decimals with a point or a comma. If the lowest or highest number has more decimal places than you chose, the tool says so
- Each press of Generate is a new draw, and earlier draws are not kept
Questions
How do I pick a random number between 1 and 100?
Leave the lowest number at 1 and the highest at 100, then press Generate.
Is it really random?
The numbers come from crypto.getRandomValues, the random source browsers use for encryption keys. Draws that would make some numbers more likely are thrown away and drawn again.
Can I draw lottery numbers with it?
Yes. For 6 out of 49, set 1 and 49, how many to 6, and tick No repeats. Smallest first sorts them like a ticket.
Can I get decimal numbers?
Yes. Choose up to six decimal places. Every number on that step between your two numbers is equally likely.
Are my numbers saved or sent?
No. They are drawn on your device and stay on the page until you close it.
More tools in Numbers
That page doesn't exist. Search or drop a file below to find the tool you need.
One site for every file job. What’s yours?
Stop hopping between converter sites. Pick from 410+ tools, or a recipe that chains several.
- Files Stay On Your Device
- No watermark
- Works offline
Drop a file here
A pasted file works too.
or search for a tool
Open an app
From “ugh, this file” to done, in three steps.
- Drop it, or pick a task
No file? Search for what you need. Files are processed on your device, not uploaded for processing.
- Pick what you want
Smaller, another format, signed, merged. One click, no settings to study first.
- Make it a recipe
Need three steps in a row every week? Chain them once and run the same recipe next time.
One approved toolbox for the whole team.
In offices, on building sites and in agencies, teams handle sensitive files all day. ToolRecipe gives everyone the same tools and the same recipes, and the files are processed on each person's own computer.
- Files are processed on the employee's device
- Company recipes everyone runs the same way
- One place instead of ten converter sites