Convert XML files to JSON in your browser, without uploading or signing up.
JSON stores objects and arrays. XML stores nested elements and attributes; @name and #text map between the two formats.
DOCTYPE, external entities, namespaces and mixed content are rejected. Formatting whitespace and comments are not retained.
No. DTDs and entity declarations are rejected before parsing.
No. Whitespace, comments and mixed content are not preserved.