Online JSON Tools
14 tools covering formatting, validation, cleaning, conversion, querying, and more. Choose a tool to get started.
Core Tools
JSON Formatter & Validator
Format compressed JSON strings into indented, readable form while validating JSON structure. Supports custom indent width and space/tab switching.
JSON Minifier
Remove all unnecessary whitespace and line breaks from JSON, compressing data to a single line to reduce size.
Format Conversion
JSONC / JSON5 → JSON Converter
Convert JSONC (JSON with comments, e.g. tsconfig.json) or JSON5 (relaxed JSON syntax) to standard JSON.
JSON ↔ YAML Converter
Convert between JSON and YAML formats in both directions. Useful for config file migration and CI/CD pipeline debugging.
JSON ↔ CSV Converter
Convert JSON arrays to CSV tables, or restore CSV back to JSON object arrays. Supports custom delimiters and field mapping.
JSON → XML Converter
Convert JSON data into structured XML documents. Useful for interfacing with SOAP services or legacy XML APIs.
JSON Diff
Compare two JSON datasets line by line, highlighting additions, deletions, and modifications. Great for version comparison and API response change debugging.
Utilities
JSON Escape
Escape special characters in JSON strings (quotes, backslashes, etc.) to generate string literals that can be directly embedded in code.
JSON Unescape
Restore escaped JSON strings to their normal format by removing extra escape characters.
JSONPath Query
Use XPath-style JSONPath expressions to precisely locate and extract data in complex JSON. Supports wildcards, filters, and recursive descent.
JSON Schema Validator
Validate JSON data structure and types against JSON Schema specifications. Supports Draft-07/2019-09/2020-12 with detailed error reports.
JSON Tree Viewer
Interactively browse large JSON data in a collapsible tree structure. Supports node expand/collapse, search, and path copying.
JSON Sort & Dedup
Sort JSON object keys alphabetically and deduplicate array elements. Gives JSON data consistent ordering for version control and manual comparison.
Mock JSON Generator
Quickly generate random mock data from predefined templates or real-time edited skeletons. Supports custom field types, array lengths, and value ranges.