Random Number Generator (Pick Numbers in a Range)

Pick random numbers in any range. Choose how many, block duplicates, sort, exclude numbers, and copy results in one click. Free and runs in your browser.

How many

Comma-separated; ranges like 20~25 work too.

Press the button to pick numbers

How to use it

  • Set the minimum and maximum (1–100 by default) and how many numbers you want (1–100), then press Generate. The numbers roll like a slot machine and lock in one by one.
  • Turn off Allow duplicates to make every number unique. If you ask for more unique numbers than the range holds, you will see a notice.
  • In Exclude numbers, type values separated by commas, like 4, 13, or a range like 20~25. Those numbers will never be picked.
  • Copy the result with one click. The last 10 results are listed below (they clear when you reload the page).

Common uses

Situation Example setup
Raffle with numbered tickets 1 to number of tickets, count = prizes, no duplicates
Calling on a student 1 to class size, count 1
Dice replacement 1–6, count 1
Sample IDs for testing Any range, several numbers, sorted

How are the numbers generated?

Numbers come from your browser's cryptographic random number generator (crypto.getRandomValues). The tool also removes modulo bias, a small skew that can make some values come up slightly more often, so every number in the range is equally likely. Everything runs on your device; nothing is sent to a server.

It handles whole numbers from -1,000,000,000 to 1,000,000,000. For lottery-style picks, the Lotto Number Generator is a better fit, and the Spin the Wheel works well for names or menu choices. For anything security-related, use the Password Generator.