CanDoYa
HI

मुफ़्त XML Formatter

पूरी तरह आपके ब्राउज़र में चलता है - न कुछ अपलोड, न साइन-अप।

XML
फ़ॉर्मैट किया XML
XML को फ़ॉर्मैट और वैलिडेट करने के लिए पेस्ट करें
यह टूल शेयर करें

XML formatter क्या करता है?

XML formatter सघन या उलझे हुए XML को पढ़ने लायक, बराबर इंडेंट किए markup में बदलता है और जाँचता है कि document well-formed है या नहीं। XML पेस्ट करें, indent style चुनें और formatted या minified नतीजा कॉपी करें। parser आपके ब्राउज़र में चलता है, इसलिए private feeds, SVG snippets और config files अपलोड नहीं होते।

कैसे इस्तेमाल करें

  1. 1XML पेस्ट करें. XML document, SVG snippet, SOAP payload या feed sample को input box में डालें।
  2. 2status पढ़ें. status bar XML को live validate करता है और उपलब्ध होने पर पहली well-formedness error line और column के साथ दिखाता है।
  3. 3output चुनें. Indented XML के लिए Beautify या compact single-line version के लिए Minify इस्तेमाल करें।
  4. 4नतीजा कॉपी करें. जब status बताए कि XML valid है, तब formatted XML कॉपी करें।

किसके लिए है

यह tool पहले well-formed XML structure की जाँच करता है: एक root element, matching open और close tags, quoted attributes और बंद comments, CDATA sections और processing instructions। फिर वही text tree फ़ॉर्मैट करता है, आपके markup को HTML की तरह render किए बिना।

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

क्या XML formatter मुफ़्त है?

हाँ। XML formatter मुफ़्त है, न साइन-अप, न download और न कोई usage limit। XML पेस्ट करें, format करें, minify करें और browser से result कॉपी कर लें।

क्या मेरा XML कहीं अपलोड होता है?

नहीं। formatter आपके browser में locally चलता है। आपका XML textareas में रहता है और server पर नहीं भेजा जाता, इसलिए private feeds, internal API payloads और configuration files के लिए यह काम का है।

यह कौन सी XML errors पकड़ता है?

यह आम well-formedness समस्याएँ पकड़ता है, जैसे missing root element, एक से ज़्यादा root element, mismatched closing tags, unclosed tags, unclosed comments या CDATA sections और unquoted attribute values।

क्या यह XSD या DTD के against validate करता है?

नहीं। यह well-formedness formatter है, schema validator नहीं। यह XML syntax और nesting जाँचता है, फिर document को beautify करता है। जब XSD, DTD, Relax NG या Schematron rules चाहिए हों, तो dedicated XML schema validator इस्तेमाल करें।

क्या comments और CDATA बचे रहते हैं?

हाँ। Comments, CDATA sections, XML declarations, processing instructions और DOCTYPE declarations output में रहते हैं। Tags के आसपास spacing और indentation normalize हो जाती है ताकि structure पढ़ना आसान हो।

XML minify क्या करता है?

Minify tags के बीच की formatting whitespace हटाता है और जहाँ सुरक्षित हो tag spacing समेटता है, जिससे compact XML string मिलती है। Text content, comments, CDATA sections और attributes जस के तस रहते हैं।