Skip to content

Random Number Generator

Pick one random number or a whole list from any range you set. Turn on unique results for draws with no repeats, filter out values, and copy or download the list.

Mode

Ready to generate

Range & quantity

Advanced filters

Live result preview

No result yet
Single Pick
Random Number Generator
Range: 1 to 100

—

Generate a number to see your result here.
Total Generated 0
Minimum —
Maximum —
Average —
Mode: Single
Type: Any
Unique: Off
Decimals: Off

Generated results

All generated numbers, with quick stats.

Waiting for results
No numbers generated yet.
Sum: n/a
Median: n/a
Spread: n/a
Unique Count: n/a

Runs in your browser. Nothing you type, paste or open here is uploaded.

To pick a random number, enter the Minimum Value and Maximum Value (1 and 100 by default) and select Generate Numbers. Both ends of the range can come up. For a list, switch to Multiple Numbers, set How Many Numbers, and tick Unique results only if no number should appear twice.

How to use the random number generator

  1. Pick a mode. Single Number gives one result. Multiple Numbers gives a list, starting at 10 numbers, up to 100,000 at a time.
  2. Set the range. Enter Minimum Value and Maximum Value, and How Many Numbers for a list. Or tap a preset: Dice roll, Lottery 1-49, Classroom 1-30, 0-100 or Decimal demo.
  3. Add rules if you need them. Choose Odd only or Even only, a Must Be Multiple Of value, or numbers to skip in Exclude Values. Tick Unique results only to avoid repeats and Sort results ascending to order the list.
  4. Generate and save. Select Generate Numbers. Use Regenerate for a fresh draw with the same settings, then Copy Results or Download TXT.

Random number generator 1-100 and other ranges

The page opens with a range of 1 to 100. Each whole number in that range has the same chance, 1 in 100, and both 1 and 100 are included. You can use any range you like, such as 1 to 6 for a die, 0 to 9 for a single digit, or -50 to 50.

For whole numbers, the generator works out every value that passes your filters and picks one of them at random. For huge ranges such as 1 to 1,000,000,000 it does this with arithmetic instead of listing the numbers, so the page stays fast. Filters never make some numbers more likely than others. Odd only, Even only, Must Be Multiple Of and Exclude Values all shrink the list it picks from. For example, 1 to 100 with Must Be Multiple Of set to 5 can only return 5, 10, 15 and so on up to 100.

Random number generator with no repeats

With Unique results only ticked, the generator shuffles the allowed numbers with a Fisher-Yates shuffle, but only as far as it needs: picking 6 numbers takes 6 swaps, even from a range of a billion. No number can appear twice, and every possible set is equally likely. It's the same as drawing numbered balls from a bag without putting them back.

Without that option, each pick is independent, so repeats happen more often than people expect. Drawing 10 numbers from 1 to 100 gives at least one duplicate about 37% of the time.

A unique draw can't contain more numbers than the range allows. Asking for 60 unique numbers from 1 to 50 shows an error telling you how many are available. Unique mode works with whole numbers only, so it's switched off when Allow decimals is on.

Using it as a random number list generator

Lists are handy for raffles, test data, seating plans and practice questions. After generating, choose how to view the list:

  • Comma View: 12, 47, 3, 88, ready to paste into a sentence or spreadsheet cell.
  • Line View: one numbered result per line.
  • JSON View: an object with the label, mode, range, count and results array, useful for code.

Under the list you'll see the sum, median, spread and unique count, plus a bar chart of how often each value came up (up to 12 values, lowest first). Add a Result Label such as "Raffle draw, May" and it's included in copies and in the TXT file.

The Lottery 1-49 preset draws 6 unique numbers and sorts them. There are 13,983,816 possible combinations of 6 from 49, so any one ticket has a 1 in 13,983,816 chance of matching all six.

How random are the numbers?

The numbers come from your browser's cryptographic random source, crypto.getRandomValues(), the same one used for encryption keys. To turn those random bits into a number in your range without favouring any value, the generator uses rejection sampling: it throws away the few raw values that would make the split uneven and draws again. Each allowed number has exactly the same chance.

That makes it a good fit for giveaways, classroom picks, sampling and anything where fairness matters. For passwords, use the password generator, which builds them from letters, digits and symbols. For a quick yes or no, flip a coin instead.

Frequently asked questions

How do I pick a random number between 1 and 100?

Leave the range at 1 to 100 and select Generate Numbers. Each number from 1 to 100, including both ends, has an equal 1% chance.

Can I generate random numbers without repeats?

Yes. Switch to Multiple Numbers, set how many you need and tick Unique results only. The tool shuffles the allowed numbers so none appears twice.

Is there a random number generator wheel?

This page shows the result with a short rolling animation rather than a wheel. If you want a spinning wheel, type your numbers into the random name picker, which has a wheel mode.

Can I get random decimal numbers?

Yes. Tick Allow decimals and set Decimal Places from 1 to 8. A range of 1 to 10 with 2 places returns values like 4.37 or 9.02.

Can the minimum be a negative number?

Yes. Any whole numbers work as long as the maximum is greater than or equal to the minimum, for example -20 to 20.

Are my numbers saved anywhere?

No. Numbers are generated in your browser and are cleared when you select Clear or close the page. Use Download TXT or Copy Results to keep them.

Updated 11 October 2026Reviewed by the ToolzyLab teamHow we test our tools