Shuffle List
Shuffle list items randomly.
About this tool
Paste a list with one item per line and press Run to get the same lines in a random order. Run it again for a new order.
How to use
How it works
The lines are shuffled with a Fisher-Yates pass driven by the browser's Math.random. Every ordering is equally likely for a fair generator, but Math.random is not a cryptographic source, so do not use the tool where someone could gain by predicting the result.
Worked example
Presentation order
- Input
- Ana Bo Cem Dee Eli
- Output
- The same five names in a random order, different each run
- Walkthrough
- Nothing is added or removed; only the order changes.
Limitations
- Uses Math.random, not a cryptographic generator.
- Blank lines are shuffled like any other line.
- No seed, so a result cannot be reproduced.
Questions
How do I randomise the order of a list?
Is the shuffle fair?
Can I repeat the exact same shuffle?
Features
- Fisher-Yates shuffle
- Reshuffle with one click
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
HTML in 100 Seconds
Fireship
Quick HTML mental model next to text transform tools.
Watch on YouTubeLearn JSON - Full Crash Course
freeCodeCamp.org
Structured text formats often sit next to plain-text tools.
Watch on YouTube
- UTF-8 and BOM
W3C
Encoding gotchas when cleaning pasted text.
- Regular expressions
MDN
Pattern matching used in advanced text cleaners.