JSON को XML में और XML को वापस JSON में बदलें, दोनों दिशाओं में, पूरी तरह आपके ब्राउज़र में।
JSON / XML का उपयोग कैसे करें
एक दिशा चुनें: JSON से XML या XML से JSON।
अपना JSON या XML पेस्ट करें।
परिवर्तित परिणाम कॉपी करें, या वापस कनवर्ट करने के लिए स्वैप करें।
A two-way converter between JSON and XML, built on a well-tested parser. Convert a JSON object into XML or parse XML back into JSON, preserving attributes and turning repeated elements into arrays and back again.
It is handy whenever you need to bridge an XML-based system and a JSON-based one, inspect a SOAP payload as readable JSON, or turn a JSON config into the XML a legacy tool expects.
Everything runs locally in your browser, so your data never leaves your device.
XML (Extensible Markup Language) is a long-established way to structure data with nested tags and attributes. It is still everywhere: SOAP web services, RSS and Atom feeds, office document formats, Android layouts and countless configuration and data-exchange formats.
Attributes are preserved across the round trip using an @_ prefix on the JSON side, so an XML attribute becomes a clearly marked JSON key and converts back into the same attribute, rather than being lost or confused with child elements.
Repeated elements map naturally to arrays: several <item> tags under a parent become a JSON array, and a JSON array becomes repeated elements in the XML, which is the shape most real documents take.
अक्सर पूछे जाने वाले सवाल
Attributes JSON साइड पर @_ prefix उपयोग करके संरक्षित किए जाते हैं, इसलिए आगे-पीछे कनवर्ट करने पर वे बरकरार रहते हैं।
दोहराए गए XML elements JSON ऐरे बनते हैं, और JSON में ऐरे XML में दोहराए गए elements बनते हैं।
नहीं। कनवर्शन पूरी तरह आपके ब्राउज़र में चलती है।
इस टूल को एम्बेड करें
इस टूल को अपनी वेबसाइट में जोड़ें। नीचे दिया स्निपेट कॉपी करें; यह अपने आप अपडेट रहता है।
<iframe src="https://monu.tools/embed/hi/json-xml-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>संबंधित टूल
अमान्य इनपुट के लिए स्पष्ट त्रुटि संदेशों के साथ JSON को ऑनलाइन फ़ॉर्मेट करें, सुंदर बनाएं और वैलिडेट करें.
JSON को मिनिफाई करें फ़ाइल आकार कम करने के लिए, या इसे उचित इंडेंटेशन के साथ सुंदर बनाएं।
JSON को CSV में और CSV को वापस JSON में रूपांतरित करें, दोनों तरह से. विभाजक चुनें, उद्धृत फ़ील्ड संभालें, और परिणाम कॉपी करें. सब कुछ आपके ब्राउज़र में चलता है.
YAML को JSON में और JSON को वापस YAML में बदलें, दोनों दिशाओं में। कनवर्ट करते समय सत्यापन करता है और स्पष्ट त्रुटियां दिखाता है। सब कुछ आपके ब्राउज़र में चलता है।