Use Trim Lines in three simple steps
Add text
Paste your content or import a UTF-8 TXT file up to 5 MB.
Review the result
Paste copied lists and review edge whitespace removal line by line.
Copy or download
Copy the result or save it as a TXT file.
Remove leading and trailing whitespace from each line while preserving internal spaces.
Paste your content or import a UTF-8 TXT file up to 5 MB.
Paste copied lists and review edge whitespace removal line by line.
Copy the result or save it as a TXT file.
Remove leading and trailing whitespace from each line while preserving internal spaces.
No. Internal spaces and tabs remain; only whitespace at the edges is removed.
No. Internal spaces and tabs remain; only whitespace at the edges is removed.
No. Blank lines remain. Use Remove Empty Lines to delete them.
Yes. No account is needed, and your input is processed locally in your browser without being uploaded to FormatKit.