Text Cleaner
Tidy up messy lists and pasted text: deduplicate lines, sort them, trim stray spaces, and clear out the blanks, each cleanup under your control.
Files stay on your device
These tools process your files locally in your browser. Your documents are not uploaded to our servers.
0 characters
Cleaned text
Everything runs in your browser. Your text is not uploaded for processing and never leaves this device.
Frequently asked questions
What counts as a duplicate line?
Lines that are identical after the other cleanups run. Trimming happens first, so two lines that differ only by stray spaces count as duplicates when Trim each line is on.
Does sorting move blank lines around?
Sorting is a plain alphabetical sort of whatever lines remain. Most people remove empty lines first, which is why that option is on by default.
Can I undo a cleanup?
The input box is never modified: the cleaned result appears in the output panel, so your original text stays untouched until you copy the result over it yourself.