PrivTab

XML ఫార్మాటర్

XMLను ఫార్మాట్ చేయండి

మీ బ్రౌజర్‌లో పనిచేస్తుంది · అప్‌లోడ్ లేదు

ఈ సాధనం, ఈ పేజీలోని సూచనలు ప్రస్తుతం ఆంగ్లంలో ఉన్నాయి. ఇది అదే విధంగా పనిచేస్తుంది: అంతా మీ బ్రౌజర్‌లోనే నడుస్తుంది.

Make it
  • ఏదీ మీ పరికరాన్ని విడిచి వెళ్లదు
  • సర్వర్ నుండి పరిమాణ పరిమితి లేదు
  • సైన్-అప్ లేదు, వాటర్‌మార్క్ లేదు
  • ఉచితం

How to format XML

  1. Paste your XML, open a file, or try the example.
  2. Choose readable or small, and the indentation.
  3. Copy or download the result. If the XML has a mistake, the exact line and column are shown.

What is checked

  • Every tag is closed, in the right order, with one root element.
  • Attribute values are quoted and not repeated, and contain no "<".
  • Every "&" starts a valid entity such as &amp; or &#169;.
  • Comments, CDATA sections and the XML declaration are well-formed and in the right place.

Your content stays exactly the same

Only the whitespace between tags changes. Text inside an element is never touched, and elements that mix text and tags (like <p>Some <b>bold</b> text</p>) are kept exactly as written, because extra spaces there would change the content. This checks that XML is well-formed; it does not validate against a schema (XSD or DTD).

తరచుగా అడిగే ప్రశ్నలు

Can I format SVG files?

Yes. SVG is XML, so you can tidy it up here. For making SVGs smaller, the SVG Optimizer does more.

Is my XML uploaded?

No. Everything happens in your browser, and the page is blocked from uploading anything.