Navigation

JSON to XML Converter

Map JSON to XML while keeping numeric literals exact.

Keys become elements; arrays use item; null uses xsi:nil. JSON types do not round-trip.

Share

Last reviewed: Β· Testing methodology

How to use

Map JSON to XML while keeping numeric literals exact.

1

Enter your input

JSON up to 100,000 characters; supported ASCII element names. Use Try example where available to see the expected shape.

2

Choose options and run

Select the relevant mode or settings. Automatic tools update as you type; other tools use the labeled primary action.

3

Review the result

Check the result against your input, then use the available copy or download action. Edits clear or recompute the result.

Limits and questions

Inputs are processed in your browser. Analytics and advertising can make separate network requests.

A result you can check

For {"items":[],"missing":null}, expect an empty items element and a missing element with xsi:nil="true", without an invented array item.

Before using the result

The application accepts at most 100,000 JSON characters, 10,000 generated nodes and 32 nesting levels. Invalid XML names must be changed in the source data.

Frequently asked questions

What does this tool support?
JSON up to 100,000 characters; supported ASCII element names. At most 10,000 XML nodes and 32 levels. Arrays use item; null uses xsi:nil. Mapping is not a lossless type round-trip.
Where is my input processed?
Tool calculations and conversions run locally in your browser. Existing analytics and advertising requests are separate from input processing.