JSON Converters
Convert JSON to XML, CSV, YAML, TypeScript, SQL and more, all in your browser.
Available tools
JSON FormatterBeautify and pretty-print JSON with 2-space, 4-space or tab indentation, with optional key sorting.JSON MinifierMinify JSON by removing all unnecessary whitespace to reduce payload size.JSON Key SorterSort JSON object keys alphabetically at every nesting level for stable diffs.JSON to XML ConverterConvert JSON to well-formed XML with a configurable root element. Keys prefixed with @_ become attributes.JSON to CSV ConverterConvert a JSON array of objects to CSV. Nested objects are flattened into dotted column names.JSON to TSV ConverterConvert a JSON array to tab-separated values that paste cleanly into spreadsheets.JSON to YAML ConverterConvert JSON to clean, readable YAML for configuration files such as Kubernetes or CI pipelines.JSON to HTML TableTurn a JSON array into an HTML table with a header row, with a safe live preview.JSON to Markdown TableConvert a JSON array of objects into a GitHub-flavoured Markdown table.JSON to SQL ConverterGenerate SQL INSERT statements from a JSON array of objects, with proper quoting and NULLs.JSON to TypeScript InterfaceGenerate TypeScript interfaces from sample JSON, with optional properties inferred from arrays.JSON to Go StructGenerate Go struct definitions with json tags from sample JSON.JSON to C# ClassGenerate C# classes with System.Text.Json attributes from sample JSON.JSON to Java ClassGenerate Java POJO classes with Jackson annotations, getters and setters from sample JSON.JSON to Python DataclassGenerate Python dataclasses with type hints from sample JSON.JSON to JSON SchemaInfer a draft 2020-12 JSON Schema from a sample JSON document.JSON to Query StringConvert a JSON object into a URL-encoded query string. Arrays become repeated keys.JSON FlattenerFlatten nested JSON into a single-level object with dotted keys.JSON UnflattenerRebuild nested JSON from an object with dotted keys.JSON to Excel (XLSX) ConverterExport a JSON array of objects to an Excel .xlsx workbook, or an object of arrays to one sheet per key, with a live preview.JSON Schema ValidatorValidate JSON against a JSON Schema (draft 2020-12, 2019-09, 7 or 4) with a clear report of each error, its path and keyword.