XML Formatter

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

Was this useful? Support us.
Paste your input

Identation:
Output Text



How it works?

Online XML Formatter: This tool can be used to quickly format your XML (eXtensible Markup Language) data into a more readable output. Check examples 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.

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.