JSON and XML converter
Convert nested JSON to XML or XML to JSON using an explicit typed mapping, so attributes, text and types stay clear. Free, runs in your browser.
Tool guide
How to use JSON and XML converter
Use an explicit typed JSON mapping or an XML tree mapping for nested conversion.
- The Live preview panel shows bounded quick information while you edit. Large input, full reports, random generation and exports still use the action button. Live updates do not spend runs, record tool outcomes or save your input. YAML/XML validation and rendered Markdown require Enable live validation/preview or a first explicit processing action.
- Enter or paste your input, choose the options and select Convert structured text. File selection alone does not read a file; the explicit action starts local processing.
- The JSON value {"a":[1,true]} becomes a typed XML object/member/array/item tree and decodes to the same values.
- Typed mapping is reversible for nested JSON. Arbitrary XML uses an explicit element/attribute/ordered-child tree. DTD, processing instructions and external entities reject; comments, CDATA spelling and declaration are discarded.
- Standard: 1 MiB UTF-8 input, 32 MiB complete output. Extended: 4 MiB input, 128 MiB output. XML/YAML: 64 levels, 50,000 values Standard or 200,000 Extended.
- Review the complete downloaded result. Editing, Clear, Cancel or leaving invalidates working output; no input or result is uploaded or saved to an account.
Common questions
What does json and xml converter support?
Standard: 1 MiB UTF-8 input, 32 MiB complete output. Extended: 4 MiB input, 128 MiB output. XML/YAML: 64 levels, 50,000 values Standard or 200,000 Extended. Typed mapping is reversible for nested JSON. Arbitrary XML uses an explicit element/attribute/ordered-child tree. DTD, processing instructions and external entities reject; comments, CDATA spelling and declaration are discarded.