Are attributes supported?
Keys prefixed with @_ can map to attributes depending on the XML builder. Prefer nested objects if you need predictable element names.
Paste JSON on the left and copy XML on the right. Built for configs, SOAP snippets, and feeds that still want XML.
JSON formatter
Run a tool to see a polished result here
Objects become elements, arrays repeat child nodes, and scalar values become text. Invalid JSON is rejected first. XML-to-JSON is in the same sidebar. Everything stays local.
The editor is prefilled with a small example for JSON to XML. JSON to XML builds an XML tree from objects and arrays in the browser. Invalid JSON is rejected; nothing is uploaded. Replace it with your own file; the sample and your payload stay in this tab.
{
"note": {
"to": "dev",
"from": "jfmt",
"body": "local conversion"
}
}This dedicated JSON to XML URL matches that search intent; the homepage stays the general formatter. JSON to XML builds an XML tree from objects and arrays in the browser. Invalid JSON is rejected; nothing is uploaded. Related tools on this site include beautify, validate, minify, JSON to CSV, JSON to YAML and JSON to XML — all local. JFmt runs in a Web Worker in this tab. Do not paste production secrets if you share your screen. Read errors in the output pane instead of sending production payloads to another service.
Keys prefixed with @_ can map to attributes depending on the XML builder. Prefer nested objects if you need predictable element names.
This URL starts in JSON→XML. Switch the sidebar to convert the other way.
No.
No. Parsing and conversion run in a Web Worker in this tab. jfmt.dev does not receive the payload.
So people searching for this operation land on a page that already selects it. JSON to XML builds an XML tree from objects and arrays in the browser. Invalid JSON is rejected; nothing is uploaded.