Free text tool

Text Cleaner

Strip HTML, extra spaces, line breaks, emoji and invisible characters, and straighten smart quotes, in one paste.
Remove
Normalize
Spaces
Line breaks

47 characters removed

Paste messy text, copy clean text

Copy from a PDF, an email or a CMS and you get double spaces, hard line breaks in the middle of sentences, curly quotes, stray HTML and characters you can't even see. Pick what to fix, paste the text, and copy the clean version. Every option applies instantly, and nothing leaves your browser.

When it helps

  • Preparing title tags, meta descriptions and alt text written in a word processor.
  • Turning text copied from a PDF, with a line break at the end of every line, back into paragraphs.
  • Getting plain text out of an HTML snippet or an exported page.
  • Straightening quotes before pasting copy into code, JSON or a spreadsheet formula.

Frequently asked questions

What are invisible characters and why remove them?
Zero-width spaces, soft hyphens, byte-order marks and direction marks are characters you can't see that often come along when you copy from Word, PDFs, chat apps or web pages. They can break search-and-replace, split words in meta tags and make two identical-looking strings differ. Non-breaking spaces are turned into normal spaces.
Does stripping HTML keep my paragraphs?
Yes. Paragraphs, headings, list items and line breaks become line breaks, scripts, styles and comments are removed entirely, and entities like & and ' are decoded into the characters they stand for. Links keep their text but lose the URL.
Which emoji are removed?
Anything shown as an emoji: faces, objects, flags, skin-tone and family sequences, and keycaps like 1️⃣. Text symbols that are not drawn as emoji by default, such as ©, ®, ™ and ♥, are kept.