About the XML formatter
Format or minify XML documents and catch malformed markup before using the result elsewhere.
What it does
- Indents valid XML to expose its element hierarchy.
- Minifies XML while preserving document content.
- Reports XML parsing errors with location details when the browser provides them.
- Supports copying and downloading the result.
How to use it
- Paste an XML document into the input editor.
- Choose Format or Minify.
- Review the validation state and output before reusing the document.
Notes
This is a syntax formatter and validator. It does not validate against XSD schemas.
Privacy
XML parsing and formatting happen locally in your browser. The document is not uploaded for processing.