JSONHint

Preparing your workspace…

Code & Text Diff

Compare text or code with split and unified views, change navigation and optional case and whitespace rules.

The interactive workspace loads with JavaScript. Instructions and limitations follow below.

Compare an original and a revision

Paste the original on the left and the revision on the right, then choose Check diff. Inspect the summary and move between changes; switch between split and unified views when the files are wide.

What to check before using the result

Ignoring whitespace or case can hide meaningful changes in source code, passwords and configuration. Leave those options off when exact text matters.

Input privacy and troubleshooting

Tool input is processed in your browser. Optional URL imports, downloaded libraries and advertising may make network requests. Use non-sensitive samples on shared devices. If an operation fails, reduce the input to the smallest example that reproduces the issue and report the tool URL and expected result.

Read the related practical guide →