Skip to content

Clean up messy text

Fix text pasted from PDFs, emails and web pages: trim line ends, collapse extra spaces, tidy blank lines, strip HTML tags and convert smart quotes to plain characters — with every option under your control.

Cleaning options
0 → 0 characters

Your text is processed in your browser as you type. It is not sent to ToolsNest servers or stored after you leave the page.

How to use the Text Cleaner

  1. 1Paste your text.
  2. 2Tick the cleaning options you want.
  3. 3Copy the cleaned result.

Supported formats and limits

  • Six independent options you can combine.
  • HTML stripping removes tags but keeps the text between them.
  • Smart quotes (’ “ ”), en/em dashes and ellipses can be converted to plain ASCII.

Common uses

  • Cleaning text copied from a PDF or website.
  • Preparing content for a CMS that mangles formatting.
  • Normalising data before pasting into a spreadsheet.

Frequently asked questions

Is this the same as Remove Extra Spaces?

That tool applies one fixed clean-up recipe. This one lets you pick exactly which fixes to apply, including HTML stripping and smart-quote conversion.

Related tools