XML Formatter

Input
Result
How to use
  1. 1.

    Paste your XML into the Input panel

  2. 2.

    Click Format to pretty-print with indentation, or Minify to compact it

  3. 3.

    Fix any syntax errors shown, then copy the result

Common uses
  • Formatting minified XML from an API response or configuration file

  • Validating XML structure before using it in an application

  • Minifying XML for storage or transmission efficiency