Eskillsfy

Home / Tools / Data and formats

XML to JSON Converter

Convert XML to JSON and JSON back to XML.

Runs in your browserFree, no sign-upOpens .xml, .json
Loading tool…

How to use it

  1. Choose XML → JSON or JSON → XML.
  2. Paste your data or open a file.
  3. Copy or download the converted output.

About this tool

Attributes become keys that start with @ and element text becomes #text, so you can convert back without losing data. Repeated elements turn into arrays. Useful for supplier feeds, invoices, SOAP responses and old exports that only speak XML.

Your input is processed on your device. Nothing is sent to a server or stored.

How it works, and how to build your own →

Questions

How are attributes handled?
An attribute like sku="A1" becomes "@sku": "A1". When converting back, keys that start with @ become attributes again.
Does it support namespaces?
Namespaced tags keep their prefix, for example soap:Body, so nothing is dropped.
Data and formats

More tools like this

All data and formats