List Utilities — Dedupe, Sort & Clean Lines
One box for every line-list chore: paste keywords, emails, URLs, or any one-item-per-line list, then toggle duplicate removal, whitespace trimming, blank-line cleanup, sorting (A–Z, Z–A, by length, or shuffled), reversal, and prefix/suffix text. Operations combine, so one paste replaces a chain of separate tools.
Result
Paste a list above; the processed version appears here.
Lay the list out in Moda
Turn your cleaned list into a designed checklist, agenda slide, or comparison table.
Try Moda free →Operations apply in a fixed order
Toggles run as a pipeline: trim whitespace first, then remove blank lines, then deduplicate, then sort, then reverse, and prefixes/suffixes go on last. The order is chosen so the toggles cooperate — trimming before deduplication means "apple" and "apple " (trailing space) collapse into one when both are on, and adding a "- " prefix never changes what sorts where or which lines count as duplicates. Reverse after sort gives you descending-by-length when you combine those two.
How duplicates are matched
Deduplication keeps the first occurrence of each line and preserves the original order of everything it keeps — so a keyword list stays in priority order minus the repeats. Matching is exact by default; switch off case-sensitive matching to also collapse "Apple" and "apple" (the first spelling encountered wins). Lines that differ only in invisible whitespace are different lines unless the trim toggle is on, which is the usual culprit when two identical-looking lines both survive.
Sorting is human, not ASCII
A–Z sorting uses natural ordering: "item2" sorts before "item10" (a plain character sort puts 10 first), accented letters sort with their base letter, and case differences do not scatter the list. Length sort is shortest-first with alphabetical tie-breaks so equal-length lines have a stable order. Shuffle produces a genuinely uniform random order — use the Reshuffle button to redraw without touching your input, handy for picking a random winner or randomizing a review queue.
Frequently asked questions
Which duplicate is kept — the first or the last?
The first occurrence survives and keeps its position; later repeats are removed. The counter above the output tells you how many lines were dropped.
Can I remove duplicates without changing the order of my list?
Yes — leave sort on "Keep order" and only enable the duplicate toggle. Deduplication itself never reorders; only the sort and reverse controls do.
How do I turn a list into comma-separated values?
Set the suffix to a comma, copy the result, and paste — each line ends with ",". A true one-line CSV also needs the line breaks removed, which a find-and-replace on newlines finishes off.
Why do "Apple" and "apple" both remain after deduplication?
Case-sensitive matching is on by default, and those are different strings. Uncheck "Case-sensitive matching" under the duplicate toggle to merge them; the first spelling in the list is the one kept.
Is there a limit on list size?
No fixed cap — everything runs locally in your browser, and lists in the tens of thousands of lines process instantly. Very large pastes are limited only by your browser’s memory.