QuickFreeTools

Online Normalize Text Spacing

Trim leading and trailing whitespace and collapse runs of spaces (and tabs) to a single space. Preserve line breaks.

Frequently Asked Questions

What does trim do?
Removes spaces, tabs, and newlines from the start and end of the text.
What does collapse do?
Replaces each run of spaces and tabs (on the same line) with a single space. Line breaks are kept.
Client-side?
Yes. All processing happens in your browser.

Related Text Tools