Text tool

Text Cleaner

Paste messy text, then apply one or more cleanups below.

About the Text Cleaner

Text Cleaner tidies messy text: remove duplicate lines, delete empty lines, trim spaces at the start and end of lines, collapse repeated spaces, and find and replace across the whole text. It is helpful for cleaning copied web text, lists, exported data and email lists.

Each button applies one clean-up to the current text, and you can press several in sequence. Remove duplicate lines keeps the first occurrence of each line. Collapse extra spaces turns runs of spaces into a single space. Find & replace changes every match of the text you enter. Because actions change the box content, keep a copy of the original if you may need it again.

How to use it

  1. Paste your text.
  2. Press the clean-up buttons you need.
  3. For replacements, fill Find and Replace with, then press Find & replace all.
  4. Press Copy result.

Tips and good to know

Frequently asked questions

Is find and replace case sensitive?

Yes, match the exact text.

Can I undo?

Reload or paste the original again.

Is my text uploaded?

No.