JSON Tools
Format, validate, minify, compare, and convert JSON data. Includes a tree viewer, path tester, and converters between JSON and CSV, YAML, and XML formats.
Convert CSV data to a JSON array of objects.
Compare two JSON objects and highlight added, removed, and changed keys.
Pretty-print and format JSON with proper indentation.
Remove whitespace and compress JSON to a single line.
Test JSONPath expressions against JSON data and see matched results.
Validate JSON data against a JSON Schema and see detailed violations.
Convert a JSON array of objects to CSV format.
Convert JSON to YAML format with proper indentation.
Visualize JSON as an interactive collapsible tree structure.
Check if your JSON is valid and find syntax errors.
Convert YAML to JSON with proper structure and types.
FAQ
- How do I format JSON?
- Paste your JSON into the JSON Formatter tool and it will instantly pretty-print it with proper indentation. You can choose between 2-space and 4-space indentation.
- Can I convert JSON to CSV?
- Yes. Use the JSON to CSV converter to transform JSON arrays of objects into CSV format. It automatically detects column headers from object keys.
- Is JSON validation done locally?
- Yes. The JSON validator runs entirely in your browser using the built-in JSON parser. No data is sent to any server.