Skip to content
kivo

XML to JSON

Convert XML markup into an equivalent JSON structure, attributes included.

Free No signup Runs in your browser — nothing uploaded
Result

How to use the XML to JSON

  1. Paste your content, or load a file.
  2. The result appears as you type.
  3. Copy or download the output.

Frequently asked questions

What happens to attributes?
They become keys prefixed with @, so <a href="x"/> gives { "@href": "x" }.
Do my files get uploaded?
No. This tool runs entirely in your browser, so the file never leaves your device.

Related tools