DevTools

Diff Checker

Compare two texts side by side and see exactly what changed.

Original

.txt .json .md .csv .yaml

Modified

.txt .json .md .csv .yaml

Online Diff Checker and Text Comparison Tool

Compare two text blocks or files side by side and instantly see what changed. Choose from three comparison modes: line diff for a high-level view, character diff for precise changes, and JSON diff for structure-aware comparison that ignores formatting differences.

Frequently Asked Questions

How does the diff checker work?
Paste text in both panels and choose the comparison mode. Line diff shows added/removed lines, character diff highlights individual character changes, and JSON diff normalizes both inputs before comparing.
Can I compare files?
Yes, click the file upload button in either panel to load a text file directly.
Is JSON diff smart?
Yes, the JSON diff mode parses both inputs and formats them consistently before comparing, so whitespace differences don't appear as changes.
Are my files sent to a server?
No. All comparison happens locally in your browser. Files and text never leave your device.