Random Number Generator

Pick one or many random numbers in any range — with unique draws, decimals, sorting and secure randomness.

Result

Quick presets

Options

Range

About the Random Number Generator

This free random number generator picks one or many random numbers from a range you choose. Set a minimum and maximum, decide how many numbers you need, and get them instantly — pull a single value for a quick decision, or a whole list for a draw. Switch on unique values for results with no repeats, add decimal places for random decimals, and sort the output low-to-high or high-to-low. Every number is generated entirely in your browser, so nothing is ever uploaded.

A good random number generator is handy far more often than you would think: drawing raffle and giveaway winners, picking lottery numbers, rolling dice, assigning teams or turn order, sampling rows of data, or just breaking a tie. Unlike the ordinary Math.random, this tool uses your browser's cryptographically secure random source with unbiased sampling, so each value in the range is equally likely. It is completely free, needs no sign-up, and keeps working offline once the page has loaded.

Frequently asked questions

Answers to the questions we hear most about this tool.

How does this random number generator work?

You set a minimum and a maximum, choose how many numbers you want, and the tool draws them for you instantly. Each number is produced with your browser's cryptographically secure random source (crypto.getRandomValues) using rejection sampling, so every value in the range is equally likely — there is no bias toward the low or high end. Nothing is calculated on a server; the numbers are generated entirely on your device.

Is the random number generator truly random?

It uses your browser's built-in cryptographically secure pseudo-random number generator (CSPRNG), which is far stronger and less predictable than the ordinary Math.random. That makes it well suited to raffles, giveaways, prize draws, lotteries, sampling and games. For most everyday purposes the results are effectively unpredictable; for high-stakes cryptographic key material you should still use a dedicated, audited tool.

How do I pick unique random numbers with no repeats?

Turn on "Unique values (no repeats)" and every number in the draw will be different — exactly what you want for a lottery, a raffle or assigning positions. Uniqueness applies to whole numbers, so set decimals to 0. If you ask for more unique numbers than the range can hold (for example 10 unique numbers from 1–5), the tool tells you and asks you to widen the range or reduce the count.

Can I generate random decimals or negative numbers?

Yes. Set "Decimal places" to anything from 1 to 6 to get random decimals instead of whole numbers, and enter a negative value as the minimum (or maximum) to include negative numbers — for example −50 to 50. You can also sort the results, choose how they are separated when you copy them, and download the whole list as a text file.

Is this random number generator free and private?

Completely. There is no sign-up, no limits and no cost, and every number is generated in your browser with JavaScript — nothing is ever sent to or stored on a server. That also means it keeps working offline once the page has loaded, and the numbers you generate stay entirely on your device.