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?

Input
  • Source Text
Settings
  • Indent
Run
Convert

How it works and examples

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

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

Input limits

Search tools