Tools SoShareITRandom generators and test data

Random Number Generator

A random number generator picks whole numbers from a range you choose, starting at 1 to 100. It can draw up to 500 numbers and avoid repeats. Numbers come from your browser’s secure random generator, so every value has the same chance. Use it to pick a number, run a draw or choose a winner.

Last updated: 26 October 2026

  • 15
  • 46
  • 91
  • 96
  • 29
  • 85
  • 38
  • 92
  • 75
  • 66

Showing 10 different numbers from 1 to 100, chosen with a secure random generator.

How to use the random number generator

Type a minimum and a maximum, or press a preset for 1 to 10, 1 to 100 or 1 to 1000. Set how many numbers you want, choose an order (as drawn, smallest first or largest first) and press Generate. If you tick allow duplicates, the same number can come up more than once, as with rolling a die several times. Leave it off and every number in the draw is different.

Copy one number, copy the whole list, or download it as CSV or JSON. Numbers are generated in your browser and nothing is sent to a server. The list you see stays on the page only until you reload or leave it.

Random number generator with a colourful lucky spin wheel for fair random numbers from 1 to 100

Random number 1 to 10 and 1 to 100

The most common requests are a number from 1 to 10 for a quick game and a number from 1 to 100 for a guessing game or a draw. The presets set the range in one tap. For a single number, set the count to 1. To pick several, raise the count and keep duplicates off. The table shows how likely any one number is in a single draw for common ranges.

RangePossible numbersChance of one chosen number in a single draw
1 to 6 (a die)616.67%
1 to 101010%
1 to 1001001%
1 to 1,0001,0000.1%
1 to 1,000,0001,000,0000.0001%

Random numbers with no repeats

With duplicates off, the generator lists every number in your range, shuffles the list with the Fisher-Yates method and takes the first ones. That gives each possible set of numbers the same chance and guarantees no number appears twice. If you ask for more numbers than the range holds, the tool lowers the count to the size of the range and tells you so.

Pick k numbers from n, lottery style

To draw six different numbers from 49, set the range to 1 and 49, the count to 6 and keep duplicates off. The same setup works for a raffle, a class seating draw or a home lottery. The table shows how many different combinations exist for some familiar draws, which is also the number you are up against if you hope to match them all. A random pick is fun, but it does not improve your chances in any real lottery.

DrawDifferent combinationsChance of matching all numbers
Pick 3 from 101201 in 120
Pick 5 from 2015,5041 in 15,504
Pick 6 from 458,145,0601 in 8,145,060
Pick 6 from 4913,983,8161 in 13,983,816
Pick 5 from 6911,238,5131 in 11,238,513

Why the numbers are fair

A simple formula such as taking a random value modulo the range size slightly favours low numbers, because the random source rarely divides evenly. This tool avoids that by discarding values that fall in the uneven remainder. Each draw is independent, so earlier numbers do not make later ones more or less likely. See more free utilities on the SoShareIT Tools home page.

Random number generator options: presets 1 to 10, 1 to 100 and 1 to 1000, no repeats shuffle, secure browser randomness and pick k from n

Random number generator FAQ

How does the random number generator work?

It asks your browser for random values from the Web Crypto interface, then maps them onto your range in a way that gives every whole number the same chance. Values that would favour the low end of the range are discarded, so there is no modulo bias.

How do I get numbers with no repeats?

Leave Allow duplicates unticked. The tool then shuffles the whole range with the Fisher-Yates method and takes the first numbers, so each number can appear only once in a draw.

Can I use it to pick lottery-style numbers?

Yes. Set the range to 1 to 49, the count to 6 and keep duplicates off to draw six different numbers from 49. It is a fun way to choose numbers, but it does not improve the odds of any real lottery.

Is my history saved?

The list of your recent draws stays on the page while it is open and is not stored in your browser or on a server, so it disappears when you reload or leave.