Compare
Compare text, JSON, XML, YAML, or CSV side by side in your browser. Line and semantic diffs with file drag-and-drop. Free, no upload, all client-side.
A free online diff tool that compares two blocks of text or two files side by side, right in your browser. It auto-detects the format and can go beyond a plain line-by-line text diff to perform structural, semantic comparisons of JSON, XML, YAML, and CSV — so cosmetic differences like key order or whitespace don’t drown out the changes that actually matter. Use it to review what changed between two versions of a config file, to compare two JSON objects while ignoring key order, or to diff two CSV files by matching rows on a key column. Files up to 10 MB are read locally; nothing is uploaded.
Common uses
- Spot the differences between two versions of a config file.
- Semantically compare two JSON objects while ignoring key order.
- Diff two CSV files by matching rows on a key column.
- Review changes between two API responses side by side.
- Compare two YAML documents without being distracted by formatting.
Frequently asked questions
Which formats can it compare semantically?
Text, JSON, XML, YAML, and CSV. For structured formats it compares values rather than raw characters, so cosmetic differences like key order can be ignored.
Are my files uploaded when I drag them in?
No. Files are read locally in your browser up to a 10 MB limit; nothing is uploaded to a server.
What is the difference between a text diff and a semantic diff?
A text diff compares raw lines, so reordering keys or reformatting shows as changes. A semantic diff parses the structure and compares values, so only real differences are highlighted.
Can it match CSV rows that are in a different order?
Yes. For CSV you can match rows on a key column so reordered rows are aligned and only genuine value differences are reported.
What is the maximum file size?
Each side accepts a file up to 10 MB, read locally in the browser.
All processing is local — your data never leaves your browser.