List Randomizer
Use this list randomizer to shuffle names, tasks or any other items: paste one entry per line, then shuffle the whole list, pick a few at random or split it into random groups.
Result
Add at least one item, and use a whole number of 1 or more for N.
How to use the list randomizer
- Type or paste your items into the box, one per line. Names, chores, restaurant ideas, quiz questions and raffle tickets all work.
- Tick Remove duplicates if the same entry may appear twice. By default the comparison ignores capital letters, so "Anna" and "anna" count as the same item; tick the case-sensitive option to keep both.
- Choose what to do: shuffle the whole list, pick N random items, or split the list into N random groups.
- Press Randomize. Press it again for a fresh result from the same list, then use Copy results to paste the outcome into a chat or document.
How the shuffle works
The tool uses the Fisher-Yates shuffle. Starting at the end of the list, it picks a random position from the start up to the current spot and swaps the two items, then moves one step toward the front. Every ordering of the list is equally likely, which is not true of the popular shortcut of sorting with a random comparison. Random numbers come from your browser's cryptographic generator, crypto.getRandomValues.
Pick N: shuffle the list, then keep the first N items
Groups: deal items one by one into N groups, like cards
Worked example 1: removing duplicates
Suppose a sign-up sheet contains these five lines: Anna, Ben, anna, Cara, Ben. With duplicates removed and case ignored, the list becomes Anna, Ben, Cara, which is 3 items. If you also tick the case-sensitive option, "Anna" and "anna" are treated as different entries and you keep 4 items.
Worked example 2: making teams
You have 10 names and want 3 teams. Because 10 divided by 3 leaves a remainder of 1, the groups are dealt out as 4, 3 and 3 people. The sizes never differ by more than one, and which names land together is random each time you press the button. If you need exactly equal teams, pick a group count that divides your list evenly, such as 2 or 5 groups for 10 people.
Good to know
- Spaces at the start and end of each line are trimmed, but spaces inside an entry are kept.
- Each press of the button is independent. The tool does not remember earlier results, so the same item can come first twice in a row.
- The randomizer is made for everyday choices such as turn order, classroom groups and giveaways among friends. It is not a certified draw for lotteries or legal contests.
- Large lists work, but very long lists make the result box long, so copy the result instead of scrolling through it.
Frequently asked questions
How does the list randomizer shuffle my list?
It uses the Fisher-Yates shuffle, which walks backward through the list and swaps each item with a randomly chosen item at or before it. Every possible ordering is equally likely. The random numbers come from your browser's crypto.getRandomValues function rather than Math.random.
Is the order truly random?
It is random for everyday purposes such as choosing who goes first, drawing a raffle winner among friends or making teams. The tool relies on the browser's cryptographic random number generator. It is not a certified lottery or gambling system, so do not use it where a legal audit of the draw is required.
Can I pick just a few items without repeats?
Yes. Choose the pick option and enter how many items you want. The list is shuffled first and the top items are taken, so the same line can never be chosen twice in one draw. If you ask for more items than the list contains, you simply get the whole shuffled list.
How are the groups sized when the list does not divide evenly?
Items are dealt out like cards, one group at a time, so group sizes never differ by more than one. Splitting 10 names into 3 groups gives groups of 4, 3 and 3.
Is my list sent to a server?
No. Shuffling, de-duplicating and splitting all happen in your browser. Nothing you paste is uploaded or stored by this site.