How-to guides

Guides for every comparison.

Step-by-step help for comparing JSON, YAML, SQL, code and plain text, and for reading what a diff is telling you.

How-to

How to compare two JSON files online

Find exactly which keys and values changed between two JSON documents, even when the formatting or key order is different.

  • JSON

2 min read

Best practices

When to ignore whitespace when comparing code

Ignoring whitespace removes noise from reformatted code, but in some languages it hides real changes. Here is how to choose.

  • JavaScript
  • Python
  • PHP

1 min read

How-to

How to compare two SQL queries

Format both queries the same way first, then compare them to see which clauses, columns or conditions changed.

  • SQL

2 min read