XML फ़ॉर्मैटर
एकसमान इंडेंटेशन और वैकल्पिक attribute रैपिंग के साथ XML को सुंदर बनाएँ।
इनपुट
परिणाम
उपयोग कैसे करें
How to format XML
Paste XML and press Format. Nested elements are indented and parse errors are reported with a message.
- Paste XML into the input editor.
- Press Format.
- Copy the beautified document.
अक्सर पूछे जाने वाले प्रश्न
Does it validate XML too?
Yes. If the document is not well formed the formatting stops and the error is displayed.
Which indentation is used?
Two spaces by default, and you can switch to four spaces or tabs from the toolbar.
संबंधित टूल
XML सत्यापनकर्ता
जाँचें कि XML दस्तावेज़ सही ढंग से बना है और स्पष्ट त्रुटि विवरण देखें।
XML मिनिफ़ायर
सबसे छोटा payload बनाने के लिए XML टैग के बीच की खाली जगह हटाएँ।
XML से JSON
attributes और दोहराए गए elements को ठीक से संभालते हुए XML को JSON में बदलें।
YAML फ़ॉर्मैटर
एकसमान इंडेंटेशन और सत्यापन के साथ YAML को पार्स और फिर से क्रमबद्ध करें।
YAML सत्यापनकर्ता
YAML सिंटैक्स सत्यापित करें और इंडेंटेशन या संरचना गलत होने पर सटीक त्रुटि पाएँ।
YAML से JSON
API और JavaScript अनुप्रयोगों के लिए YAML दस्तावेज़ों को JSON में बदलें।