Text Deduplicate \u0026 Sort
Free online text deduplication tool, sort and remove empty lines
About Text Deduplicate
Operates on newline-separated lists with one-click transforms: Remove Duplicates, Sort Ascending, Sort Descending, Remove Empty, Reverse Lines, and Trim Lines. Each action runs against the current input and writes the result to the output box.
How to Use
1. Paste a list into the Input area (one item per line). 2. Click an action button (Remove Duplicates, Sort Asc, Sort Desc, Remove Empty, Reverse Lines, Trim Lines). 3. The result appears in the Output area. 4. Input and output line counts are shown beneath the output.
Available Actions
Remove Duplicates keeps the first occurrence of each line and drops later repeats (case-sensitive, exact match). Sort Ascending/Descending order lines with locale-aware string comparison. Remove Empty drops lines that are empty or whitespace-only. Reverse Lines flips the order of lines. Trim Lines removes leading and trailing whitespace from each line.
▶Is duplicate detection case-sensitive?
▶Which sort order is used?
▶Does Remove Empty strip whitespace-only lines?
▶Can I chain multiple actions?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee