XML to JSON
Convert XML data into JSON format
Convert XML data into JSON format
Convert XML data into JSON format
Input text
input: <person id="1"><name>Ana</name></person>
Use the example button when available, or paste these values into the corresponding fields.
XML 1.0, one root, at most 100 nested elements. DOCTYPE and ENTITY declarations are rejected, including declaration-like text inside comments or CDATA. Only predefined entities and valid numeric character references are accepted; external resources are never loaded. Namespace names are retained without fetching or validating schemas. Parser-reserved element names __proto__, constructor and prototype reject. Mapping: attributes use @_name; repeated children become arrays; XML values remain strings, including 00123. Text and CDATA become strings or #text. Whitespace-only formatting around child elements is omitted. Comments, processing instructions and declarations are omitted. Mixed text is concatenated into #text, so interleaving with child elements is not retained; this mapping is not lossless for mixed content or document metadata.
Tool processing runs on your device. Your input is not sent to a processing server. Some tools may download runtime files or use platform features; see the tool notes.
Review delimiter, headers and data types. Keep a backup and inspect the converted output before importing it elsewhere.
Yes. ToolXovo tools are free to use. Beta tools are still being validated; check their notes and exported results.