Shuffle Lines into a Fair Random Order
Runs 100% in your browser — your text never leaves this page, and nothing is uploaded or stored.
This shuffle lines tool deals any list into a genuinely random order with the Fisher–Yates method — fair draws, quizzes and playlists, one click. Use it to shuffle names for a draw or randomize a list online for a quiz, playlist or sprint — the Fisher–Yates method gives every line a fair chance, and the order only changes when you press the button.
How to use the Shuffle Lines
- Paste your list into the box, one item per line — or press Load sample to shuffle the example class list.
- Press Shuffle now — this tool deliberately never reshuffles while you type, so the order stays frozen while you use it.
- Read the new order in the result box; the note confirms how many lines were shuffled.
- Copy the order for your draw or quiz — or press Shuffle now again for a completely fresh one.
About this tool
Random order removes human bias: the first name in a list should not always win the draw, and quiz questions should not always arrive in the order they were written. This shuffler deals your lines into a new order with the Fisher–Yates algorithm — the statistically fair method, in which every line is swapped into a position chosen at random, so every possible ordering is equally likely. The randomness comes from your browser’s built-in random number generator — the same source the rest of this site’s generators use. It is unpredictable in practice and evenly spread, which is exactly what fairness needs for draws, quizzes, games and classroom picks. Because the tool is deliberately manual, you stay in control: edit your list, shuffle once, and the order stays frozen while you read it, copy it or present it. Nothing reshuffles under your eyes because you fixed a typo — a fresh order comes only when you press Shuffle now again. Anything that sits on its own line can be shuffled — names, questions, tasks, songs, prizes — and a shuffle is lossless: every line appears in the result exactly once. It all happens in your browser, so the class list, the raffle entries or the team names never leave your device.Worked example
Here is the sample class list that comes with the tool, after one press of Shuffle now — your shuffle will land differently, which is rather the point: You pasteAyesha Bilal Chen Dalia Emeka Fatima George HanaOne shuffle produced
Hana Bilal Emeka Ayesha Fatima George Chen DaliaThe note reads “8 lines shuffled randomly.” Every name appears exactly once — a shuffle never drops, duplicates or edits a line; it only deals the same eight lines into a new order. Press Shuffle now again and the class lines up differently.
Features
- Fisher–Yates shuffling: the fair algorithm in which every ordering is equally likely.
- Manual by design — the order only changes when you press Shuffle now, never while you type.
- Lossless: every line appears exactly once; nothing is dropped, duplicated or edited.
- Works for anything line-based: names, questions, songs, tasks, prizes, presentation orders.
- Instant, unlimited reshuffles — generate a fresh order as often as you need one.
- Private by design: the shuffle happens in your browser; your list never leaves your device.