Random Number Generator

Draw random numbers within a range, with or without repetition.

How it works

Enter the minimum value, the maximum, and how many numbers you want to draw. By default, the result is an integer within the range (including the endpoints); check "decimal numbers" to draw values with decimal places, or "no repeats" to make sure no number appears twice in the same draw (like a raffle or prize drawing).

Common uses

Drawing numbers for a raffle or gift exchange, picking a random item from a numbered list, generating test data, or any situation that needs a fair, unbiased draw.

Randomness

Numbers are generated using the browser's Math.random() function — suitable for everyday draws, games and tests, but not recommended for cryptographic use (such as generating passwords or security keys).

Examples and limits of a draw

To simulate a die, use minimum 1, maximum 6 and quantity 1. To draw 6 numbers from 1 to 60 with no repeats, the range is enough, but asking for 10 numbers from 1 to 5 without repeats is impossible. These numbers have no connection to official lotteries. Without the no-repeat option, duplicates appear sooner than you would expect: drawing 23 numbers from 1 to 365 already gives roughly a 50% chance of at least one repeat. Since a result cannot be reproduced, take a screenshot if the draw needs proof.

For a raffle, announce the range beforehand.

Frequently asked questions

Can I draw decimal numbers?

Yes, check the "Allow decimal numbers" option — the numbers will come with two decimal places within the range you entered.

How do I make sure no number repeats?

Check the "No repeated numbers" option. In that case, the range between the minimum and maximum needs to have enough numbers for the quantity requested.