← All tools

JSON to XML

Convert JSON into indented XML with a single root element, attributes, and escaped text.

Convert XML to JSON instead

Ready when you are.

JSON integers beyond 2^53 stay exact. Use @_ keys for attributes and #text for text. A single top-level key becomes the root element; otherwise the output is wrapped in <root>. Comments and original formatting are not preserved. Maximum input: 1,000,000 characters.

Your inputs stay in this browser. These tools do not upload your text or colors.

CAT SETTINGS
HIDDEN SIGNAL

Some familiar corners may glitch into something unexpected.

Signal idle--
PIXEL DETAIL

Applied to every cat portrait.