XML ↔ JSON converter

Attributes become @name keys, text content becomes #text, and repeated sibling tags become arrays.

What is XML ↔ JSON converter?

Older APIs and enterprise systems often speak XML where modern ones speak JSON — converting between them preserves attributes (as @name keys) and text content (as #text) so no information is lost either direction.

How to use it

Pick a direction and paste your content — repeated sibling tags automatically become JSON arrays.

Example

<item id="1">A</item> becomes {"item": {"@id": "1", "#text": "A"}}