XML ⇄ JSON Converter

Convert between XML and JSON formats with customizable options

Conversion Mode

Format output with proper indentation

Convert XML attributes to JSON

Always create arrays for child elements

Input (XML)

Output (JSON)

How to Use

1

Choose conversion direction

2

Paste data or upload file

3

Configure options and convert

Features

Bidirectional conversion

Attribute handling

Pretty formatting

Error validation

FAQ

How are XML attributes handled?

XML attributes are converted to JSON objects with "@attributes" key.

What about XML namespaces?

Namespaces are preserved as part of the element names in the conversion.