Step 1 / source
Choose the source
Drop one file here
Choose the json object or array you want to turn into escaped xml document.
Checking publication status...LOCAL DATA CONVERTER / JSON TO XML
Build one escaped XML document from a bounded JSON object or array using explicit root and array-item element names.
Step 1 / source
Choose the json object or array you want to turn into escaped xml document.
Checking publication status...This operation runs with browser APIs. Nirmion receives catalogue requests, not the selected source bytes.
The converter creates a separately named output. It never writes back into the source file.
One UTF-8 .json file up to 5 MB, 100 nesting levels, 1,000,000 bounded nodes, XML-safe keys, no nested anonymous arrays, and 20 MB output.
Plain-language method
Nirmion validates a JSON container, checks every element and attribute name, wraps the data in the chosen root, maps @_ keys to attributes and #text to element text, repeats named array properties, escapes values, and validates the generated XML.
Use XML-safe object keys. Attribute keys may begin with @_ and must contain scalar values; #text must also be scalar.
Root and item names must begin with a letter or underscore. The item name is used only when the JSON root is an array.
The result ends in _nirmion_tools.xml with a UTF-8 declaration. JSON null, arrays, and object boundaries should be reviewed in the destination schema.
Useful when
Before converting
Know the boundary
The converter cannot invent an XML schema or namespace contract. Nested anonymous arrays and keys that are not valid XML names are rejected rather than renamed silently.
Quick answers
The conversion contract is deliberately explicit.
Use a scalar JSON key beginning with @_, such as @_id.
It supplies text for an element that may also have attributes.
No. Rejection prevents an unexpected destination schema.