Skip to content
hateitall

Random Number Generator

Draw numbers that are genuinely fair, for raffles, samples or games.

Processed locallyIn: Number rangeOut: Number, Text

Loading tool…

How to use random number generator

  1. Set the minimum and maximum (both are included).

  2. Choose how many numbers and how many decimal places.

  3. Tick no repeats for lottery-style draws, and pick an order.

  4. Press Generate, then copy or download the list.

What this tool does

  • Uses crypto.getRandomValues with rejection sampling, so every value in the range has exactly the same chance.
  • Ranges up to 2^53 values, so large ranges stay exact.
  • Draws up to 10,000 numbers at once, with or without repeats.
  • Decimal output works in exact steps, such as 0.01 apart for two places.

How the result is verified

Every result is checked to lie in your range and, with no repeats on, to be distinct. You can test fairness yourself: draw 10,000 numbers from 1 to 10 and each value should appear close to 1,000 times.

Frequently asked questions

Is this random enough for a prize draw?

It uses the same secure random source browsers use for encryption keys, with no bias between values. For legal draws, also follow your local rules on witnesses and records.

What does no repeats do?

Each number can come out only once, like drawing balls from a bag. If you ask for more numbers than the range holds, the tool tells you instead of looping.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Pick winners, shuffle a list or split people into even teams

Text list→ TextLight on device

Roll any dice notation (2d6+3, 4d6kh3) or flip a coin, fairly

Dice notation→ NumberLight on device

Made-up names, usernames and example.com test emails for mock data

Count · Name style→ TextLight on device

Random numeric PINs that skip repeats, runs, years and pairs

Digits · Count→ TextLight on device

Bulk random strings from preset or custom character sets, no repeats

Length · Character set→ TextLight on device