1. Home
  2. Everyday Tools
  3. Random Number Generator

Random Number Generator

Generate one or many random numbers between any minimum and maximum, with options for unique numbers, decimals and sorting.

?

Runs locally in your browser. Your files and data are never uploaded or stored.

About the Random Number Generator

The Random Number Generator picks numbers fairly and unpredictably. Set any minimum and maximum, including negative numbers, and generate a single number or up to 10,000 at once. It uses the browser's cryptographically secure random source, which is far more unpredictable than the standard Math.random function.

Enable Unique to avoid repeats, which is perfect for lottery and raffle draws, assigning random seats or selecting survey participants. Set Decimals for random fractional values used in simulations and testing, and sort the results for easier reading. Teachers use it to call on students, game masters use it as a dice roller, and developers use it to create test data.

How to use the Random Number Generator

  1. Enter the minimum and maximum values.
  2. Choose how many numbers and how many decimal places.
  3. Tick Unique or Sort if needed.
  4. Click Generate.

Frequently asked questions

Is this truly random?

It uses crypto.getRandomValues, a cryptographically secure pseudo-random generator suitable even for security purposes, and every value in the range has an equal chance.

Are the minimum and maximum included?

Yes. Both ends of the range can be generated.

Can I use it for a giveaway?

Yes. Number your entries, set the range, enable Unique and generate as many winners as you need.