XML → JSON
XML to JSON
Parse XML into JSON, including attributes and nested elements.
Playground
XML to JSON
Works with typed XML from our JSON→XML converter and common plain XML.
Optional — try the API without a key (shared tools quota). Public signup is closed during beta — learn more.
Uses the tools API proxy when no key is entered. Max payload 512 KB.
XML into structured JSON
Attributes, nested elements, and typed exports from our JSON→XML path
Strict XML parse
Malformed markup fails with a clear message instead of a half-built object.
Attributes kept
Element attributes land as @keys so nothing important is dropped on the floor.
Pretty output
Optional pretty-print for readable diffs; minify when you need compact payloads.
API included
POST /v1/json/from-xml — same transform the playground runs.
Need this as an API?
Normalize XML feeds into JSON for modern APIs