होम
Tom Utilities

XML फ़ॉर्मैटर

XML और YAML टूल

एकसमान इंडेंटेशन और वैकल्पिक attribute रैपिंग के साथ XML को सुंदर बनाएँ।

इनपुट

परिणाम

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

How to format XML

Paste XML and press Format. Nested elements are indented and parse errors are reported with a message.

  1. Paste XML into the input editor.
  2. Press Format.
  3. 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.