XML फ़ॉर्मेटर

XML Formatter

Indent and minify XML and check that it is well-formed. कैसे इस्तेमाल करें ↓

  • 100% फ्री
  • साइन-अप की ज़रूरत नहीं
  • प्राइवेट – आपके ब्राउज़र में चलता है
  • मोबाइल पर भी चलता है

XML फ़ॉर्मेटर कैसे इस्तेमाल करें

How to use XML Formatter: 1. Paste XML or open an .xml file. 2. Choose the indentation. 3. Click Format XML or Minify.
स्टेप्स टेक्स्ट में पढ़ें
  1. Paste XML or open an .xml file.
  2. Choose the indentation.
  3. Click Format XML or Minify.

सपोर्टेड फॉर्मेट: XML, TXT

What you get

Each element goes on its own line with consistent indentation; short text-only elements stay on one line. Comments, CDATA sections, processing instructions and namespaces are kept unchanged.

The tool also asks your browser's XML parser whether the document is well-formed – every tag closed and properly nested, one root element, quoted attributes. It does not validate against an XSD schema.

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

Does formatting change my data?

Only whitespace between tags changes. Text inside elements is trimmed of extra spaces; CDATA is untouched.

Can it validate against a schema (XSD)?

No, it checks well-formedness only.