List Sorter
Sort, deduplicate, trim, or shuffle a list of lines instantly.
List Sorter
Sort, deduplicate, trim, or shuffle a list of lines instantly.
Starts in your browser. Instructions are below.
How to use List Sorter
- 01Paste your list into the input box, one item per line.
- 02Choose a sort mode: A to Z, Z to A, By length, Numeric, Reverse order, or Shuffle.
- 03Toggle Remove duplicates, Trim whitespace, and Remove empty lines, then press Copy output.
About List Sorter
This list sorter rearranges, cleans, or shuffles a list of lines without any upload. A to Z and Z to A sort alphabetically and ignore case, so names sort the way you would expect regardless of capitalization.
Numeric mode reads the leading number on each line, so a list like "9 eggs" and "10 eggs" sorts in numeric order instead of text order. Shuffle uses a Fisher-Yates shuffle driven by the cryptographic random generator, so every ordering is equally likely, which suits drawing names or randomizing a running order.
Turn on Remove duplicates to keep only the first occurrence of each line, and Trim whitespace or Remove empty lines to clean up a messy paste before you use the list elsewhere.
Frequently asked questions
- Is my list uploaded anywhere?
- No. Everything happens in your browser.
- How does numeric sorting work?
- It reads the number at the start of each line and sorts by that value, so 9 comes before 10.
- Does removing duplicates keep the original order?
- Yes, the first occurrence of each line is kept and later repeats are dropped.
- Is the shuffle truly random?
- Yes, it uses the browser's cryptographic random generator rather than a simple pseudorandom function.
Related tools and tools
Word & Character Counter
Count words, characters, sentences, paragraphs and reading time as you type.
Text Case Converter
Switch text between uppercase, lowercase, title, sentence, camel, snake and kebab case.
Diff Checker
Compare two texts line by line and see exactly what was added or removed.
Random Picker
Paste a list of entries and pick one or more random winners instantly.