TOOLTIKI Lovable tool, really free
Text Transform

Text cleaner

What to do

Transformed in your browser · nothing is uploaded

Local · zero-width characters are the usual culprit
Advertisement
320 × 100

Flattens curly quotes and em dashes to plain ASCII, collapses runs of whitespace, strips zero-width characters and removes blank lines — the whole set of things that go wrong when text moves between applications.

How to use the text cleaner

1 Paste your text into the first box.
2 Choose what you want done to it.
3 Copy the result, or save it as a text file.

The invisible characters are the ones that actually cause trouble. Text copied from a website often carries zero-width spaces, non-breaking spaces and directional marks that look like nothing and break string comparisons, CSV imports and search. A field that refuses to match a value you can see is identical is almost always this. Smart quotes are the other frequent culprit: they are different codepoints from the straight ones, so a smart apostrophe in a config file, a CSV or a piece of code is a syntax error that looks perfectly fine on screen.

Questions

Curly quotes and dashes become straight ASCII, runs of whitespace collapse, zero-width and non-breaking spaces go, and blank lines are dropped.

Unicode — the Unicode standard
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING