Text Trim
Trim and normalize whitespace. Collapse multiple spaces, normalize line breaks.
About Text Trim
Remove leading and trailing whitespace from the whole text and from each line. Optionally collapse multiple spaces into one and normalize line endings to LF.
Frequently Asked Questions
What is trimmed?
Leading and trailing spaces and tabs are removed from the whole text and from each line. Multiple spaces in a row can be collapsed to one.
What does "Normalize line breaks" do?
All line break types (CRLF, CR, LF) are converted to a single type (LF), so the text is consistent.
Is my text sent to a server?
No. Trimming is done entirely in your browser.