Search for a tool or command
Convert JSON into well-formed XML with attribute and element control.
Convert JSON into well-formed, properly indented XML entirely in your browser. This JSON to XML converter maps object keys to elements, expands arrays into repeated tags, and can emit attributes from keys you prefix with @. Special characters are escaped automatically so the output is valid XML you can hand to a legacy SOAP endpoint, an RSS feed, or an XML-only integration.
Provide a JSON object. Use @-prefixed keys for attributes and a #text key when a node needs both attributes and text content.
The converter walks your JSON, building elements and attributes and escaping special characters as it serializes.
Copy the indented XML or download it as an .xml file, ready for a SOAP request, feed, or config.
The @id key becomes an attribute; other keys become child elements.
Input
{
"book": {
"@id": "b1",
"title": "The Pragmatic Programmer",
"author": "Hunt & Thomas"
}
}Output
<?xml version="1.0" encoding="UTF-8"?>
<book id="b1">
<title>The Pragmatic Programmer</title>
<author>Hunt & Thomas</author>
</book>Parse XML into predictable JSON with clear attribute and text mapping.
Turn JSON into clean, readable YAML for configs, pipelines and manifests.
Flatten an array of JSON objects into spreadsheet-ready CSV.
Pretty-print JSON with configurable indentation and instant validation.