Formatters

Beautify, minify and structure code and data formats. Every formatter runs locally in your browser — nothing is uploaded.

Format for humans, minify for machines

Formatted code is for reading: consistent indentation and line breaks make structure obvious and diffs clean. Minified code is for shipping: fewer bytes means faster downloads. This collection covers both directions for the formats developers touch every day — SQL, CSS, XML and JSON — plus parsers for the structures that ride along with every request: URLs, HTTP headers and cookies.

FAQ

Is any of my code or data uploaded?

No. Every formatter on this site parses and re-emits content locally in your browser.

Which SQL dialects are supported?

The SQL formatter supports Standard SQL, MySQL, MariaDB, PostgreSQL, SQLite, Transact-SQL, PL/SQL, BigQuery, Hive and Spark.