1. Home
  2. Calculators
  3. Random number generator & name picker
Fair draws

Random number generator & name picker

Generate numbers in any range, or paste a list of names to pick a winner, shuffle the order or split into teams. Fair and private.

Result
–

Press Generate. Each draw uses your browser's cryptographic random number generator.

How to use the random number generator & name picker

  1. Choose Numbers or Names.
  2. For numbers, set the range and how many you want, and whether repeats are allowed.
  3. For names, paste your list, one per line or separated by commas.
  4. Press Generate (or Pick), Shuffle list or Make teams.
  5. Copy the result if you need to share it.

What you can do with it

  • Pick a number from 1 to 10 for a quick decision or a game.
  • Draw raffle tickets: set the range to your ticket numbers, choose how many winners and keep "No repeats" on.
  • Lottery-style picks: 6 numbers from 1 to 49 with no repeats, sorted. (A random pick has the same odds as any other.)
  • Choose who goes first or pick a winner from a list of names.
  • Shuffle a presentation order or split a class into teams.

How the randomness works

Most quick scripts use Math.random(), which is fine for games but isn't designed to be unpredictable. This page uses crypto.getRandomValues(), the browser's cryptographically secure generator. To turn a random 32-bit value into a number in your range without favoring some values, it uses rejection sampling: values from the uneven top end are thrown away and redrawn. Shuffles use the Fisher-Yates method, where every order is equally likely. The full story is in how random number generators work.

Fair draws in public

If a draw matters (a giveaway, a classroom prize), make it visible: share the list and the settings before you press the button, and screen-share or record the draw. The tool doesn't store anything, so the result on screen is the only record.

Frequently asked questions

How do I pick a random number between 1 and 10?

Set From to 1, To to 10 and How many to 1, then press Generate.

Can I generate random numbers without repeats?

Yes. Tick 'No repeats' and every number in the result will be different, as long as the range has enough values.

How do I pick a random name from a list?

Switch to Names, paste the list and press Pick. Choose how many names to draw.

Is this random number generator truly random?

It uses your browser's cryptographically secure generator, which is designed to be unpredictable. It's suitable for draws and games, not for regulated lotteries.

Can it split people into teams?

Yes. Enter the number of teams and press Make teams. Sizes differ by at most one.

Are my names saved?

No. The list stays in your browser and nothing is sent anywhere.

Related guides

Related tools

See everything in Calculators →

More free calculators, same plain working

Every DoesWhat tool shows how it got the answer, runs in your browser and never asks for an email.

Browse all calculators