About the Random Number Generator
FreeToolr's Random Number Generator selects numbers from a range you choose. Enter the From value, the To value, and how many results you need. Then choose Allow repeats or No repeats. Both ends of your range are included, so a range from 1 to 100 can return 1 or 100.
The tool uses your browser's cryptographic random number source, crypto.getRandomValues. This makes it suitable for draws and games. Results appear as you type, so you do not need a calculate button. You can copy the numbers or share a link that reopens with your numbers.
The tool runs in your browser. Nothing is uploaded. Its clear controls help you create one result or a group of results without extra settings for decimals, filters, or number formats.
How to use it
- 1Enter the lowest number in From.
- 2Enter the highest number in To.
- 3Enter how many random numbers you want.
- 4Choose Allow repeats or No repeats.
- 5Copy the result or share its link.
Worked example
Example: Set From to 1, To to 10, How many to 3, and Repeats to No repeats. A possible result is 7, 2, 10. The result can include 1 or 10, but no number appears twice.
How it works
Uses your browser's cryptographic random number source (crypto.getRandomValues), which is suitable for draws and gamesBoth ends of the range are includedSource: MDN: Crypto.getRandomValues()MDN: Math.random(). Last checked 2 November 2026.
What it is good for
- Includes both the From and To values.
- Choose repeated or unique results.
- Copy results or share a link that reopens them.
- This tool does not provide an audit record or certification for regulated promotions.
- No-repeat results require enough eligible numbers for the quantity requested.
Questions people ask
What is a random number generator?
It selects numbers from a range using a random process. You choose the range and quantity, then the tool displays the results.
How do I generate a number between two numbers?
Enter the lower value in From and the higher value in To. Both values are included, so 1 to 12 can return 1 or 12.
Can random numbers repeat?
Yes. Select Allow repeats when the same number may appear more than once. Select No repeats when every result must be different.
Can I generate several unique numbers?
Yes. Set How many to the number you need and choose No repeats. The quantity cannot exceed the number of whole values in your range.
Does the tool include the maximum number?
Yes. Both ends of the range are included. For example, a range from 5 to 8 can return 5, 6, 7, or 8.
Is this suitable for a raffle or game?
The tool uses your browser's cryptographic random number source, crypto.getRandomValues, and is suitable for draws and games. Regulated promotions may require a certified process and a saved record of the rules and result.
Where do my numbers go?
The tool runs in your browser, and nothing is uploaded. You can copy the result or share a link that reopens with your numbers.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.