JSON Converter

Convert JSON to CSV, XML, or YAML instantly. Paste your JSON, pick a format, and download the result.

{ } Convert JSON

Input (JSON)
Paste JSON to convert
Output (CSV)

When to Convert JSON

JSON (JavaScript Object Notation) is the standard data interchange format for APIs and web applications. However, different systems and workflows require different formats. This tool converts JSON to the three most common alternatives — CSV, XML, and YAML — entirely in your browser.

JSON to CSV — for Spreadsheets

Convert a JSON array of objects into a comma-separated values (CSV) file that you can open in Excel, Google Sheets, or any spreadsheet application. The converter flattens nested objects using dot notation (e.g. address.city) and joins arrays with semicolons, so no data is lost. CSV is the go-to format for data analysis, reporting, and importing into databases.

JSON to XML — for Legacy Systems

Many enterprise systems, SOAP web services, and document standards (RSS, SVG, XHTML) still use XML. Converting JSON to XML lets you integrate modern API data with legacy systems that expect XML input. The converter wraps output in a <root> element, handles nested structures, and properly escapes special characters.

JSON to YAML — for Configuration Files

YAML is the standard format for configuration files in Docker Compose, Kubernetes, GitHub Actions, and many other DevOps tools. YAML is more readable than JSON because it uses indentation instead of braces and supports comments. This converter produces clean, properly indented YAML that you can paste directly into your config files.

Frequently Asked Questions

How do I convert JSON to CSV?
Paste a JSON array of objects into this tool and select the CSV tab. Object keys become column headers, and each object becomes a row. Nested objects are flattened with dot notation.
How do I convert JSON to XML?
Paste your JSON and select the XML tab. The converter wraps the output in a root element, converts objects to nested elements, and wraps array items in item tags.
How do I convert JSON to YAML?
Paste your JSON and select the YAML tab. The converter produces clean YAML with 2-space indentation, dash-prefixed arrays, and proper type handling.
What is the difference between JSON and YAML?
JSON uses braces, brackets, and strict double-quote rules. YAML uses indentation, supports comments, and is more readable. JSON is standard for APIs; YAML is preferred for config files.
Can I convert JSON to Excel?
Yes — convert JSON to CSV first using this tool, then open the downloaded .csv file in Excel or Google Sheets. CSV is universally supported by all spreadsheet applications.