38 tools · Pretty-print, indent and minify code and data in every common language.
Pretty-print JSON with a collapsible tree view and error locations.
Strip whitespace from JSON and see how many bytes you saved.
Sort JSON object keys alphabetically, recursively.
Indent XML, collapse it into a tree or minify it.
Remove whitespace and comments from XML documents.
Beautify messy HTML with consistent indentation.
Minify HTML by collapsing whitespace and removing comments.
Beautify CSS with one declaration per line.
Format SCSS stylesheets including nested rules and mixins.
Format LESS stylesheets with consistent spacing.
Minify CSS and see the size savings.
Prettier-style formatting for modern JavaScript.
Prettier-style formatting for TypeScript.
Format React components written in JSX or TSX.
Minify JavaScript with Terser and compare sizes.
Format SQL queries for MySQL, Postgres, Oracle, SQL Server and more.
Format MySQL and MariaDB queries.
Format PostgreSQL queries, CTEs and functions.
Format Oracle SQL and PL/SQL statements.
Format T-SQL queries for Microsoft SQL Server.
Format SQLite queries and schema files.
Format Google BigQuery Standard SQL.
Collapse SQL onto one line and strip comments.
Fix YAML indentation and optionally sort keys.
Format and sort TOML configuration files.
Format GraphQL queries, mutations and schemas.
Clean up Markdown spacing, tables and lists.
Format Java source in Google or AOSP style.
Black-style formatting for Python code.
Run gofmt-style formatting in the browser.
Format PHP code using PSR-12 conventions.
Format C source with clang-format styles.
Format C++ source with clang-format styles.
Format C# code with consistent braces and spacing.
Format Bash and sh scripts shfmt-style.
Give Dockerfile instructions a consistent layout.
Format .proto files.
Indent nginx.conf blocks and directives.