Clean text
Trim surrounding spaces and remove blank or duplicate lines.
How to use it
Paste your text and select only the cleanup options you need.
Result
The cleaned text appears in a read-only box for copying. The panel warns you if the result is empty.
Formats and limits
Text up to 200,000 characters.
If something goes wrong
If lines you need disappear, turn off duplicate or empty-line removal and apply the cleanup again to the original text.
Can I remove duplicate lines without trimming spaces?
Yes. You can turn on duplicate removal separately.
What happens to what you type
What you type is processed on this page and is not sent to any server. It is cleared when you reload or close the page.