Pretty print or minify text in XML, JSON, CSS and SQL formats

 
 
This service allows you to pretty print (or beautify) text in XML, JSON, CSS or SQL formats.
The reverse is also possible. This is called minify.

For example:

Pretty print the following XML text:

<email><to>Chong</to><from>Cheech</from><heading>Reminder</heading><body>Dave is here</body></email>

Output:

<email>
   <to>Chong</to>
   <from>Cheech</from>
   <heading>Reminder</heading>
   <body>Dave is here</body>
</email>


Pretty print or minify text input:


Apply method *: Help
Input XML, JSON, CSS or SQL text *: Help
Input type *: Help
Indent (number of white spaces) *: Help
Visualize indentation *: Help
Preserve comments (XML and CSS only) *: Help
 
* = required        
 


Pretty print or minify text output: