Formatters
Pretty-print and minify in one click
JSON, SQL, XML, YAML, HTML, CSS, JavaScript. Each formatter shows a side-by-side preview and respects your indentation preferences.
JSON Formatter & Validator
Format, minify, sort, and validate JSON. JSON5 mode accepts comments and trailing commas. Browser-only.
SQL Formatter
Format SQL across 10 dialects (Postgres, MySQL, SQLite, BigQuery, Snowflake, T-SQL, PL/SQL, …). Browser-only.
XML Formatter / Validator
Format, minify, and validate XML. Preserves attributes, namespaces, CDATA. Browser-only.
YAML Formatter / Validator
Format, validate, sort keys in YAML. Browser-only.
HTML Beautifier
Pretty-print or minify HTML with configurable indent, attribute wrapping, and self-closing handling. 100% local.
CSS Beautifier
Pretty-print or minify CSS with configurable indent, selector separator, and brace style. 100% local.
JavaScript Beautifier & Minifier
Pretty-print or minify JavaScript with real AST. Beautify via js-beautify, minify via Terser. ES2024 syntax supported.