Text Cleaner

Clean up text: remove duplicate and empty lines, trim spaces, collapse whitespace, sort lines, strip HTML and line breaks, add prefixes or suffixes.

Runs locally — nothing is uploaded

Input

Cleaned

How to use Text Cleaner

  1. Paste your text.
  2. Toggle the clean-up operations you need.
  3. Copy the result.

FAQ

In which order are operations applied?

Top to bottom as listed, so trimming happens before de-duplication.

Popular searches

People find Text Cleaner by searching for:

  • remove duplicate lines
  • remove empty lines
  • sort lines alphabetically
  • remove extra spaces
  • text cleaner online