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 and optionally sort the keys of any YAML, with 2- or 4-space indent. Parse errors report the line that broke. Runs in your browser.
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.
JSON Diff
Structural JSON comparison — ignores key order and formatting, shows added/removed/changed values with exact paths. Smarter than a text diff. 100% local.
JSON Schema Validator
Validate JSON data against a JSON Schema (draft-07 or 2020-12) and see exactly which field failed. Or go the other way: infer a schema from one sample. Browser-only.
jq Playground
Run jq filters against JSON right in the tab, with clickable examples for select/map/group_by/to_entries. Browser-only.
SQL Playground
A real SQLite database in the tab. Type CREATE/INSERT, upload a .sqlite/.db file, or import a CSV as a table, then query it. Browser-only.
Choosing between these tools
A formatter earns its place twice: once when it makes a wall of minified text readable, and once when it refuses to parse and tells you where the file is broken. The second use is the one that saves an afternoon — a JSON body that fails at line 412 column 9 is a far better bug report than "the API returned nothing".
JSON, YAML, XML and SQL each fail in their own way. YAML punishes tabs and ambiguous booleans; XML cares about namespaces and unescaped ampersands; SQL formatting is mostly about making a long WHERE clause reviewable. The JSON diff tool is the one to reach for when two responses should be identical and are not — it shows the changed keys instead of making you scan two blobs.
The beautifiers for HTML, CSS and JavaScript also minify, which is useful for checking how much a file would actually shrink before wiring a build step to do it. Formatting happens locally in your browser, so you can paste a production payload without sending it anywhere.