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


Settings Remark
Indent (number of white spaces) Specify how many white spaces per indent should be applied when the text is beautified:
  • 1 white space per indent
  • 2 white spaces per indent
  • 3 white spaces per indent
  • 4 white spaces per indent
  • 5 white spaces per indent
  • 6 white spaces per indent
  • 7 white spaces per indent
  • 8 white spaces per indent
In the example below the indent is set to 3 white spaces:

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