Skip to main content

Random Number Generator

Generate Random Number

Set a range and how many numbers you need, then press "Generate" to get random numbers. You can avoid repeats, sort the results, use 0 or negative numbers and generate up to 100 numbers at once. Numbers are generated in your browser and never sent to a server.


How to use the random number generator​

  1. Set the range: enter "Min" and "Max", for example 1 to 100 (whole numbers, 0 and negatives allowed).
  2. Set the quantity: how many numbers to generate, from 1 to 100.
  3. Choose options: leave "Allow repeats" unchecked so each number appears only once; check "Sort from smallest to largest" to list them in order.
  4. Press "Generate" (or Enter in any field). Copy the results or download them as a TXT file.

What you can use it for​

Giveaways and raffles​

Number the entries (for example 1 to 500), set how many winners you need and leave repeats off: you get unique winning numbers in one click.

Pick a number​

Need a random number between 1 and 10, or 1 and 100? Set the range, quantity 1, and press the button as often as you like.

Random order and teams​

Use the same value for the range and the quantity (for example 1 to 30, 30 numbers) without repeats to get a random order, then split it into teams.

Dice and games​

Set 1 to 6 to roll a die, or any range you need for board games and classroom activities.

Frequently asked questions​

Are the numbers really random?​

The tool uses your browser’s cryptographic random number generator (crypto.getRandomValues). Every number in the range has the same chance, and each result is independent of the previous one.

How do I generate random numbers without repeats?​

Leave "Allow repeats" unchecked. The range must contain at least as many numbers as you want to generate, for example 1 to 10 gives at most 10 unique numbers.

Can I generate negative numbers or 0?​

Yes. Any whole number from −1,000,000,000 to 1,000,000,000 works, for example 0 to 9 for a single digit.

How many numbers can I generate at once?​

Up to 100 at a time. Generate again if you need more.

Is my data sent anywhere?​

No. Everything runs in your browser; the numbers are not sent to or stored on a server.

Other random tools