Formatters & Minifiers
Beautify, minify, and validate code in many languages.
Beautify and pretty-print minified or messy JavaScript with Prettier.
Format TypeScript code with Prettier: types, generics, decorators.
Format modern JavaScript with Prettier’s Babel, Flow, or TS parser.
Format JSX markup and components with Prettier.
Format React components in JSX or TSX with Prettier.
Format Angular templates and TypeScript components with Prettier.
Beautify minified CSS into readable, indented stylesheets.
Format LESS stylesheets: mixins, guards, variables, nesting.
Format SCSS/Sass: nesting, mixins, maps, @each and @include.
Format and pretty-print HTML with embedded CSS and JavaScript.
Format Markdown: headings, lists, tables, and code blocks.
Format MDX: Markdown plus JSX components and ESM imports.
Format GraphQL queries, mutations, fragments, and schemas.
Pretty-print YAML with consistent indentation and spacing.
Pretty-print XML with indentation and well-formedness checks.
Format SQL queries for MySQL, PostgreSQL, SQL Server, and more.
Format SVG markup with indentation and a live preview.
Format WPF, UWP, MAUI, and Avalonia XAML layouts.
Format SOAP envelopes, headers, bodies, and faults.
Format WSDL service descriptions for easy reading.
Format PHP code following PER/PSR-12 with Prettier’s PHP plugin.
Format Python code Black-style with the Ruff formatter.
Format Java code with clang-format (Google, LLVM, and more).
Format C# code with clang-format (Microsoft/Allman style).
Format C code with clang-format style presets.
Format C++ code with clang-format (Google, LLVM, Chromium…).
Re-indent Perl code blocks, keeping heredocs and POD intact.
Re-indent Ruby code: def/class/do/if…end blocks and brackets.
Format Lua code with StyLua: indentation, quotes, line width.
Format, validate, minify, and canonicalize Avro schemas (.avsc).
Minify JavaScript with Terser: mangle names, compress, drop comments.
Minify CSS with csso: remove whitespace, merge rules, shorten values.
Minify HTML including inline CSS and JS (HTML compressor).
Minify XML by removing whitespace and comments.
Minify SQL: strip comments and collapse whitespace safely.
Minify Lua: strip comments and whitespace without renaming.
Check JavaScript syntax and find errors by line and column.
Validate CSS: unknown properties, invalid values, syntax errors.