About Text Cleaner
Text copied from Word, a PDF, a web page or an AI chat carries baggage you cannot see: curly quotes, non-breaking spaces, zero-width characters, double spaces and lines broken in the middle of sentences. They break code, spreadsheets, search and forms.
Paste the text here and every fix you leave switched on is applied at once. The note above the result says exactly what was changed.
How to use it
- Paste the text into the Input box.
- Choose the fixes: straight quotes, dashes, odd spaces, invisible characters, extra spaces and blank lines.
- Turn on Join broken lines for text copied from a PDF, where each line ends with a hard break.
- Copy the clean text or download it as .txt.
Frequently asked questions
What are invisible characters?
Characters such as the zero-width space, the byte order mark and the soft hyphen take up no room on screen, so you cannot see them, but they still make two words that look the same compare as different. This tool removes them.
Why are curly quotes a problem?
Word processors replace " and ' with typographic quotes. They look nicer, but code, command lines, JSON and many forms only accept the straight versions.
Does Join broken lines keep my paragraphs?
Yes. Lines are joined only inside a paragraph; an empty line still separates paragraphs. A word split with a hyphen at the end of a line, such as “exam-” and “ple”, is joined back into one word.