Text Compare & Diff
Compare two blocks of text line by line and see exactly what was added, removed and changed.
Original
Changed
Ready
Drop a file to load it
About this tool
Paste two versions of anything and see the differences highlighted line by line. Uses the same algorithm as `git diff`, so the result matches what your version control shows.
When you would use it
- Comparing two config files
- Checking what changed between two log excerpts
- Reviewing an edit before applying it
Worked example
A: timeout = 30 B: timeout = 60
- timeout = 30 + timeout = 60 1 added, 1 removed
Things worth knowing
- Options to ignore whitespace and letter case, for when formatting changes are noise.
- Output can be viewed side by side or as a unified diff you can paste into a patch.
Questions
Frequently asked
Can I compare JSON with this?
You can, but the JSON Diff tool is better for that — it compares structure rather than text, so reformatting and key reordering do not show up as changes.
Is my data uploaded anywhere?
No. Every tool on JSONWorks runs entirely in your browser using JavaScript. Your input is never sent to a server, never logged and never stored. The simplest proof is to disconnect from the internet — the tools keep working. The site does load Google Fonts and a Google Analytics page-view tag, so you will see those two requests in your network tab, but neither receives anything you type or paste.
Related