‹ Back to Software

Text Diff

Compare two texts by line or word, inline or side by side.

Texts

Compare by
View

Differences

  one
- two
+ new
  three

What Text Diff does

Compare two texts by line or word, inline or side by side.

How to use it

  1. Enter original and changed text.
  2. Choose line or word comparison and optionally ignore whitespace.
  3. Choose inline or side-by-side view. Green marks additions and red marks removals; inline prefixes also identify changes.

Formats and limits

  • Text up to 200,000 characters per side. Whitespace can be ignored.

Examples and checks

Review a sentence edit without hiding spacing changes

Place the original draft on the left and the revision on the right. Choose Word comparison when the change is inside a sentence; choose Line when reviewing a list or configuration file. Inline view shows the removed and added parts in one sequence, while side-by-side view helps you compare the surrounding context.

Leave Ignore whitespace off when indentation or spacing matters, such as in source code or a carefully formatted document. Enable it only when you want to focus on content changes. The tool compares text, not meaning, and an added sentence is not automatically a correct sentence. For JSON, formatting both versions consistently first can make the differences easier to interpret. Each side is limited to 200,000 characters.

Privacy

Processing stays in this tab. Input and generated content are not uploaded or stored.

Related tools

All processing runs locally in your browser. This tool is provided as-is without warranty. Keep backups of your original files before processing.

By selecting media, you confirm you own the content or have permission to modify it. Please read the Terms and Conditions.