Clean up pasted text

Fix text copied from Word, PDFs, web pages or AI chats: curly quotes, odd spaces, invisible characters and broken lines.

Input

Output

Fixed 2 invisible characters, 2 odd spaces, 1 single quote, 2 double quotes, 1 ellipsis
Words 36Characters 226Without spaces 181Sentences 4Lines 8Paragraphs 2Reading time < 1 min

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

  1. Paste the text into the Input box.
  2. Choose the fixes: straight quotes, dashes, odd spaces, invisible characters, extra spaces and blank lines.
  3. Turn on Join broken lines for text copied from a PDF, where each line ends with a hard break.
  4. 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.

Related tools