Trim Whitespace
Strip leading and trailing whitespace from text — per-line, full-text, or with extra-space collapsing.
Advertisement
How to use Trim Whitespace
- Paste your text.
- Choose leading, trailing, per-line, and extra-space options.
- Copy.
What is Trim Whitespace?
Whitespace creeps in from pasted text, copy-pasted from PDFs, web tables, or sloppy editing. Trim it cleanly with control over leading/trailing per line or the whole string, with optional collapse of repeated spaces and tabs.
Advertisement
FAQ
- What counts as whitespace?
- Spaces, tabs, and newlines (when full-text mode is off). Per-line keeps newlines, just trims edges.