Skip to main content

XML to JSON (Advanced)

v1.0.2

Convert XML to JSON preserving attributes and mixed content for lossless round-trips.

Converts XML to JSON preserving attributes (@attr) and mixed text content — produces a lossless round-trip representation suitable for programmatic processing of complex XML documents.

How to use
  • Paste XML to convert it to JSON with attribute prefixes.
  • Switch to JSON→XML mode to regenerate the XML from the structured JSON.
  • Use the attribute-prefix setting to choose between @attr, _attr, and $attr conventions.