— Diff Checker

Diff Checker - Compare Two Texts

Quick Tips

  • Paste original text on the left, modified on the right
  • Green highlights additions, red shows deletions
  • Useful for comparing code changes or document revisions

Compare two texts and highlight the differences.

Additions

Deletions

Unchanged

Examples

Input
Text A: Hello World
Text B: Hello Universe
Output
Changed: "World" → "Universe"
Input
Text A: Line 1
Line 2
Text B: Line 1
Line 3
Line 2
Output
Added: "Line 3"

Frequently Asked Questions

We use a variant of the Myers diff algorithm, the same algorithm used by Git and many other diff tools. It finds the minimal set of changes between two texts.

Yes! The diff checker works great for any text including code. Use line-by-line mode for the best code comparison experience.

The tool handles texts up to several megabytes. Very large files may take longer to process but will work. Processing happens in your browser.

Yes, you can copy the results or export them. The highlighted differences make it easy to share comparison results with others.

Cookie Preferences

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.

Cookie Preferences

Manage your cookie settings

Essential Cookies
Always Active

These cookies are necessary for the website to function and cannot be switched off. They are usually set in response to actions made by you such as setting your privacy preferences or logging in.

Functional Cookies

These cookies enable enhanced functionality and personalization, such as remembering your preferences, theme settings, and form data.

Analytics Cookies

These cookies allow us to count visits and traffic sources so we can measure and improve site performance. All data is aggregated and anonymous.

Google Analytics _ga, _gid

Learn more about our Cookie Policy