Toolbox

Online XML to JSON Converter

XML to JSONXML ParseConvertData Format

Convert XML to JSON instantly, parse root and repeated tags as arrays, detect numbers/booleans, decode entities, local processing.

Input XML
Result JSON
All processing is done locally, no upload

How to Use

  • Paste any valid JSON, supports nesting, arrays and escapes
  • Click Beautify to auto indent and format
  • Click Minify to remove whitespace into one line
  • All operations run locally for privacy

Related Tools

FAQ

How to convert XML to JSON?

Paste XML with or without <?xml?> and click XML to JSON.

How are repeated tags handled?

Same-name tags merge to array, e.g. <a>1</a><a>2</a> → "a":[1,2]; item lists also become arrays.

Does it detect types?

Pure numbers to numbers, true/false to booleans, entities decoded.

Will my data be uploaded?

No, local processing.