Home Tools About Us ♥ Support Us
📊 Diff Checker

Compare text & code
down to the character

Line, word, or character diffing for text and 12+ languages, with order-independent CSS/JSON matching — all instant, in your browser.

What are you comparing?

Comparison Options

Content

Original (A)
0 lines · 0 chars
Changed (B)
0 lines · 0 chars

🕘 Local History

Saved only on this device. Export the JSON file and import it on another device or browser to bring your history along.

No comparisons saved yet — click Compare, then "💾 Save to History" in the result panel.

How to use every option

  1. Pick Plain Text or Code — Code reveals a language selector for JSON, CSS, HTML, JavaScript, Python, Shell, C/C++, Java, Go, SQL, and XML/YAML.
  2. Choose Compare by — Line for most edits, Word for prose changes, Character for tight diffs like a single altered value.
  3. Pick a View — Side by Side shows both versions in columns, Inline merges them into one flow, Unified produces a Git-style patch view.
  4. Toggle Ignore case / whitespace / blank lines to skip cosmetic differences that don't matter for your review.
  5. Turn on "Ignore order" for CSS (sorts rules) or "Sort JSON keys" for JSON, so reordering alone won't show as a change.
  6. Paste, type, or drag & drop files into the Original (A) and Changed (B) panes, or click Upload to choose a file.
  7. Use Swap Sides to instantly flip A and B if you loaded them backwards.
  8. Click Compare to see stats (lines added/removed/changed, similarity %) and the full diff.
  9. Search within the diff, copy either full version, or download a plain text report, HTML report, or a unified .patch file.
  10. Save comparisons to history, then export the whole history as JSON and import it on another device to keep working from where you left off.

Built to replace a dozen comparison tools

🔤
Line, Word & Character Diff
Choose the granularity that fits — from whole-document changes down to a single edited character.
🧩
Language-Aware Modes
JSON key sorting, CSS rule reordering, and indentation-safe Python comparisons.
👁️
3 View Modes
Side by side, inline, or a Git-style unified patch view.
📊
Instant Stats
Lines added, removed, changed, and an overall similarity percentage.
📁
File Upload & Drag-and-Drop
Drop two files straight in instead of copy-pasting.
🔍
Search Inside a Diff
Jump straight to the change you're looking for in long comparisons.
Patch & Report Export
Download a unified .patch file, or a plain text / HTML report.
🕘
Portable History
Export your saved comparisons as JSON and import them on any device.

Frequently Asked Questions

Yes. It compares plain text, so it works with HTML, CSS, JavaScript, SQL, Python, Java, C/C++, Go, shell scripts, JSON, XML, and YAML, with extra language-aware options for the trickiest cases like CSS and JSON.

No. It only reads and compares content in your browser. Nothing is changed, uploaded, or stored anywhere except your own device's local history, if you choose to save it.

Yes, though very large inputs (tens of thousands of lines) may run slower since everything is computed in your browser rather than on a server.

Version control systems store a full history of revisions over time. This tool compares two blocks of text you paste or upload right now — the two work well together.

Yes. Turn on "Ignore order" for CSS to sort rules before comparing, or "Sort JSON keys" for JSON, so reordering alone doesn't show up as a change.

You can, but expect many highlighted changes since whitespace differs throughout. Beautifying both sides first usually gives a more meaningful diff.

No. History is stored only in your browser's local storage. Export it as a JSON file and import that file on another device or browser to bring your history with you.

Yes. When Python is selected, leading indentation is treated as meaningful and isn't stripped by whitespace-normalization options, since indentation changes what the code does.

Yes. Choose Unified Patch (.patch) from the download menu for a standard unified-diff format, or download a plain text or HTML report instead.

Related developer tools

Browse Other Categories

Support EaseDev Studios

All tools are free. If they've saved you time, consider supporting us.

Buy Us a Coffee

A quick one-time gesture that means a lot.

Buy a Coffee →
🎗️

Become a Patron

Support us monthly and help build more tools.

Join on Patreon →