What is a formatter?
Formatters (also known as beautyfiers, prettyfiers, unminifiers, or code formatters) are tools used for prettify ugly, messy, obfuscated or difficult-to-read data.
What is a formmater used for?
The main purpose of formatters is to beautify data for better legibility and for debugging purposes. For example, if you are a programmer, you will deal with minified JSON files, compressed XML documents, CSS files or with HTML code.
Because of performance reasons (for example, reduce the file size to reduce network traffic and increase loading speed), data will be output with no line breaks and with very few white spaces, becoming extremely difficult to read or edit.
Thus, if you try to edit or debug minified data, it will become an almost imposible task. For this reason formatters exist.
Why should I use a formatter?
As mentioned above, formatters transform your minified data into legible, easy-to-understand text. Computers are the only thing in Earth capable of understanding minified data. So, if you are not a computer (I hope so), you need a tool to make your data more understandable.