Formatting
Copied text is rarely one kind of mess. A PDF list arrives with a space at both ends of every line. A chat export doubles blank lines. A spreadsheet dump repeats a header. Text cleaner keeps those repairs on one Operation menu and runs only the one you pick, so you can see the change before you choose the next repair.
The menu opens on trim. Each line loses the spaces and tabs at its ends. The gaps between words stay, and a line that is only a space stays, because a space-only line is not trailing space. Collapse spaces is the operation that turns “Odd socks” into “Odd socks”. Remove empty lines is the one that deletes a line with nothing but whitespace. Dedupe keeps the first copy. Sort, reverse, and shuffle reorder lines. Strip HTML, straighten curly quotes, and remove line numbers, emails, or URLs are the other choices.
Ignore case matters only while deduplicating. On trim, sort, or strip it does nothing. A sentence that is already tight does not move: “Odd socks in the dryer.” comes back with the same words and the same period.
Two lines, each with spaces at both ends: “ Odd socks ” and “ in the dryer. ”. Operation left on trim.
Odd socks in the dryer. The words and the period stay. Only the padding on each end is gone. Interior double spaces would still be there.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
Trim only touches the ends of lines. Choose collapse spaces when the mess is inside the line.
No. Each run is one operation. Trim, copy the result back into the box, then sort.
No. That switch is read only when the operation is dedupe. Sort order follows English comparison, with numbers treated numerically on the natural sort.
Trim turns it into an empty line and leaves it. Remove empty lines deletes it.
No. Tags are removed and the visible text remains. Script and style contents are dropped entirely. Use extract URLs if you wanted the addresses.