XML ↔ JSON Converter
Two-way XML and JSON conversion with attribute handling, pretty-printing and live validation.
- Runs in your browser
- No upload on server
- Free, forever
- Paste XML or JSON
- Pick direction
- Copy the result
XML input
JSON output
{
"library": {
"book": [
{
"title": "The Pragmatic Programmer",
"author": "Andy Hunt",
"@_id": 1,
"@_lang": "en"
},
{
"title": "Refactoring",
"author": "Martin Fowler",
"@_id": 2,
"@_lang": "en"
}
]
}
}How this works — and why it's private
- Pick a direction — XML to JSON or JSON to XML.
- Paste your data or load a file. We validate it as you type.
- Tune indenting and attribute handling, then copy or download the result.
Rate XML ↔ JSON Converter
One tap. Anonymous. Helps others find the good tools.
No account, no email, no tracking — just a 1–5 number.
Be the first to rate