XML Formatter

XML from APIs and configs often arrives minified. An XML formatter indents and structures your data for readability. Validate syntax, fix formatting, and prepare XML for documentation or debugging. Use cases: SOAP responses, config files, RSS feeds. Paste XML, get formatted output. Runs in browser.

Example

Input

<?xml version="1.0"?><root><a>1</a><b>2</b></root>

Output

<?xml version="1.0"?>
<root>
  <a>1</a>
  <b>2</b>
</root>

Use cases

  • Format SOAP responses
  • Validate XML configs
  • Debug RSS/Atom feeds
  • Prepare XML for docs