XML to JSON

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

XML to JSON. Keeps root, attribute and sub-elements. Repeats the label group, the attribute starts with @.

Result

  

Loading the tool…

How to use XML to JSON

How do I use it?

  1. Fill in or select the input.
  2. Click to run and check the results.
  3. You can copy the text or download the results into a file.

How it works and example

Keeps the root elements, properties and sub-elements. Repeats the label array, the attribute starts with @.

<root><x>7</x></root> → {"root":{"x":"7"}}。

Input limits

Search tools