Devy Tools PRO Download

Offline XML Formatter Free

Format and prettify XML documents with proper indentation.

Runs offline in Devy, a desktop app with 234 developer tools for Windows, macOS and Linux. Free in Devy Tools, with no account and no time limit.

The XML Formatter in the Devy desktop app
The XML Formatter in Devy, running offline.

What the XML Formatter is for

XML from SOAP services, RSS feeds, Android resources and config files often arrives without line breaks. An XML formatter indents every element so the nesting is visible.

Example

XML

<order id="1042"><customer>Asha</customer><items><item sku="KB-201" qty="2"/></items></order>

Formatted

<order id="1042">
  <customer>
    Asha
  </customer>
  <items>
    <item sku="KB-201" qty="2"/>
  </items>
</order>

Why use it offline

Formatting is where production data ends up: API responses, config files, query logs. In Devy it never leaves your computer, so you can paste the real thing.

  • Nothing you paste or open is uploaded
  • Works on a plane, behind a VPN or with no network
  • No ads, no sign-up, opens in a second

How to use the XML Formatter

  1. Download Devy for Windows, macOS or Linux and open it.
  2. Search for “XML Formatter” on the home screen, or open the Formatters category.
  3. Paste your input or open a file, then copy or save the result.

Good to know

  • Formatting can't fix broken XML: an unclosed tag or a bare & stops it. The XML Validator shows exactly where.
  • A & in text must be written as &amp; and < as &lt;.
  • Devy puts element text on its own line, as above. Where whitespace inside text matters (mixed content, as in XHTML), keep the original for processing and use the formatted copy for reading.

Questions

Can it minify XML too?

Use Devy's XML Minifier, which removes whitespace between tags and, optionally, comments.

Is the XML Formatter free?

Yes. The XML Formatter is one of the 45 tools in Devy's free plan. There's no account, no trial to run out and no limit on use.

Does it send my data anywhere?

No. The XML Formatter runs inside the Devy desktop app on your computer. What you paste or open isn't uploaded, logged or shared, and it works with no internet connection.

Which computers does it run on?

Windows, macOS and Linux. Download Devy from this site or install it from the Microsoft Store.