textcleanups

Text diff checker

Paste two versions of a text to see exactly what was added and removed.

Options
Compare
Differences

Your text stays in your browser. Nothing is uploaded or saved.

All text tools

Or fix everything at once with the all-in-one text cleaner.

AI-written text

ChatGPT text cleaner
Remove hidden characters, odd spaces and Markdown from AI answers.
Remove em dashes
Replace every — with a comma, period or hyphen.
Remove Markdown
Turn Markdown into plain text: no **, #, links or tables.
AI phrase finder
Highlight overused AI words and phrases.

Lines

Remove line breaks
Turn text broken across many lines back into clean paragraphs.
Remove duplicate lines
Keep the first copy of every line and delete the repeats.
Remove empty lines
Delete blank lines, or cut long gaps down to one.
Sort lines
Sort a list A to Z, Z to A, by length, reversed or shuffled.
Add line numbers
Number every line, your way.
Remove line numbers
Strip numbers and bullets from the start of lines.
Comma separator
Turn a list into comma-separated text, and back.

Spaces and characters

Remove extra spaces
Collapse double spaces, trim lines and replace tabs.
Remove special characters
Strip symbols and keep only letters, numbers and punctuation you choose.
Remove emojis
Delete every emoji, including skin tones, flags and combined emoji.
Remove accents
Turn é into e, ü into u and ß into ss.
Convert smart quotes
Turn curly quotes, long dashes and ellipses into plain text.

Formatting and counting

Case converter
Switch text to sentence case, Title Case, UPPERCASE, camelCase and more.
Find and replace
Replace words or patterns across your text, with regex support.
Strip HTML tags
Turn HTML into clean, readable plain text.
Word counter
Count words, characters, sentences and reading time as you type.
Text diff checker
Compare two texts and see what changed.
Word frequency counter
See which words you use most.
Reverse text
Flip text backwards, by letter, word or line.

How to compare two texts

  1. Paste the original version into the first box and the new version into the second.
  2. Read the differences below. Removed text is struck through in red, and added text is highlighted in green.
  3. Copy the results if you want to share or keep them.

Line by line or word by word?

Line by line suits code, lists, data and documents where each line stands on its own. Changed lines show as one removed and one added, with line numbers from both versions. Word by word suits prose, such as contracts, essays and articles, where a small wording change inside a long paragraph would otherwise mark the whole paragraph as changed.

Ignoring small differences

Turn on Ignore extra spaces to skip differences in spacing and indentation, and Ignore uppercase and lowercase to treat Hello and hello as the same. The original text is still shown as written.

Common uses

  • Checking what changed between two drafts of a contract, policy or essay
  • Reviewing edits from a colleague or an AI rewrite
  • Comparing config files, CSV exports or code snippets
  • Spotting changes in terms and conditions

Questions

Is my text uploaded to compare it?

No. Both texts are compared in your browser. Nothing leaves your device, so it's safe for contracts and private documents.

How long can the texts be?

Tens of thousands of lines usually work fine. Very long texts that are almost completely different may be too slow to compare, and the tool will tell you.

What does the copied result look like?

In line mode you get a plain-text list with + before added lines and - before removed lines. In word mode you get the new version of the text.