All Everyday

Random Number Generator

Generate random numbers in any range.

random-number-generator.local
Generated numbers will appear here.

How to use it

  1. Set the minimum, maximum, and how many numbers.
  2. Choose whether the numbers must be unique.
  3. Click Generate and copy the results.

About this tool

The random number generator picks whole numbers in the range you set, using the browser cryptographic random source with rejection sampling so every value is equally likely. Turn on unique to draw without repeats, like a lottery pick, which needs a range at least as large as the count. It generates integers, not decimals.

Examples

Input1 to 100, pick 5
OutputFive numbers like 7, 42, 89, 13, 56
Input1 to 49, pick 6, unique
OutputSix different numbers, no repeats

Common uses

  • Pick lottery or raffle numbers
  • Choose a random winner
  • Roll dice or pick a value in a range
  • Sample random ids for testing

FAQ

Are the numbers generated on a server?
No. They are generated in your browser with the secure random source. Nothing is sent anywhere.
How random are they?
They use the browser crypto generator with rejection sampling, so every number in the range is equally likely with no bias.
What does unique do?
It draws without repeats, so each number appears at most once. The range must be at least as large as the count.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/random-number-generator/" title="Random Number Generator by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/random-number-generator/" target="_blank" rel="noopener">Random Number Generator</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>