Why a phrase you can see on the screen does not turn up in a search
You paste a product description from a supplier's website into your shop. Later, a search for "stainless steel" does not find it, though the words are right there. The usual cause is a character that looks like a space but is not one. Web pages use the no-break space to stop a line wrapping between two words, and it survives a copy and paste. To a search, "stainless" plus a no-break space plus "steel" is not the same text as the phrase you typed.
Paste the description here and every no-break space becomes a plain one. So do the other unusual spaces: the thin space some designers put around a dash, the narrow no-break space French uses before a colon or a question mark, and the wide space from Chinese and Japanese text. After that, the search matches, because the text now holds the characters it seems to hold.
The same pass handles the visible mess. "Free delivery on all orders" becomes "Free delivery on all orders", with one space between words. Tabs between words become a space too, which helps when text comes out of a table. Spaces at the start and end of every line go, and the note under the result tells you how many lines changed, for example "Changed 12 of 40 lines", so you can see the tool did not rewrite text that was already clean.
Blank lines are left alone unless you ask. Turn on Squeeze runs of blank lines to one and any gap of several empty lines becomes a single empty line, which is what you want for prose copied from a PDF or an email. Empty lines at the very start and end of the text are always removed.
There are limits. Because indentation is spaces at the start of a line, this tool removes it, so it is the wrong choice for code or for a nested list; Trim Whitespace with End only is the right one there. It also writes the result with plain line breaks, so a file with Windows line breaks comes out with Unix ones, which nearly every program reads fine. It does not remove zero-width characters, which are not spaces; the Whitespace Visualizer finds those. It takes up to 1 MB of text at a time.