🔃 XML ⇄ JSON

Paste XML on the left for JSON on the right, or the other way. Supports basic nodes, text and structure - useful for API debugging and migration. Local, no upload.

Found this helpful? Support me ☕ ☕ Support me on Ko-fi

❓ Frequently asked questions

How are text and structure mapped?

Element text is kept; child elements become nested objects/arrays.

Does it support namespaces?

Basic parsing works; complex namespaces need a pro library.

Is data uploaded?

No, it is local.

📚 How to use

Converting XML and JSON is common in API work.

Steps

  1. Paste XML on the left or JSON on the right.
  2. Click the direction button.
  3. Copy the result.

About this tool

XML and JSON are both just ways to carry data. Sometimes you need to switch sides.

This converts between them so your config, feed, or payload drops into the next system without a manual rewrite.

Use it when an API wants JSON but your source is XML, or the other way around.

Local; the data isn't uploaded.

Your data stays on your device. (We run anonymous analytics — privacy policy.)

Tip: watch for attributes in XML — they often become nested fields in JSON. That's it.