How to use XML to JSON Converter
- Paste XML.
- Copy or download the JSON.
Supported features and limitations
Invalid XML shows an error message. All values come out as strings, and element order between different names is not preserved.
Privacy
Everything you type is processed locally in your browser and is not sent to our servers. No account is needed and there is no watermark.
Frequently asked questions
How are attributes shown?
As keys starting with @, for example "@id".
Does it support namespaces?
Prefixed names are kept as written.
Related tools
- JSON to XML Converter - Convert JSON to indented XML with your own root element name.
- XML Formatter & Validator - Check that XML is well-formed and pretty-print it with 2 spaces, 4 spaces or tabs.
- JSON Formatter & Validator - Format, minify and validate JSON with clear errors.
- Text Case Converter - UPPERCASE, lowercase, Title Case and Sentence case.
- Word & Character Counter - Count words, characters, lines and reading time.
- Character Counter - Count characters with and without spaces, words, lines and UTF-8 bytes, and check text against limits like 280, 160 or 2,200.