XML Format
Pretty-print XML via a JSON tree mapping (lossy for mixed content).
How to use
- Paste XML
- Format
- Copy the result
FAQ
Is my input uploaded?
No. Processing stays in your browser. Nothing is sent to our servers.
Related tools
- XML Validate — Check XML is well-formed locally (DOMParser), with element and namespace stats.
- XML XPath — Evaluate XPath 1.0 against XML locally in your browser.
- Convert — Export XML to JSON (lossy; attributes use @_).