JSON and XML

Choose an element tree or typed JSON mapping, validate and convert real files.

Local processing

Select data file

Choose an XML file. Preview and conversion run on this device.

Use files up to 10 MiB, 32 XML levels, 100,000 nodes and 1,000 record paths.

How to convert JSON and XML

  1. Inspect JSON or XML

    Choose the conversion direction and inspect the source text before selecting its mapping.

  2. Choose a matching representation

    Use the XML element tree for XML structure, or typed JSON for objects, arrays, nulls and scalar values.

  3. Validate and download

    Convert, review the actual output and use the same mapping when converting it back.

Typed XML retains JSON values and empty arrays

The actual XML sample retains a text ID, null, booleans, Unicode and an empty array in its documented typed representation.

Before: Typed XML retains JSON values and empty arrays

Before

0.1 KiB

JSON

Download source samples
After: Typed XML retains JSON values and empty arrays

After

0.5 KiB

XML

Download the result

The element tree uses format telsaro.xml-tree.v1 with one named root, string attributes and ordered children. Typed JSON uses a separate XML vocabulary. Comments and declarations are omitted; CDATA becomes text. Duplicate keys, unsafe numbers and invalid XML characters are rejected.

© Telsaro 2026 · Your online file tools