Free, browser-based utilities for everyday developer workflows

Convert XML to JSON for API Debugging

Turn XML and SOAP payloads into readable JSON locally so they fit the rest of your API debugging workflow.

Try it now

Open XML to JSON Converter with a ready-to-run example.

Try it now
When you need this
  • You received XML from an API or vendor system but want to inspect it with JSON-first tooling.
  • You need to convert a SOAP response into JSON before sharing it with teammates or test automation.
  • You want repeated XML nodes represented as arrays for easier downstream processing.
How to do it with Daily Developer Tools
  • Paste the XML or SOAP payload into XML to JSON Converter.
  • Choose whether to keep attributes and namespace prefixes.
  • Run the conversion, then copy or hand off the JSON output into other tools.
Tips / common pitfalls
  • Keep attributes enabled when IDs, currencies, or metadata live on XML elements.
  • Strip namespace prefixes only if your downstream tools do not need the original XML names.
  • Repeated sibling elements become arrays automatically, which helps when working with feed-style XML.
Examples & test data

Catalog feed to JSON

Open tool with this example
Input example
<catalog><book id="bk101"><title>XML Developer Guide</title><price currency="USD">44.95</price></book><book id="bk102"><title>Midnight Rain</title><price currency="USD">5.95</price></book></catalog>
Expected output
{
  "catalog": {
    "book": [
      {
        "@attributes": {
          "id": "bk101"
        },
        "title": "XML Developer Guide"
      },
      {
        "@attributes": {
          "id": "bk102"
        },
        "title": "Midnight Rain"
      }
    ]
  }
}
FAQ
Does the converter handle SOAP payloads?

Yes. SOAP envelopes are still XML, so the tool converts them into JSON the same way as regular XML documents.

How are attributes represented?

Attributes are placed under an @attributes object when that option is enabled.

What happens to repeated XML elements?

Repeated sibling elements with the same name are grouped into JSON arrays automatically.

i Privacy-first: runs locally in your browser. No uploads.