होम
Tom Utilities

XML से JSON

XML और YAML टूल

attributes और दोहराए गए elements को ठीक से संभालते हुए XML को JSON में बदलें।

इनपुट

परिणाम

उपयोग कैसे करें

Converting XML to JSON

Press Convert to obtain a JSON representation. Attributes use the at sign prefix.

  1. Paste XML into the input editor.
  2. Press Convert.
  3. Copy the JSON output.

अक्सर पूछे जाने वाले प्रश्न

How are attributes represented?

Each attribute becomes a property named with an at sign, for example at id.

How are repeated elements handled?

When the same tag appears more than once at one level the values are collected into an array.