Skip to main content
DevToys
Formatters

XML formatter

Indent and pretty-print XML documents

Conversion workspace

XML Formatted XML

Input
XML
Output
Formatted XML
How to use / Notes

How to use

  1. Paste the XML to format.
  2. It is re-indented for readability.
  3. Copy the result.

Notes

  • The XML must be well-formed before it can be formatted.
  • CDATA and namespaces are preserved as-is.