Skip to main content
Back to Home

JSON Diff

Compares two JSON files line by line after formatting both consistently, and highlights what changed. Because each object's key order is preserved as written, the same data with keys in a different order will show as changed — this compares the files as written, not just their underlying data.

Original JSON

Select or drop your file

Files never leave your deviceMax size: 100MB

Revised JSON

Select or drop your file

Files never leave your deviceMax size: 100MB

Frequently Asked Questions

Is comparing JSON files with PDFPilot really free?

Yes. JSON Diff is completely free to use, with no sign-up or account required.

Are my files uploaded to a server?

No. The comparison runs entirely in your browser. Your files are never uploaded to PDFPilot's servers.

How does the comparison actually work?

Both files are parsed and re-serialized with consistent 2-space indentation — the same normalization JSON Formatter uses — then compared line by line. Malformed JSON in either file is rejected with a clear parser error before any comparison happens.

Does reordering an object's keys count as a change?

Yes. This is a real, disclosed limitation: re-serializing JSON preserves each object's own key order as parsed, so the same data with keys in a different order will show as changed lines, even though the underlying data is identical.

Related Content