Code Formatters
Formatters do two jobs that sound contradictory and are both necessary: making code readable when you are trying to understand it, and making it compact when you are shipping it. Minified output is hostile to read; unformatted output is hostile to diff. You need both directions.
Craftisle has five formatters covering JSON, HTML, SQL, YAML, and HTML escaping. They run in the browser, so pasting configuration or queries containing real values is safe.
Beautify and minify
JSON Formatter pretty-prints or compacts JSON, which is the first move when a single-line payload needs reading. HTML Formatter does the same for markup, SQL Formatter reindents statements that arrive as one line, and YAML Formatter tidies configuration where indentation is syntactically significant.
The minify direction is what you want before embedding a payload in a file or sending it somewhere with a size constraint.
Escaping
HTML Escape converts special characters into entities so that text renders literally instead of being interpreted as markup. It is the step people skip and then debug for twenty minutes when a snippet of code disappears from a page.
Safe for real configuration
Configuration is where credentials live. Because formatting runs client-side, you can paste a real config file or a production query without sending it to a third-party service.
If you need to inspect structure rather than reformat it, the JSON tools category covers comparison and sorting.
Frequently asked questions
Are the formatters free?
Yes. All five are free with no account and no size cap beyond your device memory.
Is my code uploaded?
No. Formatting happens in your browser; pasted content is not transmitted.
Can I minify as well as beautify?
Yes. The JSON and HTML formatters both support beautify and minify.
Does the SQL formatter validate my query?
It reindents and tidies statements. It does not validate syntax against a database engine.