XML Formatter

This tool can be used to quickly format your XML (eXtensible Markup Language) data into a more readable output. More

Input
Output

How it works?

XML Formatter Online: This tool can be used to quickly format your XML (eXtensible Markup Language) data into a more readable output. See the examples of usage below.

Examples:

Unformatted XML
<note><to>Tove</to><body>Don't forget me this weekend!</body><from>Jani</from><heading>Reminder</heading></note>
Formatted XML
<note>
    <to>Tove</to>
    <body>Don't forget me this weekend!</body>
    <from>Jani</from>
    <heading>Reminder</heading>
</note>
 

The formatter can be used with four different levels of indentation:

  • Compact: Formats the input into a single-line result.
  • 2, 3 and 4 Spaces: Formats the input using an specified level of indentation.

More about XML:

XML (eXtensible Markup Language) is a W3C recommendation to handle Markup languages in a custom way. Portable regardless the software or hardware, it is used to represent data in a defined structure being capable of communicating within heterogeneous systems due to its interoperability.

Additional Resources:

Looking for something else?

In case you are looking for something else than this functionality, please let us know by contacting us. The most common requests will be made available (for free) once possible.