Is the JSON to XML converter free?
Yes. It is completely free to use, with no signup, no account, and no paywall.
Do I need to install anything?
No. It runs in any modern browser on desktop or mobile, with nothing to download and nothing to configure.
Does it stay local?
Yes. Your data is converted entirely in your browser and never uploaded to a server.
Why is the XML so much bigger than the JSON?
Because every value is wrapped in an opening and a closing tag whose name is repeated, while JSON writes each key once. A field called description costs 27 characters of tags in XML and 14 in JSON before any content. Expect the output to be roughly a third to a half larger. This is the fundamental reason JSON displaced XML for APIs, and it is a real cost if the payload travels over a network, although gzip compresses the repeated tag names very effectively.
What happened to my JSON types?
They are gone. XML without a schema has exactly one type, which is text, so the number 3.14, the boolean false, and the string false all come out as character data inside an element. Anyone consuming the XML has to know from a schema or from convention which elements are numbers and which are strings. This is a one-way conversion in that sense: you cannot mechanically reconstruct the original JSON from the XML.
Why did my key name change?
XML element names have rules that JSON keys do not. A name cannot contain spaces or most punctuation, and it cannot begin with a digit. Any character outside the legal set is replaced with an underscore, and a name starting with a digit is prefixed with one, so that the output is at least well-formed. If your JSON uses keys like order total or 2024, check the output, because the element names will not match what a downstream consumer expects.
Is my JSON sent to a server?
No. The parsing and conversion happen in your browser with local JavaScript, so the data never leaves your device. That matters when the JSON you are converting is an API response containing customer records or internal identifiers.
Can I convert the XML back to JSON afterwards?
Not faithfully. The conversion loses types, loses the distinction between a single-element array and a scalar, and rewrites any key that was not a legal element name. You can produce some JSON from the XML, but it will not be the JSON you started with. If a round trip matters, keep the JSON as the source of truth and treat the XML as an output format.