Formatting
Format and minify JSON, XML, SQL, HTML, CSS and JavaScript online. Automatic indentation, syntax validation and error positions, all processed locally in your browser.
Tools in this category
JSON Formatter
Format, minify and validate JSON, pinpointing syntax errors to an exact line and column. Optional key sorting; runs in your browser.
JSON to Code
Turn JSON into TypeScript interfaces, Go structs, Java classes or Rust structs, with missing keys marked optional. Runs locally in your browser.
SQL Formatter
Format SQL online: one clause per line, consistent keyword case, subqueries indented deeper. Minify strips comments and extra whitespace, all locally.
XML Formatter
Format XML online by tag level, with comments, CDATA and DOCTYPE on their own lines and attribute values left untouched. Runs locally in your browser.
HTML Formatter
Format HTML online by tag level, keeping text and inline tags on one line and script or pre content untouched. Runs locally, with nothing uploaded.
CSS Formatter
Format CSS online: one declaration per line, selectors split at commas. Minify only strips structural whitespace, keeping meaningful spaces in values.
JavaScript Beautifier
Beautify minified JavaScript by re-indenting on braces and semicolons, with strings and comments kept verbatim. Indentation only, nothing uploaded.