Formatters
Beautify, minify and structure code and data formats. Every formatter runs locally in your browser — nothing is uploaded.
SQL Formatter
Beautify SQL for MySQL, PostgreSQL, SQLite, T-SQL, PL/SQL and more.
CSS Formatter & Minifier
Beautify stylesheets for reading, minify them for shipping.
XML Formatter & Minifier
Re-indent messy XML or strip it down for transport.
URL & Query String Parser
Break a URL into protocol, host, path and parameters.
HTTP Header Formatter
Convert raw HTTP headers to JSON and back.
Cookie Parser & Formatter
Parse cookie strings into structured JSON with attributes.
JSON Formatter & Validator
Pretty-print, minify and validate JSON with error positions.
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.