Random Number Generator

Generate random numbers within any range instantly. Set a minimum and maximum, choose how many numbers to generate, and optionally ensure every result is unique — perfect for raffles, games, and quick picks.

Click Generate to pick random numbers
Result

Frequently Asked Questions

How does the Random Number Generator work?

Set a minimum and maximum value, choose how many numbers to generate, and click Generate. The tool uses JavaScript's built-in random function to pick numbers within your range.

What does Unique numbers only do?

When checked, no number appears twice in the results. The count cannot exceed the range size — for example, you cannot pick 10 unique numbers between 1 and 5.

Can I generate decimal numbers?

This tool generates whole integers. For decimal ranges, use non-integer min/max values — the tool rounds to the nearest integer within the range.

Is this truly random?

Results are pseudorandom — suitable for games, raffles, and everyday use. For cryptographic security use the Password Generator which uses crypto.getRandomValues().

Is this tool free and does it work on mobile?

Yes on both counts. The Random Number Generator on draft21 is completely free with no sign-up required and works on all devices.