devtools

Formatters & Validators

Structured code and data arrive minified, mangled, or subtly broken — a single-line JSON blob from an API, a stylesheet with no indentation, a query copied out of a log. These formatters pretty-print and minify JSON, SQL, HTML, CSS, and JavaScript, and validate them against their grammars so a misplaced comma or unclosed brace is reported with the exact line and column instead of a silent failure. Formatting only changes whitespace, never meaning, so you can reformat freely to read a payload and minify it again to ship it. Everything runs in your browser, which matters when the data you are inspecting contains tokens or customer records.