Skip to content
M2TOOLKIT

Everyday · free tool

Random Number Generator

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

Use it as often as you like — it's free, with no sign-up and no limits.

  • Everyday
  • Free
  • No sign-up
  • Runs in your browser
  • Updated
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.

Can I use it for a raffle or prize draw?

It's fine for informal draws like classroom raffles or office giveaways. Regulated lotteries and some prize promotions have legal rules about how winners are drawn, so check those first.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the random number generator.