Skip to content
MixTool

Random number generator

Pick fair random numbers in any range — one or thousands, with or without repeats.

  • Runs entirely in your browser
  • Free · no sign-up
  • Works on phone and desktop
Loading tool…

Fair, unbiased random numbers

Set a minimum and maximum, choose how many numbers you need and press Generate. Every number in the range has exactly the same chance, because the generator uses your browser's cryptographically secure random source with rejection sampling to avoid the subtle bias of simpler methods.

Turn on No repeats to draw unique numbers, like pulling tickets from a hat — perfect for raffles and lottery picks. You can also sort the results, add up to six decimal places, and copy the list separated by new lines, commas or spaces. One-click presets cover 1–10, 1–100, dice rolls and lottery-style draws.

How to generate random numbers

  1. 1

    Set the range

    Minimum and maximum, both included.

  2. 2

    Choose how many

    Up to 10,000 at once.

  3. 3

    Pick options

    No repeats, sorting and decimal places.

  4. 4

    Generate and copy

    Press Generate again for a new draw.

Key features

  • Secure randomness

    Web Crypto instead of Math.random().

  • Unique draws

    No-repeat mode for raffles and lotteries.

  • Decimals

    Random values with up to 6 decimal places.

  • Quick presets

    Dice, 1–100 and lottery-style picks.

Common uses

  • Giveaways and raffles: Draw winners fairly from numbered entries.
  • Games and classrooms: Roll dice or pick a student at random.
  • Sampling: Choose random rows or records to review.

Tips and good to know

Frequently asked questions

Are these numbers truly random?

They come from your device's cryptographically secure random generator, the same source used for encryption keys. That's unpredictable enough for any game, raffle or sample.

How do I pick lottery numbers?

Use the lottery preset, or set the range (for example 1–69), how many numbers you need, and turn on No repeats and sorting.

Can I use this for an official drawing?

It's fair and unbiased, but official lotteries and regulated sweepstakes usually require certified equipment and an auditor.