🔒 Runs in your browser — nothing is uploaded✓ Free, no signup

Random Number Generator

Pick random numbers between any minimum and maximum — one number or a whole list, with no duplicates, sorted, or with decimals.

Quick picks

Result

Set a range and click Generate.

Uses your browser's cryptographically secure random generator, so every number in the range is equally likely.

When should you use the Random Number Generator?

  • Picking a raffle or giveaway winner
  • Rolling dice or choosing lottery numbers
  • Generating random test data or sample IDs

How to use the Random Number Generator

  1. 1

    Set the range

    Enter the smallest and largest number you want. Both are included.

  2. 2

    Choose how many

    Generate one number or up to 1,000 at once.

  3. 3

    Pick options

    Tick No duplicates for unique numbers, Sort results to order them, or choose decimal places.

  4. 4

    Generate

    Click Generate — or use a quick pick such as Dice or Lottery.

Examples

Lottery numbers

Settings

Min 1, max 49
How many: 6
No duplicates, sorted

Example result

4, 11, 19, 27, 33, 46

Common errors and how to fix them

Only N different whole numbers exist
With No duplicates on, you can't ask for more numbers than the range contains. Widen the range or lower 'How many'.
Min must be less than or equal to max
Swap the two values so the smaller number is in Min.
Related tools: Password Generator · UUID Generator · Hash Generator

More from Generators & Testers

Free tools that run in your browser — no signup, nothing uploaded.

Random Number Generator FAQ

It uses your browser's cryptographically secure generator (crypto.getRandomValues), the same source used for encryption keys. Every number in the range has an equal chance, with no bias toward any value.

Tick 'No duplicates'. Each number then appears at most once — useful for raffles, lotteries or picking winners. You can't ask for more unique numbers than the range contains.

Yes. A range of 1 to 10 can return both 1 and 10.

Yes. Choose 1 to 4 decimal places to get numbers like 3.14 or 0.257 anywhere between your min and max.

Number your entries from 1 to N, set min to 1 and max to N, and generate one number. For several winners, set 'How many' and tick 'No duplicates'.

No. Numbers are generated on your device and nothing is recorded.