Skip to content
EASE+ ToolsEASE+ Tools

Text Cleaner

Remove extra spaces, line breaks, smart quotes and other clutter from pasted text.

Inputs

Example
Collapse repeated spaces and trim each line
Remove blank lines
Join lines into paragraphs

Keeps blank-line paragraph breaks.

Straighten smart quotes and dashes
Remove invisible characters

Zero-width spaces, soft hyphens and similar.

Strip HTML tags
Remove duplicate lines

Result

Characters removed
35
Characters now
63
Cleaned text

About this tool

Text copied from PDFs, emails, word processors and web pages often brings hidden clutter: double spaces, hard line breaks in the middle of sentences, curly quotes that break code, invisible characters and stray tags. Pick the clean-ups you want and copy the result.

  1. Paste the text.
  2. Turn on the clean-ups you want.
  3. Copy or download the cleaned text.

Formula

Each chosen clean-up is applied in a fixed order: invisible characters, HTML tags, quotes and dashes, spaces, duplicate lines, blank lines, then joining lines.

Worked example

“Quarterly update” — draft becomes "Quarterly update" - draft, and a repeated line appears only once.

Assumptions and limits

  • Stripping HTML removes tags but keeps their text; it does not run or render anything.
  • Duplicate-line removal keeps the first copy and is exact, including case.
  • Up to 5,00,000 characters.

Questions

Why straighten quotes?

Curly quotes and long dashes can break code, CSV files, spreadsheets and some forms.

What are invisible characters?

Characters such as zero-width spaces that take no room but can break searches, sorting and matching.

Is my text uploaded?

No. It is cleaned on your device.