XML to JSON Converter
Convert XML to JSON. Element names become object keys, attributes get a configurable prefix (@, _, or none), text content gets a configurable key name, and repeated sibling elements become a JSON array automatically — with an option to force every element into an array so the shape never depends on how many times it repeats. Runs entirely in your browser.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
XML input
Attribute prefix
@, _, Text content key
#text, _text, text Trim whitespace in text content
Always represent child elements as arrays
Indent
2, 4, tab, minified Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.