What is a Trim Each Line?
Trim Each Line removes the leading and trailing whitespace from every line of your text. Choose to trim both ends, just the start, or just the end. It's the fix for lines with stray indentation or invisible trailing spaces. It runs entirely in your browser, so your text stays private.
Lists and data copied from elsewhere often have hidden whitespace — leading spaces that misalign items, or trailing spaces you can't see but that break comparisons and exact matches. Trimming each line cleans it up.
This tool trims every line in one click, with control over which end, entirely in your browser. Nothing is uploaded. Paste, trim, and copy.