cleanup utility

Trim Lines Tool

Remove leading and trailing spaces on each line while keeping line order unchanged.

Run Utility

Paste input, run once, and copy the cleaned result.

Output

Enter values to see the result.

Notes

Running full whitespace cleanup when only edge-trimming per line is needed.
Missing hidden spaces that break sorting, dedupe, or exact match checks.

Example

“ alpha ” becomes “alpha” on that same line.
CSV-like pasted rows become matchable after one trim pass.

Next Utility

Important Use Notice

Informational browser-side utility only. Review transformed text before publishing, filing, sending, or using it in legal, contractual, compliance, or customer-facing material.