Skip to main content

Text Compare (Diff Checker)

Paste two versions of a text and see every change highlighted, by line, word or character, side by side or in one view.

Diff
View
Original text
Modified text
Result
The result will appear here
Learn more

Everything about Text Diff

Spotting what changed

Two versions of a contract, an article back from a reviewer, a translation, a config file before and after an edit: reading them side by side, you miss changes. The diff marks every insertion and deletion, down to a single comma, so you only read what changed.

What people compare

Comparing two versions of a contract, an article or a translation to see what was changed. Reviewing changes in a configuration file or a code snippet before deploying. Checking that a copy-paste or an export did not alter the text. Spotting the differences between two lists or two log extracts. Producing a .diff patch to share or apply with git.

Line, word and character modes

All processing happens entirely in your browser — nothing is uploaded. Line, word or character comparison; in line mode, a modified line faces its new version with the changed words marked. Side-by-side or unified view, navigation between differences, similarity percentage. Copy a readable summary or download a standard .diff file (unified format, usable with git apply / patch). Large texts are compared without freezing the page.

Character, Word, and Line Comparison

Character-level comparison shows every single character that was added or removed. This is the most precise mode, ideal for finding typos or subtle changes. Word-level comparison groups changes by word, which is more readable for natural text like articles or emails.

Line-level comparison treats each line as a unit. This is the standard mode for source code and configuration files, matching how Git and other developer tools work. Choose the level that best fits your content.

How it works

Compare texts in 3 steps

  1. Paste your texts

    Paste the original text in the left panel and the modified text in the right panel. You can also load .txt, .json, .csv or any other text file.

  2. Choose your options

    Select the comparison level (characters, words or lines) and the view (side by side or unified). Enable options to ignore case or whitespace if needed.

  3. Analyze the differences

    Additions appear in green, deletions in red. Navigate between differences and copy or download the result.

Practical guides

Get the most out of Text Diff

Powerful comparison

A text diff (short for "difference") is the result of comparing two pieces of text to find what has changed between them. The comparison algorithm identifies additions, deletions, and unchanged sections.

This tool uses the Myers diff algorithm — the same algorithm used by Git and other version control systems. It finds the minimum set of changes needed to transform one text into another, producing clean and readable results.

Character, word & line level

Privacy first

This text comparison tool runs entirely in your web browser. No text is ever sent to a server, stored in a database, or shared with third parties. You can safely compare confidential documents, source code, or any sensitive content.

Whether you're comparing contracts, code, or internal documents, your data remains on your device and is never logged or analyzed.

Processed in your browser
Frequently asked questions

Text Diff — FAQ

Everything you need to know about our free text comparison tool