Clean text while knowing exactly what changed

Count content, normalize line endings and remove repeated lines with a reviewable result.

Open this tool · All guides

Understand the settings

Text cleanup should match the job. Removing duplicate lines is useful for a simple list but can destroy meaning in a poem, transcript or log. Case conversion can also alter case-sensitive identifiers. Keep an original and inspect the result before replacing it.

Line endings differ between systems: Windows commonly uses CRLF and Unix-like systems use LF. A text editor may display them identically even though a byte-level checksum changes. Normalization is helpful when a downstream tool requires one convention, but it is a real byte change.

Counts have different meanings. Bytes depend on encoding, code points are Unicode values, and visible characters can consist of multiple code points. Word counts are practical approximations and may not match a language-specific editor, especially for languages without spaces between words.

Step by step

  1. Paste a small sample or your text.
  2. Choose a cleanup operation and run it.
  3. Inspect the output and counts. Compare first/last lines and any important identifiers.
  4. Copy or download the cleaned result without overwriting your only original.

Remove repeated list entries

Input apple, pear, apple on three lines. Duplicate-line removal retains apple and pear. Consider whether APPLE should remain distinct for your task before combining case conversion with deduplication.

Limits and what to check

Troubleshooting

Two apparently identical lines remain

Check differences in case, whitespace or Unicode composition; visually similar strings need not contain identical characters.

The word count differs from my editor

Editors use different segmentation rules. Treat the count as a useful measure, not a universal linguistic definition.

Related tools

Updated October 9, 2026. Report an issue with this guide.