XML Formatter

Runs locally in your browser
All tool data is processed locally in your browser. It is never uploaded to HahaKit servers.

Paste XML, select beautification, compression or authentication.

Result

  

Loading the tool…

How to use XML Formatter

How do I use it?

  1. Paste XML, select beautification, compression or authentication.
  2. Formats by selecting indents and then copying or downloading the results.

How it works and example

Checks the document first with the browser XML solver. Only the level of elemental content is re-indented, and the paragraph containing the inline text or CDATA keeps the internal blank.

<root> <item> A </item> </root> Only one line is given to item after formatting, by default indent two spaces.

Input limits

Related tools

Search tools