This list randomizer shuffles the lines of your list into a new random order. Paste names, tasks, numbers or URLs – one per line – press Calculate, and copy the shuffled list. Press it again for a fresh order every time.
How the list randomizer works
The tool splits your text at every line break, rearranges the lines with JavaScript’s built-in random number generator (Math.random()), and joins them back with line breaks:
items = text.split("\n")
shuffled = items rearranged using Math.random()
output = shuffled.join("\n")
Nothing is added, removed or edited – each line appears exactly once in the result, only its position changes. A list of five names has 5! = 120 possible orders; ten names already have more than 3.6 million.
The textbook method: Fisher–Yates
The statistically ideal way to shuffle is the Fisher–Yates (Knuth) shuffle, which gives every possible order exactly the same probability:
for i from last index down to 1:
j = random integer from 0 to i
swap items[i] and items[j]
For a quick team split or classroom turn order, a browser shuffle is all you need. For a prize draw, a lottery or anything people may dispute, use a documented Fisher–Yates or certified random process, record the input list, and announce the method before the draw.
Worked examples
- Presentation order: paste
Alice, Ben, Chloe, Dev, Emmaone per line. A run might return Chloe, Emma, Alice, Dev, Ben. Run it again and you get a different order. - Two random teams: shuffle 12 players, then take lines 1–6 as Team A and lines 7–12 as Team B.
- Pick a winner: shuffle the entrants and take the first line. With 40 entrants each has a 1 in 40 (2.5%) chance on a uniform shuffle.
- Quiz questions: shuffle 20 questions to create different versions of the same test for neighboring desks.
How many orders are possible?
| Items in list | Possible orders (n!) | Chance of one exact order |
|---|---|---|
| 3 | 6 | 1 in 6 |
| 5 | 120 | 1 in 120 |
| 8 | 40,320 | 1 in 40,320 |
| 10 | 3,628,800 | 1 in 3.6 million |
| 20 | 2.43 × 1018 | effectively never repeats |
| 52 (a deck of cards) | 8.07 × 1067 | effectively never repeats |
Tips and edge cases
- One item per line. The tool only splits on line breaks. A comma-separated list counts as one item – convert it first with the Text Separator.
- Blank lines are items too. An empty line, including one left by a trailing Enter, gets shuffled like any other entry and can land in the middle of the result. Delete empty lines before shuffling.
- Duplicates are kept. If a name appears twice it has twice the chance of landing first. Clean the list with the Duplicate Lines Remover when every entry should count once.
- Unicode is safe. Lines with accents, non-Latin scripts or emojis are moved as whole lines and never altered.
- Weighted draws: to give someone two tickets, list their name twice on purpose.
- Repeatability: every click produces a new order; there is no seed. Copy and save the result if you need to prove what came out.
Shuffle the whole list or pick a few?
Shuffling gives you a complete random ranking, which is more useful than a single pick: the first line is your winner, the next two are runners-up, and the rest is a ready-made waiting list if a winner doesn’t respond. For “choose 3 of 30”, shuffle once and take the top three lines rather than running three separate draws – it guarantees nobody is picked twice.
Where people use it
Teachers randomize call-on order and seating; managers pick stand-up speaking order; developers shuffle test fixtures and sample URLs; marketers rotate ad variants or pick giveaway winners; board-game groups decide who goes first.
Privacy
The shuffle runs entirely in your browser. Names and lists you paste are never uploaded or stored on our server.
Related list tools
- List Alphabetizer – put the list back in A–Z order
- Reverse List – flip the order top to bottom
- Duplicate Lines Remover – make every entry unique first
- Text Separator – turn comma- or space-separated text into lines
- Character Counter – count lines and words in the list
Frequently Asked Questions
How do I shuffle a list randomly?
Paste your items one per line and press Calculate. The list randomizer returns the same items in a new random order; press it again for another order.
Does the list randomizer remove duplicates?
No. Every line is kept, so a duplicated name has a higher chance of landing first. Remove duplicates first if each entry should count once.
Can I use it to pick a giveaway winner?
For informal giveaways, shuffle the entrants and take the first line. For prize draws with legal or financial stakes, use a documented, auditable random process such as a Fisher–Yates shuffle with a recorded input list.
Why did a blank line appear in my result?
Empty lines, including a trailing line break, are treated as items and shuffled too. Delete them from the input before randomizing.
Is my list stored anywhere?
No. The shuffle is done by JavaScript in your browser and nothing is sent to a server.