Random Number Generator

Generate random numbers in any range, one or many at a time, with no repeats if you need them. Uses a cryptographically secure random source.

Runs on your device

Result

Results appear here after you select “Generate”.

What it does

Pick a minimum, maximum and how many numbers you want. Every number is drawn fairly using crypto.getRandomValues with rejection sampling, so no value is more likely than another.

How to use it

  1. Set the minimum and maximum.
  2. Choose how many numbers and whether repeats are allowed.
  3. Generate and copy.

Example

The example fills in realistic values and runs the tool. Select Try an example above to see it.

When it helps

  • Raffles and giveaways.
  • Picking random samples for research.
  • Games and classroom activities.

Questions

Is it truly random?

It uses the operating system’s cryptographic random generator, which is suitable even for security purposes.

What is the limit?

Up to 10,000 numbers at once.

More quick utilities tools

See all 15

People also use

Browse all 200 tools