Skip to content
toolavix

Random Number Generator

Generate one or many random numbers between any minimum and maximum.

  • Free
  • No sign-up

Instant results, no sign-up required.

How does a random number generator work?

A random number generator picks numbers from a range so that every value has the same chance. This tool uses your browser’s cryptographically secure generator (crypto.getRandomValues) with rejection sampling, which avoids the small bias that comes from simple modulo shortcuts. Set a minimum and maximum, choose integers or decimals, ask for up to 10,000 numbers, forbid duplicates and sort the result. Common ranges such as 1–10, 1–100 and 1–1000 are one click away, and the results can be copied instantly.

How to generate a random number

  1. 1

    Enter the minimum and maximum, or tap a quick range such as 1–100.

  2. 2

    Choose how many numbers you need and whether they are integers or decimals.

  3. 3

    Optionally turn on No duplicates and pick a sort order.

  4. 4

    Press Generate. Copy the numbers, or press Generate again for a new draw.

Key features

Truly unbiased

Uses crypto.getRandomValues with rejection sampling, so every integer in the range is equally likely.

Unique numbers and sorting

Draw without repeats, like lottery balls, and sort ascending or descending.

Integers or decimals

Create whole numbers or decimals with up to ten decimal places, between any two values including negatives.

Stats for large sets

For many numbers you also see the count, sum, average, lowest and highest value.

Frequently asked questions

How do I generate a random number between 1 and 100?

Tap the 1–100 quick range (or type 1 and 100), leave the count at 1 and press Generate. Each number from 1 to 100 has a 1% chance.

Is this random number generator truly random?

It uses the operating system’s secure random source through the Web Crypto API, which is suitable for draws and games. Computers cannot produce physical randomness without hardware noise, but this source is unpredictable in practice.

How do I generate numbers without duplicates?

Turn on “No duplicates”. The tool then draws each number once, like pulling balls from a bag. The count cannot exceed the number of integers in the range.

Can I generate random decimals?

Yes. Choose Decimals, set the decimal places and the range. A value like 3.14 is picked uniformly between the minimum and maximum.

Are the minimum and maximum included?

Yes. For integers both limits are possible results, so 1 to 6 can return 1, 2, 3, 4, 5 or 6.

Can I use it for a raffle?

Yes. Number your entries, set the range from the first to the last number and generate a unique number for each prize. Keep a record of the draw if others need proof.

More Random tools

View all →