Text tool

Text Cleaner

Remove extra spaces, HTML, emojis and smart quotes.

Free Runs in your browser

About this tool

Text Cleaner tidies text pasted from websites, Word or chat apps. It trims lines, collapses repeated spaces, strips HTML tags and removes invisible characters that break code, spreadsheets and forms.

How to use Text Cleaner

  1. Paste your messy text.
  2. Tick the clean-up options you want.
  3. Copy the clean text.

Questions people ask

What are smart quotes?

Smart quotes are curly quotation marks (“ ” ‘ ’) added by word processors. Code, CSV files and many forms expect straight quotes (" and '), so the tool swaps them.

Which invisible characters are removed?

Zero-width spaces, zero-width joiners, word joiners, byte order marks and soft hyphens are deleted. Non-breaking and other special spaces become normal spaces.

Does stripping HTML keep line breaks?

Yes. Paragraphs, list items, headings and <br> tags become line breaks, so the text keeps its basic layout.

More text tools

See all 19 →
Esc