Guide updated:
Convert an XML document into a JSON representation.
Practical instructions with desktop and phone screenshots, short demonstrations and answers to common questions.
Before you start
Open the tool in a current browser. The demonstrated operation runs locally on your device and needs no account or credits. Use the public example values below.
Step-by-step instructions
- Open the tool using the button next to the video. Keep the default mode unless the next step specifies a different one.
- Enter <root><item>Example</item></root>, keep compact representation and press Convert to JSON.
- Inspect the result shown below the inputs. If the tool has an action button, press it after editing; live converters update as you type.
- Copy or export the result using the controls provided by this tool. Check the output before using it in another application.
- Attributes, repeated siblings and mixed text need explicit mapping rules. Select ordered-tree mode when child-node order matters.
On a computer
Use the keyboard to enter the example values. Review the options, then inspect the output and use Copy or an export action when available.
On a phone
Tap the input field and enter the example. Close the on-screen keyboard to review the options and result; keep the tab open until you finish.
In Safari on iPhone, open the sharing menu and choose Save to Files if the result opens in a new tab. In Android Chrome, check Downloads. Keep this tab open until processing finishes.
For a better result
Attributes, repeated siblings and mixed text need explicit mapping rules. Select ordered-tree mode when child-node order matters.
Screenshots and video
Desktop demonstration
This recording shows a demonstration input and the resulting output in the tool.
Phone demonstration
This recording shows a demonstration input and the resulting output in the tool.
Questions and troubleshooting
Does this demonstration use my real data?
No. The recording uses public example values created for the guide. The service operates on the input you enter in your own browser.
What should I check before relying on the result?
Attributes, repeated siblings and mixed text need explicit mapping rules. Select ordered-tree mode when child-node order matters.
If you see a message that the service is overloaded, wait and try again later. A failed attempt does not mean that your source file has changed.