{ } 6 tools

Format and compare code or data

Turn dense payloads and queries into something you can inspect. JSON Formatter validates strict JSON, SQL Formatter supports six dialects, YAML Formatter can move between YAML and JSON, and XML Formatter keeps comments and CDATA while offering XPath checks.

When the question is what changed, JSON Diff compares document structure and can export a JSON Patch. Text Diff works at the line, word or character level and helps uncover line-ending and invisible-character differences.

Choose the right comparison

Use JSON Diff for two JSON values when whitespace and object key order should not count. Use Text Diff for code, logs and config where the exact characters matter. Format first when you only need to make one document readable.

Formatting is not schema validation

A neatly formatted document can still violate your API contract. JSON Formatter checks syntax, and SQL Formatter does not execute a query. For query execution against a local SQLite database, use SQL Runner in Test & Debug.

FAQ

Short answers for the things developers usually ask before trusting a tool.

Can I compare two JSON files without whitespace noise?

Yes. JSON Diff compares parsed values rather than raw formatting, so whitespace and object-key order do not create changes.

Does formatting run on a server?

The formatting and comparison operations run in the browser. Page resources and analytics are separate; see Privacy & Sharing for details.