Developer's Toolbox / Online XML formatter

XML formatter online

This tool allows you to format XML string (XML beautifier).

Copy and paste, drag and drop a XML file or directly type in the "Your XML string" editor above.

Your XML string is automatically formatted in the "Formatted XML" editor.

Your XML string

Formatted XML

User guide

This tools is an easy to use XML formatter, there is only one step to format your XML, you must fill the "Your XML string" editor, and automatically the formatted XML is available in the "Formatted XML" editor.
In order to fill the "Your XML string" editor, you can:

  • Copy and paste your XML string.
  • Drag and drop your XML file.
  • Directly type in the editor.

About XML

XML (eXtensible Markup Language) is a software and hardware independent tool for storing and transporting data, and it is designed to be self-descriptive. XML is a markup language.

XML is a W3C Recommendation.

There are 5 pre-defined entity references in XML:

  • <: &lt; (less than)
  • >: &gt; (greater than)
  • &: &amp; (ampersand)
  • ': &apos; (apostrophe)
  • ": &quot; (quotation mark)

You can report a bug or give feedback by adding a comment (above) or by clicking "Contact us" link (at the top right hand corner of the page).


The tools are provided "as is", without warranty of any kind, either express or implied.