Random name picker

Paste a list and this random name picker draws one name or several at a time. By default, a picked name sits out until you start over.

  • Free
  • No sign-up
  • Draws run in your browser
  • Up to 10,000 names

One per line, or one line separated by commas

They sit out until you start over

How to use it

  1. 1Paste or type your names, one per line.
  2. 2Choose how many to pick, and whether picked names leave the draw.
  3. 3Press Pick. Copy the results, or share a link that keeps the list and the picks.

How the random name draw works

Each pick comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the source used for passwords and encryption keys, rather than Math.random.

A simple way to pick is to take a large random number, divide it by the number of names and keep the remainder. Unless the number of possible values divides evenly by the number of names, that makes the first names on the list a tiny bit more likely. This picker throws away the few numbers that would tip the balance and draws again. To pick several names at once, it shuffles the list with the Fisher–Yates method and takes them from the top.

Each line is one entry, so a name typed twice has two chances, and the picker points out repeats under the result. It only draws from the names you give it and never makes names up, which is why some people call it a random name selector or a random name generator from a list.

How to pick a random name in Excel or Google Sheets

With the names in A2 to A31 and no empty cells between them, this formula shows one of them at random, in Excel and in Google Sheets:

=INDEX(A2:A31, RANDBETWEEN(1, COUNTA(A2:A31)))

It picks again every time the sheet recalculates, including when you type in another cell, so copy the result and paste it as a value before you carry on. Picking several names without repeats takes a longer formula that sorts the list by random numbers; the picker at the top of this page does it in one step.

Questions

Related tools