Clean up a list: trim whitespace, remove empty or duplicate lines, and sort.
Paste a list, choose what to change, and select Tidy text. Your original stays untouched.
This tool does not send or save your text. Processing happens in this page; copying writes only to your clipboard.
Waiting for the tool to load. If controls stay disabled, JavaScript may be unavailable.
How it works
Options run from top to bottom. Duplicate removal keeps the first occurrence. Sorting uses JavaScript's fixed, case-sensitive string order, not language-specific dictionary order.
Windows and older Mac line endings become line feeds. A final line ending is preserved when the result is not empty. Reloading or leaving the page discards its working state.