Paste text with inconsistent spacing and get clean, single-spaced text with excess blank lines trimmed.
Extra spacing tends to sneak into text from a handful of predictable sources: double-spacing after a period (a formatting habit from typewriter-era style guides that's now considered outdated by most modern style guides), text copied from a table or spreadsheet where cell padding turns into literal spaces, or a document where a search-and-replace accidentally introduced repeated spaces. On its own, none of this breaks anything functionally, but it does make text look inconsistent and unprofessional, and it can occasionally cause subtle bugs in code or data processing that treats whitespace as meaningful.
This tool performs three cleanup passes at once: it collapses any run of multiple spaces or tabs into a single space, trims leading and trailing whitespace from every line, and reduces three or more consecutive blank lines down to a single blank line so paragraph spacing stays consistent without being eliminated entirely. It reports the total number of characters removed so you have a concrete sense of how much excess spacing was actually present, which is often surprising once text has passed through a few rounds of copying and pasting between different applications.
It's a quick, unglamorous but genuinely useful step in cleaning up text before publishing, submitting, or sharing it — used by writers finalizing a draft, developers cleaning up pasted configuration text, and anyone tidying up a document that's been edited by multiple people in multiple tools over time.