EasyConvert

Random Number Generator

Pick a random number — or a whole set of them — in any range you like. Use it to draw a winner, roll dice, pick a lottery number, choose a random name from a list, or shuffle a deck of cards. The numbers are generated in your browser with a fair, uniform distribution: every number in the range has exactly the same chance of being picked.

…

How to use this converter

Set the minimum and maximum, choose how many numbers you want, and tick 'No duplicates' if each number should appear only once. Press Generate. To shuffle a list instead, paste your items separated by commas and press Shuffle.

Formula

Each number is drawn uniformly from the range: the chance of any one value is 1 ÷ (maximum − minimum + 1). With 'No duplicates' on, each draw removes that number from the pool, so drawing 5 unique numbers from 1–100 has 100 × 99 × 98 × 97 × 96 possible orders. Shuffling uses the Fisher–Yates method, which gives every possible ordering the same probability.

You can also shuffle a list: paste names, teams or tasks separated by commas and get them back in a random order. Nothing is sent to a server and nothing is stored — each click is a fresh, independent draw.

Ways to use it

FromEquals
Pick 1 number from 1–100A random winner or a guess
Pick 6 numbers from 1–49Lottery-style picks (with no duplicates)
Pick 1 number from 1–6The same as rolling one die
Pick 10 numbers from 1–1000Random codes or sample numbers
Shuffle a list of namesA fair order for turns, teams or draws
Pick 1 number from 1–2A coin flip: 1 = heads, 2 = tails

Frequently asked questions

Is the random number generator really random?

It uses your browser's built-in random source (Math.random), which is uniform and unpredictable enough for draws, games and sampling. It is not suitable for cryptography or gambling — for those you need a cryptographic random source.

What does 'no duplicates' do?

It makes sure each number appears only once. If you ask for 5 unique numbers from 1–10, you get 5 different numbers. You cannot ask for more unique numbers than the range contains — 11 unique numbers from 1–10 is impossible.

Can I use it to pick a winner?

Yes — that is one of the most common uses. Put the entries in the shuffle box, or assign each entry a number and generate one random number in that range.

Are the numbers stored anywhere?

No. Everything happens in your browser. We never see your numbers, your list, or your results.