Shuffle Lines Randomly
About this tool
About Shuffle Lines
Randomize the order of quiz questions, a presentation running order, names for a draw, a playlist, test cases or flashcards. Paste one item per line and the list is shuffled immediately with the Fisher–Yates algorithm, driven by your browser's cryptographically secure random number generator, so every possible order is equally likely and there's no hidden bias toward the start or end of the list. Click Shuffle again for a fresh order as often as you like. Empty lines are dropped so they don't count as entries, spaces around each line are trimmed, and you can remove duplicates first so nobody gets two chances. Each line is moved as a whole and its text never changes. When you need the result to be visible to others, as in a giveaway, the Random Picker and Random Team Generator show the draw on screen, while this page is the fastest way to get a shuffled list to paste elsewhere. Nothing is uploaded or recorded.
Built and maintained by Abhi JainUpdated
How to Shuffle Lines
- 1
Paste the list
Paste one item per line into the Lines box.
- 2
Shuffle
The list is shuffled at once. Click Shuffle again for a new order, and tick Remove duplicates if needed.
- 3
Copy
Copy or Download the shuffled list.
Shuffle Lines: questions and answers
Is the shuffle truly random?
It uses crypto.getRandomValues, the same secure source used for passwords, with an unbiased Fisher–Yates shuffle, so every order has the same probability.
Why does it reshuffle when I type?
Any change to the list produces a new shuffle. Paste the complete list first, then use Shuffle again until you are happy and copy.
How do I pick one random winner?
Use the Random Picker, which draws one or more names and shows the result.
Can I split a shuffled list into teams?
Yes, with the Random Team Generator, which shuffles names and divides them into balanced groups.
More Sort Lines presets
Related tools
- Text CleanerRemove duplicate and empty lines, extra spaces, line breaks, HTML tags, curly quotes and invisible characters in one pass.
- Find and ReplaceFind and replace text with several rules at once, plain or regex, match case, whole words and case-preserving replacement.
- Random Name PickerSpin a wheel or draw winners from a list of names, with remove-winner mode and history.
- CSV Viewer & EditorOpen, edit, sort, filter and search big CSV files like a spreadsheet, then export CSV, TSV or JSON.
- Word CounterCount words, characters, sentences and paragraphs, with reading time, keyword density and limits.