Skip to content
M2TOOLKIT

Random Number Generator

Pick random numbers in any range — one at a time or thousands, with or without repeats.

  • Free
  • No sign-up
  • Runs in your browser
Press Generate to pick a number.

Uses crypto.getRandomValues with no modulo bias, so every number in the range is equally likely.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the Random Number Generator

  1. Set the minimum and maximum.
  2. Choose how many numbers and whether repeats are allowed.
  3. Press Generate.

What does this tool do?

“No repeats” draws numbers like balls from a bag, so each can appear only once — ideal for raffles and lottery-style picks. With repeats allowed, each number is independent, like rolling a die.

Why use it?

  • Raffles and prize draws.
  • Random samples for surveys and audits.
  • Games and classroom activities.

Example

6 numbers from 1 to 49 with no repeats, sorted: a typical lottery-style pick.

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Frequently asked questions

Is it truly random?

Results come from crypto.getRandomValues, your browser's cryptographically secure random generator, with an unbiased method of picking from a range — so every outcome is equally likely.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the random number generator.