Random Number Generator

Generate random numbers with custom ranges, count, and options. Perfect for giveaways, dice rolling, and statistical sampling.

Configuration
150100
Quick Actions
Results

Numbers will appear here

Unique Numbers

Disable "Allow duplicates" to generate a set of unique random numbers (e.g., for lottery draws).

Range

Set Min and Max to define your range. Works with negative numbers and decimals.

Dice & Coins

Use quick actions for D6, D20, D100 dice rolls or coin flips.

About the Random Number Generator

This random number generator gives you the full set of options: any range, integers or decimals, duplicates allowed or excluded, bulk generation and sorted output — for sampling and simulation rather than a single pick.

A random number generator with options suits work rather than a one-off pick. Sampling rows from a dataset, generating decimal test values, producing a sorted batch for a lookup table, or drawing without replacement for a lottery.

The decimal option is the one usually missing elsewhere. Testing a price field, a percentage or a coordinate needs fractional values, and rounding integers afterwards does not give a realistic distribution.

Excluding duplicates changes the mathematics from independent draws to drawing without replacement. Ten unique numbers from one to twenty is a sample; ten independent draws from the same range will very likely repeat. Sorting is offered because a sorted batch is far easier to check by eye.

How to use the Random Number Generator

  1. Set the range. Enter the minimum and maximum.
  2. Choose integers or decimals. Pick decimals for prices, percentages and coordinates.
  3. Set count and duplicates. Choose how many, and whether repeats are allowed.
  4. Sort and copy. Optionally sort the results, then copy them.

Random Number Generator features

  • Any numeric range
  • Integer or decimal output
  • Duplicates allowed or excluded
  • Bulk generation
  • Optional sorting of results
  • Runs entirely in your browser

Frequently asked questions

Can it generate decimals?

Yes. Decimal output matters for prices, percentages and coordinates, where rounding integers gives an unrealistic distribution.

What does excluding duplicates change?

It becomes drawing without replacement — a sample rather than independent draws, which is what a lottery needs.

Can I sort the output?

Yes. A sorted batch is much easier to check by eye.

How many numbers can I generate at once?

Enough for sampling and simulation work, limited only by your device's memory.

Is this suitable for cryptographic use?

No. For secrets use the password or token generators, which are built for that purpose.