Format:Detected: JSON / JSON

Differences

1 removals
5 lines
1
{
2
"name": "Ashish",
3
"role": "Developer"
4
}
2 additions
5 lines
1
{
2
"name": "Ashish",
3
"role": "Senior Developer",
4
"location": "India"
5
}

About the Diff Checker

Spotting the one line that changed between two versions of a file is tedious when you're scanning by eye. This page lines an original and a changed version up side by side, pretty-prints JSON or XML first so the structure lines up cleanly, and highlights exactly which lines — and which words within a line — are different, so a small edit doesn't get lost in a wall of unchanged text.

Things you can do here

  • •Compare JSON, XML, or plain text — pick a format or let Auto detect it, and both sides get pretty-printed before comparing.
  • •Split view with line numbers — see the original on the left and the changed version on the right, each numbered independently.
  • •Word-level highlighting — on a modified line, only the words that actually changed are called out.
  • •Ignore whitespace or case — filter out noise that isn't a meaningful difference.
  • •Only show differences — hide the lines that match so you can focus purely on what changed.
  • •Merge line by line — apply individual additions or changes to the original, remove deleted lines, copy either side, or export the full diff.

How to use the Diff Checker

  1. Paste the original text in the first panel.
  2. Paste the revised text in the second panel.
  3. Read the highlighted additions, removals, and unchanged lines.
Example: version=1 compared with version=2

Diff Checker FAQ

What can I compare?

You can compare source code, configuration, notes, JSON, and other line-oriented text.