🔀

Diff Checker

Compare two texts side-by-side and highlight additions, deletions, and changes.

Original Text
Modified Text

How to Use

1
Paste original textPaste the original version of your text in the left field.
2
Paste modified textPaste the modified or new version in the right field.
3
Click CompareThe diff result shows below with additions in green and removals in red.
4
Read the diffGreen lines were added, red lines were removed, white lines are unchanged.
5
Adjust optionsToggle case-insensitive or whitespace-ignoring comparison as needed.
📌 All comparison happens locally in your browser. Your text is never uploaded.

About Diff Checker

Working with code and configuration files often means switching between formats, encoding strings, or validating syntax. Diff Checker eliminates the need for desktop software or command-line utilities by giving you a clean, instant interface right in your browser. Paste your input, get your result — no accounts, no installations, no data leaving your machine.

Frequently Asked Questions

This tool uses the LCS (Longest Common Subsequence) algorithm to find the minimum edit distance between two texts line by line. It produces a clean side-by-side diff view.
Yes. The tool works with any text including code, JSON, XML, markdown, and plain text. For code, consider enabling "Ignore Whitespace" to ignore trivial indentation changes.
When enabled, lines that differ only in whitespace (spaces, tabs, leading/trailing) are treated as equal. This helps when comparing code that was reformatted.
Common uses: checking changes between document versions, comparing configuration files, reviewing code changes, comparing API responses, and auditing text modifications.