Random Number

Random Number Generator

Set a minimum and maximum, choose how many numbers you need and press Generate. You can avoid duplicates, sort the results and generate decimals. Numbers come from your browser's cryptographically secure random generator, so every value in the range is equally likely. Use it for prize draws, picking numbers or test data.

Quick ranges

Result

Press Generate to create numbers.

  • Every value in the range has the same chance. With decimals, the range is split into steps of that size (for example 0.1), and each step is equally likely. Both the minimum and the maximum can be drawn.
  • Random numbers come from crypto.getRandomValues and are picked without bias (rejection sampling).
  • Everything runs in your browser. Nothing is sent or saved.

About this tool

A free random number generator that creates numbers between a minimum and maximum. Generate from 1 to 10,000 numbers at once, with or without duplicates, sorted smallest or largest first, and with up to 6 decimal places. Copy the results separated by new lines, commas or spaces. Numbers come from your browser's cryptographically secure random generator (crypto.getRandomValues) without bias, and nothing you enter is sent anywhere.

How to use

  1. Enter a Minimum and Maximum, or pick one of the Quick ranges.
  2. Set How many numbers to generate (1 to 10,000).
  3. Choose No duplicates, the Order and the Decimal places if needed.
  4. Press Generate to see the results.
  5. Choose a Separator for copying and press Copy to copy all the numbers.

Useful for

  • Picking winning numbers for a prize draw or raffle
  • Creating unique numbers for a lottery-style game
  • Producing test data for code or spreadsheets
  • Getting random numbers for classroom activities and games

FAQ

How do I generate random numbers without duplicates?

Tick No duplicates and press Generate. For example, 10 numbers from 1 to 100 will all be different. You cannot ask for more numbers than there are values in the range.

Are the minimum and maximum included?

Yes. Every value in the range, including both ends, has the same chance. With decimals, values are picked in steps of that size, such as 0.1.

Is it truly random?

It uses your browser's cryptographically secure random generator, which is suitable for draws and games, and picks values with rejection sampling so no value is favored.

Is anything saved or sent?

No. Everything is calculated in your browser and disappears when you close the page.

Contact