#109 · Data & File Converters Ready to use

XML to JSON Converter

Convert XML structures to clean JSON in your browser.

Work area

Loading tool…

How to use

  1. 1Paste XML.
  2. 2JSON builds instantly.
  3. 3Copy or download it.

Example

<a><b>1</b></a> -> {"a":{"b":"1"}}.

Parses with DOMParser and maps attributes to @name, repeated tags to arrays, all in your browser.

Privacy: everything runs in your browser's local memory (RAM); nothing is sent to servers.

FAQ

Attributes kept?

Yes, as @name keys.

Keep exploring

View all tools