Skip to content

JSON tools

Format, validate, compare and convert JSON, YAML and CSV data. Every tool runs in your browser, so nothing you add is uploaded.

Format & validate

Make JSON readable or compact, and find exactly where and why it is invalid.

Convert

Move data between JSON, YAML and CSV, and generate TypeScript or Zod definitions from examples.

Compare

Find every changed value between two JSON documents, ignoring key order and formatting.

About JSON tools

Tools for working with JSON data: pretty-print and validate it with plain-English error messages, compare two documents, convert between JSON, YAML and CSV, and generate TypeScript types or Zod schemas from an example API response.

Because everything runs in your browser, you can paste real API responses, configuration files and customer data without sending them to a third party. Numbers are kept exactly as written, so large IDs are never rounded.

Frequently asked questions

Is it safe to paste API responses containing personal data?

Yes. The JSON is processed in your browser and never uploaded, logged or stored.

Why do some online formatters change my numbers?

JavaScript can only store numbers up to about 9 quadrillion exactly, so tools that parse and re-print JSON round larger IDs. The JSON Formatter here copies numbers exactly as written.

Do these tools accept JSON with comments or trailing commas?

They check strict JSON, as APIs expect, and point out comments and trailing commas as errors with a hint on how to fix them.