Fixes copy-paste damage
Text lifted from PDFs, Word documents and web pages arrives with double spaces, justified-text gaps, stray tabs and hard line breaks mid-sentence. One pass normalises all of it.
Collapse double spaces, trim lines, strip all whitespace or flatten line breaks.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Remove extra spaces from text: collapse repeated spaces and tabs to one, trim every line, strip all whitespace, or flatten line breaks into a single paragraph.
Extra whitespace is the quiet defect behind a surprising number of problems: a search that fails because a value has a trailing space, a CSV column that will not match, a paragraph that looks ragged after a paste, a word count that is inflated by double spacing. None of it is visible, and all of it is annoying.
PDFs and printed documents use spacing to justify text, so copying a paragraph often yields irregular gaps between words and hard line breaks at the edge of every column.
Word processors carry non-breaking spaces, tab stops and multiple spaces typed by hand — the classic “space after a full stop” habit produces double spacing throughout.
Web pages collapse whitespace visually but keep it in the source, so a copy from a rendered page can include indentation and newlines that never appeared on screen.
Spreadsheets and exports frequently pad values to a fixed width, leaving trailing spaces that break exact matches.
Collapse is the default because it fixes the common case without destroying deliberate structure — your paragraphs and single spaces survive, and only the noise goes.
In any exact-match context — a database lookup, a VLOOKUP, a de-duplication pass, a form validation — a leading or trailing space makes two otherwise identical strings different. Trimming whitespace before comparison is one of the first things a data-cleaning script does, and doing it here by hand is the quick equivalent for a list you are about to paste somewhere that will not forgive the extra characters.
Step by step
Paste the text that has picked up stray spacing.
Pick a mode: collapse extra spaces, remove all whitespace, or flatten line breaks.
Watch the cleaned text and the count of removed whitespace characters.
Copy the result or download it as a plain-text file.
Why use it
What this tool is good for, and what it deliberately does not try to do.
Text lifted from PDFs, Word documents and web pages arrives with double spaces, justified-text gaps, stray tabs and hard line breaks mid-sentence. One pass normalises all of it.
Collapse repeated spaces to a single space and trim each line; remove every whitespace character to get one continuous run; or flatten all line breaks into a single paragraph.
The stats report how many whitespace characters were in the source, how many remain, and how many were cut, so you can confirm the clean-up did what you expected.
Everything runs locally. Contracts, manuscripts and transcripts are tidied in the page with no upload and no server round trip.
Questions
Short, honest answers about quality, limits and privacy.