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.