JSON Formatter
Format, minify and validate JSON with clear error positions.
Compare two texts and see exactly which lines and words were added or removed.
Paste two texts to see the differences.
Your files stay on your device
Everything runs in your browser. What you paste is never sent to a server. Contracts, code and drafts stay on your device.
It finds the longest run of lines the two texts share and treats everything else as an addition or a removal. Changed lines are then compared word by word to highlight the exact words.
It works well up to a few thousand lines. If two very long texts have almost nothing in common, it asks you to compare smaller parts, to keep your browser responsive.
Yes, as plain text. It has no knowledge of syntax, so moved code shows as removed in one place and added in another.
Often trailing spaces, tabs versus spaces or different line endings. Turn on Ignore extra spaces to check.
You can select and copy the result from the page. There is no export file in this version.