Random Number Generator

Generate random numbers in seconds. Set a custom range, choose how many numbers you need, avoid duplicates, sort results, exclude specific values, and copy or download your list.

Generator Settings

Generate between 1 and 1,000 numbers per batch.

Advanced options

Separate values with commas or new lines. Exclusions are applied to integer results and exact decimal values.

A seed enables repeatable results for testing. Seeded results are deterministic and are not cryptographically secure.

Ready. Set your range and generate random numbers.

Your Results

Waiting
No numbers generated yet.
Count0
Smallest—
Largest—
Total—
Average—
Duplicates—

Recent Generations

Your recent generations will appear here.

History stays in this page session and is not uploaded to MohakTools.

How to Use the Random Number Generator

  • Enter the minimum and maximum values for your range.
  • Choose how many numbers to generate and select integer or decimal mode.
  • Enable unique values if you do not want duplicates in one batch.
  • Optionally sort the results or enter values to exclude.
  • Select Generate Numbers, then copy or download the results.

What Is a Random Number Generator?

A random number generator produces values selected from a defined range. It can be useful for classroom exercises, simulations, sample data, casual games, randomized lists, and other everyday tasks.

This tool uses the browser's cryptographic random-number facility when available for unseeded generation. Seeded mode is intended for reproducible testing and should not be used for security-sensitive purposes.

Common questions about Random Number Generator

Can I generate multiple random numbers at once?

Yes. Choose a quantity from 1 to 1,000 to create a batch of numbers.

How do I prevent duplicate numbers?

Enable Unique numbers only. The tool will check that the requested quantity is possible within the range after exclusions.

Can I generate decimal numbers?

Yes. Switch Number type to Decimal numbers and choose the number of decimal places.

Can I exclude particular numbers?

Yes. Enter a comma-separated or line-separated list in the exclusion field. For integer mode, excluded values are compared as integers.

Can I repeat a previous set of results?

Enter the same seed and keep the other settings unchanged to reproduce seeded results. Seeded mode is deterministic and not suitable for security-sensitive use.

Are the generated numbers truly random?

Unseeded mode uses the browser's cryptographic random source when supported. No software generator can promise every practical interpretation of randomness; use specialized, audited systems for high-stakes or regulated draws.

Related Tools