Converters

XML Formatter

Format XML documents with proper indentation, or minify to strip whitespace.

About the XML Formatter

Sitemaps, RSS feeds and SOAP payloads often arrive as one unbroken line of XML, which makes nesting impossible to follow.

Paste your document to indent it by hierarchy, or minify a formatted file to reduce transfer size.

How to use the XML Formatter

  1. Paste the XML into the input field.
  2. Choose format for indented output or minify to strip whitespace between elements.
  3. Scan the indented structure to confirm elements are nested where you expect.
  4. Copy the result.

Frequently asked questions